refactor(web): share alert banner and turn actions, fix restyle leaks

Add AlertBanner and turnActions to replace duplicated markup and
wrappers, and share component-test setup.

Fixes: oversized dismiss, help, rules and skip-link text after the type
ramp collapse; report button hover styled as submit; chat draft lost
when the panel folds; resign/claim/kick styles leaking app-wide.
This commit is contained in:
tiennm99 committed 2026-09-28 15:19:59 +07:00
1 parent 55abdb36c1
commit 9be86a3cad
18 files changed
+481 -470

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ describe('normalizeRoomCode', () => {
it('handles nothing at all', () => {
expect(normalizeRoomCode('')).toBe('');
expect(normalizeRoomCode(/** @type {any} */ (undefined))).toBe('');
expect(normalizeRoomCode(/** @type {string} */ (/** @type {unknown} */ (undefined)))).toBe('');
});
});