diff --git a/docs/screenshots/admin.png b/docs/screenshots/admin.png index 9bd1b27..da9a966 100644 Binary files a/docs/screenshots/admin.png and b/docs/screenshots/admin.png differ diff --git a/docs/screenshots/board.png b/docs/screenshots/board.png index c6935f6..9216e7a 100644 Binary files a/docs/screenshots/board.png and b/docs/screenshots/board.png differ diff --git a/docs/screenshots/calendar-light.png b/docs/screenshots/calendar-light.png index 953b82f..b562bc3 100644 Binary files a/docs/screenshots/calendar-light.png and b/docs/screenshots/calendar-light.png differ diff --git a/docs/screenshots/delegated.png b/docs/screenshots/delegated.png index 6ac5e2f..f537c38 100644 Binary files a/docs/screenshots/delegated.png and b/docs/screenshots/delegated.png differ diff --git a/docs/screenshots/detail.png b/docs/screenshots/detail.png index 03edf3f..1d2f499 100644 Binary files a/docs/screenshots/detail.png and b/docs/screenshots/detail.png differ diff --git a/docs/screenshots/history.png b/docs/screenshots/history.png index 63c278b..a8c3226 100644 Binary files a/docs/screenshots/history.png and b/docs/screenshots/history.png differ diff --git a/docs/screenshots/notes-shared-light.png b/docs/screenshots/notes-shared-light.png index 03dae4b..70d108d 100644 Binary files a/docs/screenshots/notes-shared-light.png and b/docs/screenshots/notes-shared-light.png differ diff --git a/docs/screenshots/notes-source.png b/docs/screenshots/notes-source.png index 92c384f..b8c8976 100644 Binary files a/docs/screenshots/notes-source.png and b/docs/screenshots/notes-source.png differ diff --git a/docs/screenshots/notes.png b/docs/screenshots/notes.png index 7411a8c..dd15ac4 100644 Binary files a/docs/screenshots/notes.png and b/docs/screenshots/notes.png differ diff --git a/docs/screenshots/sections.png b/docs/screenshots/sections.png index a0510e1..fd6885f 100644 Binary files a/docs/screenshots/sections.png and b/docs/screenshots/sections.png differ diff --git a/docs/screenshots/settings.png b/docs/screenshots/settings.png index 41a82b8..2e2aa5d 100644 Binary files a/docs/screenshots/settings.png and b/docs/screenshots/settings.png differ diff --git a/docs/screenshots/themes.png b/docs/screenshots/themes.png index cf4c9c7..564ad64 100644 Binary files a/docs/screenshots/themes.png and b/docs/screenshots/themes.png differ diff --git a/docs/screenshots/today-light.png b/docs/screenshots/today-light.png index 7ed0ce1..27fe853 100644 Binary files a/docs/screenshots/today-light.png and b/docs/screenshots/today-light.png differ diff --git a/docs/screenshots/today.png b/docs/screenshots/today.png index 56bc8da..1925bb8 100644 Binary files a/docs/screenshots/today.png and b/docs/screenshots/today.png differ diff --git a/docs/screenshots/upcoming.png b/docs/screenshots/upcoming.png index 6b04b6d..7a9f1fa 100644 Binary files a/docs/screenshots/upcoming.png and b/docs/screenshots/upcoming.png differ diff --git a/docs/screenshots/week.png b/docs/screenshots/week.png index d07294c..ac55c06 100644 Binary files a/docs/screenshots/week.png and b/docs/screenshots/week.png differ diff --git a/site/screenshots/admin.webp b/site/screenshots/admin.webp index 32376a2..6b218b3 100644 Binary files a/site/screenshots/admin.webp and b/site/screenshots/admin.webp differ diff --git a/site/screenshots/board.webp b/site/screenshots/board.webp index b64ab6a..8eda513 100644 Binary files a/site/screenshots/board.webp and b/site/screenshots/board.webp differ diff --git a/site/screenshots/calendar-light.webp b/site/screenshots/calendar-light.webp index c8c9692..8f3795a 100644 Binary files a/site/screenshots/calendar-light.webp and b/site/screenshots/calendar-light.webp differ diff --git a/site/screenshots/delegated.webp b/site/screenshots/delegated.webp index 5fe6a88..69a5276 100644 Binary files a/site/screenshots/delegated.webp and b/site/screenshots/delegated.webp differ diff --git a/site/screenshots/detail.webp b/site/screenshots/detail.webp index d6fc044..4b48e49 100644 Binary files a/site/screenshots/detail.webp and b/site/screenshots/detail.webp differ diff --git a/site/screenshots/history.webp b/site/screenshots/history.webp index 67d68b7..61ef4b5 100644 Binary files a/site/screenshots/history.webp and b/site/screenshots/history.webp differ diff --git a/site/screenshots/notes-shared-light.webp b/site/screenshots/notes-shared-light.webp index f10a4bb..3ca941e 100644 Binary files a/site/screenshots/notes-shared-light.webp and b/site/screenshots/notes-shared-light.webp differ diff --git a/site/screenshots/notes-source.webp b/site/screenshots/notes-source.webp index 212c5ae..d7190c1 100644 Binary files a/site/screenshots/notes-source.webp and b/site/screenshots/notes-source.webp differ diff --git a/site/screenshots/notes.webp b/site/screenshots/notes.webp index 8c61ed1..afed455 100644 Binary files a/site/screenshots/notes.webp and b/site/screenshots/notes.webp differ diff --git a/site/screenshots/sections.webp b/site/screenshots/sections.webp index a2c33ed..1c19161 100644 Binary files a/site/screenshots/sections.webp and b/site/screenshots/sections.webp differ diff --git a/site/screenshots/settings.webp b/site/screenshots/settings.webp index 36f61fc..36f5101 100644 Binary files a/site/screenshots/settings.webp and b/site/screenshots/settings.webp differ diff --git a/site/screenshots/themes.webp b/site/screenshots/themes.webp index 3e002f1..9cc8975 100644 Binary files a/site/screenshots/themes.webp and b/site/screenshots/themes.webp differ diff --git a/site/screenshots/today-light.webp b/site/screenshots/today-light.webp index f0b5e55..660a96c 100644 Binary files a/site/screenshots/today-light.webp and b/site/screenshots/today-light.webp differ diff --git a/site/screenshots/today.webp b/site/screenshots/today.webp index b105321..d433921 100644 Binary files a/site/screenshots/today.webp and b/site/screenshots/today.webp differ diff --git a/site/screenshots/upcoming.webp b/site/screenshots/upcoming.webp index a6b36c9..1af35e3 100644 Binary files a/site/screenshots/upcoming.webp and b/site/screenshots/upcoming.webp differ diff --git a/site/screenshots/week.webp b/site/screenshots/week.webp index 7d045cd..2377619 100644 Binary files a/site/screenshots/week.webp and b/site/screenshots/week.webp differ diff --git a/web/e2e/smoke.spec.js b/web/e2e/smoke.spec.js index fe4a087..f481e6c 100644 --- a/web/e2e/smoke.spec.js +++ b/web/e2e/smoke.spec.js @@ -371,9 +371,9 @@ test('en projektgruppe kan foldes, fyldes og slettes uden at tage projekterne me await sidebar.getByLabel('Gruppens navn').fill('Arbejde'); await sidebar.getByLabel('Gruppens navn').press('Enter'); - // The name is a link to the group's own page; the chevron beside it is a + // The name is a link to the group's own page; the folder icon beside it is a // separate button that folds. Two intentions, two targets — the single one they - // used to share could only ever serve the smaller. + // used to share could only ever serve the smaller, and neither wears an arrow. // // `exact` on the link, because a group's name is a user-chosen word that can // turn up inside another control's name, and Playwright matches an accessible @@ -389,13 +389,14 @@ test('en projektgruppe kan foldes, fyldes og slettes uden at tage projekterne me // The clipping half is here because it was once broken: "Omdøb" and "Slet" sat // in the flow reserving their width even while invisible, so ARBEJDE was drawn // as "ARBE". The alignment half changed meaning with the redesign: a group now - // carries a fold chevron and a section icon just like "Projekter" above it, and - // belongs to that heading tier rather than to the project rows below. + // carries a section icon just like "Projekter" above it, and belongs to that + // heading tier rather than to the project rows below. const shape = await sidebar.locator('.folder-head').evaluate((el) => { const link = el.querySelector('h2 a'); - // The leading mark is now the section icon, the same folder/funnel/tag glyph - // the system headings carry — a group and a section read identically. - const name = { ...link.querySelector('.head-icon').getBoundingClientRect().toJSON() }; + // The leading mark is the section icon in its own fold button, the same + // folder/funnel/tag glyph the system headings carry — a group and a section + // read identically, and the icon sits before the name, not inside the link. + const name = { ...el.querySelector('.head-icon').getBoundingClientRect().toJSON() }; return { clipped: link.scrollWidth > link.clientWidth + 1, left: name.left, @@ -408,7 +409,7 @@ test('en projektgruppe kan foldes, fyldes og slettes uden at tage projekterne me expect(shape.count, 'navnet og tallet overlapper').toBeGreaterThanOrEqual(shape.right); // A group is a heading, not a project row: it belongs to the same tier as - // "Projekter" and the other system sections — chevron, icon, bold name — and + // "Projekter" and the other system sections — icon, bold name, no arrow — and // starts where they start, not where the projects filed under it do. Measured // icon to icon, the one mark both headings share. const sectionLeft = await sidebar @@ -440,13 +441,13 @@ test('en projektgruppe kan foldes, fyldes og slettes uden at tage projekterne me 'false' ); - // A group's chevron is in the flow now, the same one the system sections carry — - // no absolute mark with a --surface field behind it, so a folded group no longer - // leaves a pale square beside its name on the sunken bar. - const chevronBg = await sidebar - .locator('.folder-head .chevron-button') + // The fold control is the bare folder icon now — no chevron, and no --surface + // field behind it, so a folded group leaves no pale square beside its name on + // the sunken bar. + const foldBg = await sidebar + .locator('.folder-head .fold-icon') .evaluate((el) => getComputedStyle(el).backgroundColor); - expect(chevronBg, 'chevronen har en firkant bag sig').toBe('rgba(0, 0, 0, 0)'); + expect(foldBg, 'foldeknappen har en firkant bag sig').toBe('rgba(0, 0, 0, 0)'); await sidebar.getByRole('button', { name: /^Fold Arbejde/ }).click(); diff --git a/web/src/lib/components/Sidebar.svelte b/web/src/lib/components/Sidebar.svelte index 50be9a4..2749ad8 100644 --- a/web/src/lib/components/Sidebar.svelte +++ b/web/src/lib/components/Sidebar.svelte @@ -682,13 +682,14 @@

@@ -930,31 +927,22 @@ {:else} - - +