Add spaday-based model registry browser - #249
Conversation
Test Results 1 files ± 0 1 suites ±0 3m 12s ⏱️ +52s Results for commit 315fc53. ± Comparison against base commit a224a37. This pull request removes 67 and adds 139 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #249 +/- ##
==========================================
+ Coverage 93.57% 93.66% +0.08%
==========================================
Files 176 190 +14
Lines 20500 21238 +738
Branches 1352 1398 +46
==========================================
+ Hits 19183 19892 +709
- Misses 1046 1068 +22
- Partials 271 278 +7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
7624af2 to
9a5bcec
Compare
9a5bcec to
de7f4da
Compare
238dc5a to
a40c136
Compare
de7f4da to
06586d8
Compare
06586d8 to
03eac9c
Compare
|
@timkpaine IS this ready for review yet? |
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Replace the hand-built wa-tree with spaday-trees, which derives the hierarchy from registry paths and brings its own search box. Add a Dependencies tab rendering the registry dependency DAG with spaday-dagre; clicking a node selects that model, so the graph shares the sidebar's selection state. Registered names are root-relative and leading-slashed, so they are normalized before matching leaf paths. Bridge the tree's color-scheme to the wa-dark page theme and add a dark toggle. Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
|
|
||
| add_hydra_config_args(parser) | ||
|
|
||
| parser.add_argument("--address", type=str, default="127.0.0.1", help="Address to bind the server to (default: 127.0.0.1).") |
timkpaine
left a comment
There was a problem hiding this comment.
dagre rendering a bit messed up, also its global and not model-local so it looks a bit weird
materializing a model collapses the tree, need to fix
Rename the server bind option from --address to --host. Make the dependency graph model-local: each model's card gets a Dependencies tab showing only what is reachable from that model, with the focused node marked, instead of one global graph in a page-level tab. Models with no dependencies get no tab. Bind the tree's selected_paths to the seeded selection so materializing a model reveals it again after the redirect instead of leaving the tree collapsed. Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Label nodes with the full registry path so the hierarchy an entry comes from is visible. Point edges from a dependency to the model that uses it, so the chain reads in dataflow order and the inspected model is the last node. Replace navigate-on-click with a context menu: a pointer event on a node opens a popup naming it, and its Open model action both selects the model and reveals it in the sidebar tree. Each node carries its own menu body with literal actions, because the action DSL cannot build the single-element list the tree's selected_paths needs from a store value. Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
No description provided.