Repository navigation
Conversation
A new signed-in landing page at /home, from the "Long Lines home" canvas: Delivered and Matched stat cards, and a Sources -> Connections -> Destinations flow diagram drawn with plain MUI and one SVG per column gap. Phones get a list of destinations instead of the diagram. Counts come from a new web-only RPC, home_flow(): the caller's last 24 hours of deliveries (matched = distinct spots by created_at, delivered = sent rows by sent_at). It stays out of api_call. A connection the matcher skips has no record, so the page shows an en dash for it. Sign-in, set password and unknown paths now land on /home, and Home is first in the nav. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Updates to Preview Branch (home-page) ↗︎
Tasks are run on every commit but only new migration files are pushed.
View logs for this Workflow Run ↗︎. |
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.
A signed-in landing page at
/home, built from the "Long Lines home" design canvas. Sign-in, set password and unknown paths now land there instead of Sources, and Home is first in the nav.What's on the page
markColorfrom the theme. Each node links to its page.Data
Migration
20261027001300_home_flow.sqladdshome_flow(). It issecurity definerand executable byauthenticatedonly. It returns what the lists the app already loads can't:matched: distinct spots in the caller'sdeliveriesbycreated_at, last 24 h, also split by connection and spot sourcedelivered: sent rows bysent_at, last 24 h, split by connection and destinationsubscription_sources: every connection's sources by the matcher's own rules.source_matchesexpands an empty list to POTA, SOTAwatch and RBN, and RBN counts only when an AND group names stations, as inspot_matches.It returns no spot data and is not in
api_call(the API stays configuration-only).Known limits:
deliveriesis unique per (destination, spot), so a spot two connections match for a shared destination is credited to one of them.Files
supabase/migrations/20261027001300_home_flow.sqlandsupabase/tests/home_flow.test.sql(13 tests).home_flowis added to the client list inadvisor.test.sql.web/src/home/:HomePage.tsx,FlowDiagram.tsxlayout.ts: the pure geometry (row positions, widths, stacking, paths)model.ts: which nodes and links, their order, copy helperscolors.ts,types.tsApp.tsx,AppShell.tsx,SignInPage.tsx,SetPasswordPage.tsxand their tests;api.tsgetsloadHomeFlow().database.types.tsis regenerated.CLAUDE.md: a new "Home page rules" section. A new source now goes inhome_flow's list too.Testing
npm run build,npm run lint,npm run coverage: pass (1,188 tests, 98.7% lines).home_flow,advisorandmatcherpass on a fresh local stack.supabase db lintshows only the three warnings already on main.scripts/smoke-test.sqlpassed on the first commit.After merge
supabase db pushfor20261027001300_home_flow.sql. No Edge Function deploys are needed.Not done yet
🤖 Generated with Claude Code