Repository navigation
Make Analytics look like the rest of Modex and fit the window - #248
Merged
Merged
Conversation
The dashboard ran as its own product inside the app: a logo sidebar, a breadcrumb top bar, marketing headlines, a navy and pink palette, IBM Plex fonts, a light/dark switch of its own, and pages up to 33,000px tall. It now takes the app's tokens (renderer/tokens.css) and the app's theme, which main sets through the browser view's appearance hook as the page loads and when the theme changes; the view's corners follow the sheet. It is laid out like Space: a sidebar titled Analytics with the six views, and each view's title with its filters and Export CSV over a one-line summary. Every view fits the window down to the 900x600 minimum with no page scroll. Overview sizes its totals, chart, token breakdown, tools and recent turns to the window; long tables and lists scroll inside their panel. The chart draws at the size it is shown. The Plex fonts and their license file are removed. Coven-Harness: Claude Code / claude-opus-5-5
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ts name
The Overview note panel and its "View coverage" button are gone; the summary
line now links to Sources as "Coverage". Its separator dot came from CSS
content, which joined the accessible name ("· Coverage"); empty alternative
text keeps it visual only.
Coven-Harness: Claude Code / claude-opus-5-5
Keep the Analytics entry under On main, unreleased after v0.1.0 shipped. Coven-Harness: Claude Code / claude-opus-5-5
This was referenced Oct 16, 2026
BunsDev
added a commit
that referenced
this pull request
Oct 19, 2026
… and the routines spec (#310) v0.2.0 was published on 2026-10-18 (23:14Z) from the signed tag on 01b1b8a. This follows Val's status layout (#290): - Shipped gains a v0.2.0 row linking its release and its review. - The 13 "On main, unreleased" items move unchanged to a new "Status summary" at the end of the v0.2.0 review, along with the old In flight entry. Each one was introduced by a commit in the tag (#248, #253, #254, #257 to #261, #263, #264, #266, #267, #269). The CF slices and #283's Markdown parser came after the tag, so they stay. - In flight keeps a short follow-ups entry for the gates no receipt records yet: the independent download checks, the banner upgrade on the release Mac, and the Companion 0.2.0 (7) TestFlight upload. - The routines spec and the README now say Phase 1, and most of Phase 0, ship from v0.2.0. Unchanged: the website's static fallback (apps/site/release.json) and the release evidence, which stay with the release owner. Claimed on #290. Coven-Harness: Claude Code / claude-opus-5-5
This branch was successfully deployed
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.
Analytics now looks and fits like the rest of Modex. Before this, the dashboard was its own product inside the app:
Look
tokens.cssand maps its own variables onto them (surfaces, text, borders, accent, radii, fonts). The chart series use the app's syntax palette.WorkspaceAnalyticsgives itsWorkspaceBrowseranappearancehook, which setsdata-theme(Graphite, Jev or OpenCoven) and the view background as the page loads. A theme change in Settings re-applies it, just like the knowledge view.setBorderRadius(11), the 12 px sheet less its border). The newWorkspaceBrowserradiusoption sets this.Fit
Unchanged: data, filters, views, call details, CSV export, the 15-second refresh, and the isolated
modex-analytics://session. The live summary still reads "Recorded on this Mac: N turns from Claude Code and Codex threads in Modex.", and the Export CSV button stays. The standalone preview (dev:usage) renders the same layout in Graphite, or?theme=jev/?theme=coven.Tests
workspace-analytics.test.tsadds that the view wears the app's theme, falls back to Graphite, and never puts an unknown theme string into the page script.analytics.spec.tsnow also asserts that the live page doesn't scroll, wears the app's theme and is titled Overview. It passed locally in the real app with both of its tests, including CSV export.Docs:
docs/analytics.md("How it is shown", the preview, provenance) anddocs/status.md.