Progressive globe: source links, filtering, and stats clarity#53
Merged
rdhyee merged 4 commits intoisamplesorg:mainfrom Mar 13, 2026
Merged
Progressive globe: source links, filtering, and stats clarity#53rdhyee merged 4 commits intoisamplesorg:mainfrom
rdhyee merged 4 commits intoisamplesorg:mainfrom
Conversation
Labels now say "Clusters Loaded" / "Samples Loaded" on initial load, and "Clusters in View / Loaded" / "Samples in View" when zoomed in. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Sample card shows "View at [Source Name] →" link using n2t.net/{pid}
- All 4 sources resolve: OpenContext (ark:/28722), SESAR (IGSN:),
GEOME (ark:/21547), Smithsonian (ark:/65665)
- Nearby samples list: sample labels are now clickable links to source
- Removed generic "Open in Analysis Tool" link
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Legend dots are now clickable checkboxes that filter data by source (SESAR, OpenContext, GEOME, Smithsonian). Unchecking a source: - Removes its clusters from H3 aggregate views - Excludes its samples from point mode viewport queries - Excludes from nearby samples on cluster click - Visually dims the unchecked legend item Filter is applied via SQL WHERE clause injected into all parquet queries. Changing filters triggers immediate reload of current view. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- sourceFilterSQL returns AND 1=0 when no sources checked (shows nothing) - Add generation counter to loadRes to discard stale async results - Add missing await on loadViewportSamples in filter handler Addresses Codex and Gemini review feedback on PR isamplesorg#53. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
https://n2t.net/{pid}— works for all 4 sources (OpenContext, SESAR, GEOME, Smithsonian)Details
Source links (commit 86c3d6a)
sourceUrl(pid)helper using universaln2t.netresolverFaceted filtering (commit 49f8164)
getActiveSources()andsourceFilterSQL(col)helpers inject WHERE clausesStats labels (commit 6b24976)
Test plan
🤖 Generated with Claude Code