feat: dashboard component kit, print mode, serve.rs split#40
Merged
Conversation
…components Split monolithic serve.rs (8359 lines) into serve/ module directory: - mod.rs (811) — AppState, router, middleware, utilities - styles.rs (646) — CSS constant - js.rs (1193) — GRAPH_JS, SEARCH_JS, AADL_JS - layout.rs (264) — page_layout + print_layout - views.rs (5534) — all view handlers - components.rs (522) — reusable UI kit with 16 unit tests Component kit: ViewParams, FilterBar, SortableTable, Pagination, CollapsibleTree — all URL-param-aware for state persistence. Print mode: ?print=1 strips nav/context bar/HTMX for clean output. Print button added to context bar. Also fix pre-commit hooks: +stable for clippy, remove invalid --strict flag from validate hook. Implements: FEAT-052 Refs: DD-005 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This was referenced Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Split monolithic
serve.rs(8359 lines) into modularserve/directory with reusable UI components and print mode.serve/ module structure
mod.rsstyles.rsjs.rslayout.rsviews.rscomponents.rsComponent kit
Print mode
?print=1on any route strips nav/context bar/HTMX/JSPre-commit hook fixes
+stablefor clippy (nightly doesn't ship clippy)--strictflag from validate hookTest plan
🤖 Generated with Claude Code