Prepare Hiss-Tastic for Play Store release#18
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Add get_my_leaderboard_entry() Supabase RPC that reads x-player-id server-side and returns username, best_score, rank, and updated_at without exposing player_id publicly. Replace stubbed getPlayerRank() with getMyLeaderboardEntry() in supabase.js. In app.js, fetch the player's own entry on the Global tab and display it as a highlighted 'Your global best' row with exact rank. Remove the confusing stub-only message. Closes the blocker where the global leaderboard screen showed no player entry despite successful sync.
Replace PostgREST on_conflict upsert with upsert_my_leaderboard_score() RPC that reads player_id from x-player-id server-side. Avoids the SELECT-on-conflict-column requirement that blocked anonymous writes to leaderboard_scores when player_id is intentionally excluded from public column grants. Add .supabase/.temp to gitignore.
…failures Replace players?on_conflict=id with upsert_my_player() RPC that reads player_id from x-player-id header server-side. Eliminates intermittent GRANT SELECT permission errors from PostgREST's internal conflict resolution on the players table.
Replace all web and Android launcher icons with new icon from App Icons/4.png (1024x1024 PNG, #00BF63 green). Web: icon-192, icon-512, favicon-16x16, favicon-32x32, apple-touch-icon-180 Android: all mipmap densities (ic_launcher, ic_launcher_foreground, ic_launcher_round) Config: theme-color, manifest colors, adaptive icon background updated to #00BF63
…rving all app code) Conflict resolution: kept playstore-production-release for all app/runtime/build/CI/migration files. Cherry-picked ecosystem docs templates (issue templates, PR template) from main commit afbc705 after merge.
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
Prepares Hiss-Tastic v1.0.0 for Google Play production release.
Validation
Local validation completed before push:
Notes
Do not merge yet. Android emulator/device smoke is pending because no emulator binary, AVD, or connected device was available locally.