feat(gallery): public Recent / Featured with publish + report - #40
Merged
Conversation
Finish Phase 4 community gallery: signed-in publish to Recent (≥3 states, 5/day free / 20/day Pro), Featured via is_featured, Report queue, and RLS for anon reads of public maps. My Maps keeps Pro cloud sync; Publish works from Share or My Maps cards. Co-authored-by: Max <mhowe.gis@gmail.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
mapzimus
marked this pull request as ready for review
August 1, 2026 23:13
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.
Finishes Phase 4 community gallery on top of A2 cloud My Maps.
What’s included
user_mapsnewest-first (replaces coming-soon stub)is_featurededitorial picks (client JWT can’t self-feature; trigger locks the flag)gallery_publish_countsmap_reportsqueuesupabase/migrations/20260801_gallery_public.sqlnpm run smoke:gallery-publicProd steps (after merge)
20260801_user_maps.sqlis applied20260801_gallery_public.sqlin Supabase SQL editorupdate user_maps set is_featured = true where id = '…';(disable/bypass featured lock if using a role the trigger blocks — service role is allowed)Out of scope
/design/gallery/map/<hash>)Test plan
npm run validate+npm run smoke:gallery-public