Skip to content

Take the timeline out of the dashboard menu - #46

Merged
DanialBeg merged 1 commit into
mainfrom
chore/hide-timeline-nav
Sep 21, 2026
Merged

DanialBeg merged 1 commit into
mainfrom
chore/hide-timeline-nav

Conversation

@DanialBeg

Copy link
Copy Markdown
Member

The dashboard menu is now Dashboard · Calendar · Profile · Settings.

One line, and deliberately only one.

Hidden, not deleted

TimelinePage, its route, its props and its styles all stay exactly where they are. Putting the entry back is the same line that removed it.

That is worth being explicit about, because the obvious alternative — deleting the page — would throw away working code over a question nobody has answered. Its layout was fixed three commits ago: it had no phone rules at all, and 1fr let it overflow its own column at every width. What has still never been looked at is how the path itself reads inside that container. jsdom has no SVG geometry, so every render of it this week stubbed getTotalLength/getPointAtLength and fabricated the milestone positions.

So the page is in a known-good container with an unknown interior. Hiding it costs nothing and keeps the option open.

There are two timelines, and this touches one

TimelineZoomed The onboarding journey, between the grade picker and the demographic survey. Untouched — every new student still walks through it.
TimelinePage The dashboard tab. This is what is hidden.

App.tsx still has its own 'timeline' screen and setScreen('timeline') call; those belong to the onboarding one and are not affected.

Testing

377 tests, tsc, eslint and build all clean. Nothing was testing the nav entry, so nothing needed changing.

Hidden, not deleted. TimelinePage, its route, its props and its styles all
stay exactly where they are — the nav entry is one line and putting it back
is the same line.

Worth being clear about why that matters here. The page's layout was only
just fixed: it had no phone rules at all and overflowed its own column at
every width. What has still never been looked at is how the path itself
reads inside that container — jsdom has no SVG geometry, so every render of
it this week fabricated the milestone positions. Deleting the page would
throw away working code over a question nobody has answered yet.

The onboarding timeline is a different component and is untouched.
App.tsx's 'timeline' screen renders TimelineZoomed between the grade picker
and the demographic survey; only the dashboard's TimelinePage entry goes.
@vercel

vercel Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
webapp Ready Ready Preview Sep 21, 2026 2:34am UTC

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying timeline-prototype with  Cloudflare Pages  Cloudflare Pages

Latest commit: b83e659
Status: ✅  Deploy successful!
Preview URL: https://9b749df5.timeline-prototype.pages.dev
Branch Preview URL: https://chore-hide-timeline-nav.timeline-prototype.pages.dev

View logs

@DanialBeg
DanialBeg merged commit dca0dca into main Sep 21, 2026
5 checks passed
@DanialBeg
DanialBeg deleted the chore/hide-timeline-nav branch September 21, 2026 03:05

This branch was successfully deployed

1 active deployment
Preview — b83e6597 Deployed Sep 21, 2026 by vercel[bot]
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