Experiment: Heatmapping#455
Open
baltinerdist wants to merge 1 commit into
Open
Conversation
Adds population heatmap visualizations to the Kingdom profile map tab and a new global Atlas heatmap page, both weighted by active players (1+ sign-ins in the past 12 months) with toggles for Participation vs Resident views. - Kingdom map tab: heatmap overlay with By Participation / By Residents toggle - Atlas: "Population Heatmap" button (kingdom officers + admins only) linking to Route=Atlas/heatmap — a dedicated page with heatmap + hide-pins toggle - Auth gated via direct ork_authorization query (not session kingdom_id) so monarchs are correctly recognized regardless of session state Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
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
Route=Atlas/heatmap) — same heatmap concept applied across all parks worldwide, gated to kingdom officers and ORK adminsAuth
Access is gated by querying
ork_authorizationdirectly for anykingdom_id > 0row — correctly handles monarchs regardless of sessionkingdom_idstate.Test plan
Route=Atlas/heatmap— confirm map loads with heatmap overlay/heatmapredirects to Atlas🤖 Generated with Claude Code