Skip to content

feat: reusable UI components, ARCH model extension, startup update check#56

Merged
avrabe merged 2 commits intomainfrom
feat/components-arch-updatecheck
Mar 20, 2026
Merged

feat: reusable UI components, ARCH model extension, startup update check#56
avrabe merged 2 commits intomainfrom
feat/components-arch-updatecheck

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented Mar 20, 2026

Summary

  • Reusable UI components extracted from views.rs into components.rs
  • 8 new ARCH components covering phase-3 requirements (REQ-017 through REQ-036)
  • Non-blocking startup version check on serve/validate

🤖 Generated with Claude Code

Test and others added 2 commits March 20, 2026 06:48
- Deduplicate consecutive identical waypoints in path builder
- Offset edge labels to the right of edges (avoid overlap)
- Thicker edge strokes (1.8px) for visibility
- Larger port label text (10px, bold 500)
- Port label margin in SVG viewBox

Trace: skip

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1. Reusable UI components (components.rs):
   - search_input(), type_select(), per_page_select(), type_checkboxes()
   - validation_filter_bar() with severity dropdown + text search
   - Refactored artifacts, STPA, and validation views to use shared components
   - Removed duplicated ArtifactsParams/StpaParams structs → ViewParams
   - 8 new component tests

2. ARCH model extension (8 new components):
   - ARCH-CORE-COMMITS, ARCH-CORE-EXTERNALS, ARCH-CORE-IMPACT
   - ARCH-CORE-MUTATE, ARCH-CORE-MARKDOWN, ARCH-CORE-EXPORT
   - ARCH-ADAPT-NEEDSJSON, ARCH-CORE-SCANNER
   - Covers REQ-017 through REQ-036 (phase-3 requirements)

3. Startup update check:
   - Non-blocking background thread on serve/validate
   - Rate-limited to once per 24h via cache file
   - Checks GitHub releases API, prints hint if newer version available

Implements: FEAT-065
Refs: ARCH-DASH-001

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avrabe avrabe merged commit 2e062f4 into main Mar 20, 2026
@avrabe avrabe deleted the feat/components-arch-updatecheck branch March 20, 2026 19:53
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rivet Criterion Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.

Benchmark suite Current: c62424c Previous: d80b36b Ratio
link_graph_build/10000 43481320 ns/iter (± 4416866) 26337016 ns/iter (± 2109151) 1.65

This comment was automatically generated by workflow using github-action-benchmark.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant