feat(settings): confirmations in the shared dialog, token colours on About, scope picker in the new look

This commit is contained in:
Maurice
2026-10-01 16:19:41 +02:00
parent 56dfd56bab
commit cf3818cb66
17 changed files with 337 additions and 191 deletions
@@ -23,7 +23,8 @@ function setup(overrides: Partial<ComponentProps<typeof PageSidebar>> = {}) {
describe('PageSidebar', () => {
it('FE-W4PSB-001: renders the label, every tab and the panel children', () => {
setup()
// Ungrouped tabs: the label heads the list. Grouped ones lead with their group instead.
setup({ tabs: TABS.map(({ group: _group, ...tab }) => tab) })
expect(screen.getAllByText('SETTINGS').length).toBeGreaterThan(0)
expect(screen.getByRole('button', { name: /^Appearance$/ })).toBeInTheDocument()
@@ -36,6 +37,7 @@ describe('PageSidebar', () => {
expect(screen.getByText('General')).toBeInTheDocument()
expect(screen.getByText('Account')).toBeInTheDocument()
expect(screen.queryByText('SETTINGS')).not.toBeInTheDocument()
})
it('FE-W4PSB-003: highlights the active tab', () => {