You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First release. React surfaces for laravel-fun-lab, built only from react-fancy:
FunLabProfileSummary: total XP, achievements and prizes, and each gamed metric's level and progress, said in words and as aria-valuetext. Metric selection is controlled (selectedMetric / onSelectMetric).
FunLabLeaderboard: by XP, achievements or prizes, overall or for one gamed metric, over a period, paged. by, metric, period and page are controlled; each control shows only when its handler is set. A real table, with column headers and a row header per entry. The viewer's row says "(You)" and carries aria-current.
FunLabAchievementGrid: earned and locked tiles, each saying which in words, with a controlled filter.
FunLabXpFeed: rows from the xp.awarded and metric.level-reached broadcasts; feedItemFromEcho and mergeFeed build and de-duplicate them.
FunLabLevelUp: a level-up card that never takes focus; its celebration runs only under prefers-reduced-motion: no-preference.
FunLabLiveRegionProvider / useFunLabAnnounce: one polite live region, rate-limited so a burst is one summary.
createFunLabClient: a fetch-only, read-only client for api/lfl, with host-supplied base URL and headers.
Every string is a JSON label, a {name} template or one per CLDR plural category; numbers and plurals follow locale. Numbers render left-to-right inside right-to-left text, and {+name} keeps a sign with its number.
data-fancy-fun-lab-* handles on every root, row, tile and control.