382940112fea9fda0d734ee1386ffdfd9dff6f92
Client-side polling component mounted in providers.tsx. At mount, captures the initial commit from /api/version. Every 60s, re-checks. If commit differs from the captured one → renders a dismissible toast in the bottom-right offering a hard reload. Useful because Next.js bundles cache per commit hash → after a deploy users would otherwise keep running the old client until they manually refresh. Now they get a discoverable nudge. Banner UX: - "Versiune nouă disponibilă: <shortSha> · apasă pentru reîncărcare" - [Reîncarcă] button (window.location.reload) - [X] dismiss for current page life - Tailwind animate-in fade slide-from-bottom Polling interval 60s is fine for our deploy frequency; cheap (one GET per minute, ~150 bytes). Cache-busted with cache: "no-store". Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
pre-launch hardening: Address Book type sort, Hot Desk proportions, TVA calculator, ROADMAP Phase 4B
Description
No description provided
Languages
TypeScript
98.7%
Shell
0.4%
PLpgSQL
0.4%
Dockerfile
0.2%
CSS
0.1%
Other
0.1%