Repository navigation
Home page: draw the configuration, every connection - #277
Merged
Merged
Conversation
The flow diagram now shows how the system is set up whether or not spots flowed: every source each connection takes spots from, every destination (linked or not), and quiet links at the 2 px floor. The last 24 hours only label the nodes and weight the links. home_flow() gains subscription_sources: each connection's sources by the matcher's own rules (source_matches, so "any source" expands in SQL, and RBN only with an AND group that names stations). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The diagram is the system's configuration, so it no longer folds quiet connections into an "N more connections" node. Every connection, source and destination gets its own node; the "more" nodes and TOP_CONNECTIONS are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20261027001300_home_flow merged with #276 and may already be hosted, so it goes back to exactly what main has, and subscription_sources ships as 20261027001400_home_flow_sources (create or replace, same signature, same grants). 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-config) ↗︎
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 follow-up to #276. These changes were pushed to its branch after it had already merged, so they never reached main.
The Home page's flow diagram now shows the system's configuration, not only what flowed in the last 24 hours. The 24-hour numbers only label the nodes and set link widths; nothing leaves the diagram for being quiet.
What changes on the page
Data
New migration
20261027001400_home_flow_sources.sqlreplaceshome_flow()(create or replace; same signature and grants). It addssubscription_sources: every (connection, source) pair the matcher would let through, decided by its own predicates:source_matches: an empty list means "any" of POTA, SOTAwatch and RBN.spot_matches.TypeScript never expands "any source" itself. The source list is
normalize_subscription_sources';CLAUDE.mdnow says a new source goes inhome_flow's list too.20261027001300_home_flow.sql, merged with #276, is unchanged here; it may already be hosted.Files
supabase/migrations/20261027001400_home_flow_sources.sql(new)supabase/tests/home_flow.test.sql: 13 tests, now coveringsubscription_sources(any source, the RBN station guard, an OR group, all six sources, other users' connections)web/src/home/:model.tsbuilds nodes and links from configuration with no cap;FlowDiagram.tsxandHomePage.tsxdrop the "more" nodes;types.tsgainssubscription_sources; tests updatedCLAUDE.md: the Home page rules say the diagram is configuration, with no capTesting
npm run build,npm run lint,npm run coverage: pass (1,188 tests, 98.7% lines).database.types.tsis unchanged: the signature is the same.home_flow13/13,advisor6/6,matcher53/53;scripts/smoke-test.sqlpasses;supabase db lintshows only the three warnings already on main.After merge
supabase db pushfor20261027001400_home_flow_sources.sql, plus20261027001300_home_flow.sqlif Home page: last 24 hours and how spots flow #276's hasn't been pushed yet. Push it before the Vercel deploy, or the page draws only the sources that had traffic until it is pushed. No Edge Function deploys are needed.🤖 Generated with Claude Code