mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 10:55:06 +03:00
### Changes - Replace hardcoded plan-to-days mapping (`getAvailableInForDays`) with entitlement-driven checks. - Show a lock icon on date picker helpers that exceed the user's entitled log retention, instead of a plan name badge. - Remove availableIn from DatetimeHelper type — the entitlement API is now the single source of truth. ### Testing - Head to `/project/_/logs` on a free plan project and verify lock icons appear on helpers beyond 1 day - Verify clicking a locked helper still triggers the upgrade prompt <img width="511" height="483" alt="image" src="https://github.com/user-attachments/assets/41dce8c0-205a-4d82-9c07-12f4bb6b0f4d" />