Repository navigation
feat(landing): add VITE_LANDING_PAGE toggle for private instances - #119
Open
hitsmedia-grup wants to merge 1 commit into
Open
hitsmedia-grup wants to merge 1 commit into
hitsmedia-grup wants to merge 1 commit into
Conversation
Replace localStorage/cookie with build-time env var. Fixes hydration mismatch, eliminates client-side flash, provides instance-level control. - Add VITE_LANDING_PAGE (default enabled, set false to skip landing) - landingPageEnabled() helper following googleAuthEnabled() pattern - Redirect in index.tsx beforeLoad (SSR-safe) - Remove settings UI, localStorage, cookie (not in upstream/main) Closes ilramdhan#107
|
@hitsmedia-grup is attempting to deploy a commit to the ilramdhan's projects Team on Vercel. A member of the Team first needs to authorize it. |
10 of 12 tasks
This branch has not been 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.
Replace localStorage/cookie with build-time env var. Fixes hydration mismatch, eliminates client-side flash, provides instance-level control.
Closes #107
Summary
Closes #
Type of change
feat– new featurefix– bug fixrefactor/perf– no behavior change / performancedocs/test/chore/ciHow to test
Screenshots / recordings
Checklist
bun run lint,bunx tsc --noEmitandbun run testpass locallybun run buildpasses (required for routing, server function or config changes)AGENTS.md(data hooks insrc/lib/data.ts, task edits viaTaskDialogProvider/useTaskActions,PageContainer, soft delete, …)drizzle/migrations/registered inmeta/_journal.json, RLS enabled with policies + grants,src/integrations/supabase/types.tsregenerated*.server.ts/ server functions and are never exposed viaVITE_*ACCESSIBILITY.md)CHANGELOG.md; don't edit the changelog by hand)README.md,AGENTS.mdif an architecture rule changed)main(keep published history intact)Notes for reviewers