Skip to content

feat(calm-hub): fix missed /api/calm refactor in tests#5

Closed
willosborne wants to merge 1 commit into
mainfrom
hub-tests-fix
Closed

feat(calm-hub): fix missed /api/calm refactor in tests#5
willosborne wants to merge 1 commit into
mainfrom
hub-tests-fix

Conversation

@willosborne

Copy link
Copy Markdown
Owner

Description

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📚 Documentation update
  • 🎨 Code style/formatting changes
  • ♻️ Refactoring (no functional changes)
  • ⚡ Performance improvements
  • ✅ Test additions or updates
  • 🔧 Chore (maintenance, dependencies, CI, etc.)

Affected Components

  • CLI (cli/)
  • Schema (calm/)
  • CALM AI (calm-ai/)
  • CALM Hub (calm-hub/)
  • CALM Hub UI (calm-hub-ui/)
  • CALM Server (calm-server/)
  • CALM Widgets (calm-widgets/)
  • Documentation (docs/)
  • Shared (shared/)
  • VS Code Extension (calm-plugins/vscode/)
  • Dependencies
  • CI/CD

Commit Message Format ✅

Testing

  • I have tested my changes locally
  • I have added/updated unit tests
  • All existing tests pass

Checklist

  • My commits follow the conventional commit format
  • I have updated documentation if necessary
  • I have added tests for my changes (if applicable)
  • My changes follow the project's coding standards

@willosborne willosborne closed this Jul 3, 2026
willosborne pushed a commit that referenced this pull request Jul 6, 2026
…n timeline (finos#2763)

* feat(calm-hub-ui): refine diagram minimap, node legibility and version timeline

Item-detail diagram refinements (redesign problems #4/#5/finos#6).

- MiniMap: fixed 132x84 panel with a light mask, faint node chips and a
  #2563EB viewport rect, padded clear of the timeline and toggleable for
  dense graphs (fixes the oversized solid-blue overflow)
- Node legibility: fitView gains a minZoom floor so fit-to-view no longer
  shrinks node labels below readability on dense graphs
- Version timeline: relabelled "Browse versions" with explanatory text and a
  mono version pill; active moment re-tokenised to the brand blue; single-
  version items collapse the strip. Cross-view re-render + compare preserved

* fix(calm-hub-ui): address Copilot feedback on the diagram phase

- Restore window.matchMedia after the mobile ArchitectureGraph test so the
  mobile viewport can't leak into later tests (matches the SegmentedTypeTabs
  convention).
- Correct the minimap mask comment (the alpha suffix is 40, not AA).
- Add ml-auto to the timeline version pill so it is right-aligned as its
  docstring describes.

* fix(calm-hub-ui): align timeline dots and drop no-op pill margin

- Move the sparkline track line + progress fill to the dots' vertical centre
  (top 18->15) so the dots sit on the track for both active and inactive sizes,
  restoring the alignment the removed per-dot compensation used to provide.
- Drop the no-op ml-auto on the version pill (TimelineHeader is content-sized
  in both callers, so it had no slack) and correct the docstring to describe
  the actual inline layout.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant