Conversation
Implement the ampcc TUI application in Rust and refactor the ampctl client logic into a shared crate for reuse. - Extract admin-client crate from ampctl to centralize API interaction logic - Implement ampcc using ratatui with 3-pane layout (sidebar, content, header) - Add async background data fetching for responsive UI non-blocking navigation - Support dataset listing with search/filtering and JSON manifest viewing - Update ampctl to depend on and use the new admin-client crate - Add support for connecting to the registry
This actually doesn't test for state changes but marks as redraw when handling events
|
Thanks for the PR, @abarmat. The split of the I would suggest creating a |
|
Note that one of the unit tests is failing because it requires all the workspace crate names to be listed here to pass: amp/crates/core/monitoring/src/logging.rs Lines 65 to 91 in 92f5c94 |
|
@LNSD I fixed the test and moved the admin and flight clients to the /crates/clients folder. Unsure about if this change breaks any external dependencies. |
|
@LNSD I'm checking the reason why the tests are failing |
|
The current test failures are unrelated to the changes. The CI is unable to access the secrets because your PR is from a fork. |
|
I can confirm that the tests are passing after merging into |
Amp : Command & Control
I started this as an experiment since I wanted to play with Amp and I love TUIs.
The first feature was a dataset viewer but then I got carried away and added more features, that's why you will see a quite big
ui.rs. Review this PR considering that I will refactor the UI into components to encapsulate drawing to the terminal and event handling.Summary
This PR introduces
ampcc, a new Terminal User Interface (TUI) application for Amp, and extracts the admin client into a separate reusable crate.Admin Client Extraction
Added