Port the mockup's colours, corners and guide lines (Q3) #693

Open
opened 2026-10-26 19:30:34 +00:00 by kayg · 11 comments
Owner

kayg, 26 Oct, "mockup values win": port the approved mockup's colours, corners and nested-bullet guide lines into apps/web as one small change.

Source of values: packages/ui/src/styles/tokens.css on origin/issue/469-mockup-9a (the mockup's default look, "Today's look" / v1) against the same file on origin/dev. Only colours, corners (radii) and the material colours that go with them are ported. Layout, type scale, menu sizes, motion and icon sizes in that file are NOT touched (they are not part of this decision).

Heads-up: dev's tokens.css has carried "Look v2" (#493) since 16 Oct (a5058bcc). The mockup's default is the older v1 set, and its look=v2 switch is the dev set. So in token terms this change moves dev from v2 to v1. That is what "mockup values win" asks for, and the PR makes it easy to judge; it is one file, easy to revert.

Token table (light, :root)

token dev mockup
--paper color-mix(accent 4%, #fffdfa) #fbf8f3
--paper-translucent rgb(255 253 250 / .86) rgb(251 248 243 / .8)
--ink #1f1b17 #2b2723
--ink-2 #463f38 #5d5650
--ink-3 #675e55 #766d64
--ink-4 #978d82 #a39a90
--line rgb(31 27 23 / .08) rgb(43 39 35 / .09)
--hover rgb(31 27 23 / .045) rgb(43 39 35 / .05)
--press rgb(31 27 23 / .085) rgb(43 39 35 / .09)
--accent-soft accent 12% accent 14%
--selection accent 20% accent 22%
--shadow-page 0 0 0 1px ink/.06, 0 1px 2px ink/.05, 0 10px 30px -6px brown/.2 0 0 0 1px ink/.05, 0 1px 2px ink/.04 (ink = 43 39 35)
--shadow-frame ring .05 + 0 12px 32px -12px .28 same ring on new ink + extra 0 2px 6px -2px rgb(60 40 20 / .12)
--shadow-float ring .06 on 31 27 23 ring .06 on 43 39 35
--r-control 7px 8px
--r-tile 9px 12px
--r-card 10px 14px
--r-sheet 18px 22px
--r-frame 20px 22px

Dark ([data-scheme=dark])

token dev mockup
--paper #121110 #24211e
--paper-translucent rgb(18 17 16 / .86) rgb(36 33 30 / .78)
--ink #f4efe9 #ede6dd
--ink-2 #cfc7be #c3bab0
--ink-3 #a8a096 #a1978c
--ink-4 #7d756c #7a7168
--line / --hover / --press rgb(244 239 233 / .1 / .06 / .1) rgb(237 230 221 / same alphas)
--glass rgb(16 15 14 / .6) rgb(32 29 26 / .42)
--glass-strong rgb(16 15 14 / .72) rgb(32 29 26 / .6)
--glass-pane rgb(14 13 12 / .64) rgb(32 29 26 / .34)
--glass-edge white .09 white .1
--chrome rgb(24 22 20 / .7) rgb(40 36 32 / .66)
--pane-bright .9 .72
--glass-blur / --glass-sat 36px / 140% not set (the root's 28px / 160% apply)
--scrim, --scrim-amount rgb(0 0 0 / .42), 42% rgb(0 0 0 / .3), 30%
--shadow-page ring .07 + 0 8px 24px -8px black/.5 ring .06 only
--accent-ink #121110 #24211e
dark + day/dawn/photo: --glass, --glass-strong, --glass-pane rgb(16 15 14 / .6), (16 15 14 / .72), (14 13 12 / .64) rgb(32 29 26 / .58), / .68, / .66

Guide lines

Mockup has no "dotted" option: its nested bullets always use the connected hairline (tree.css, identical in dev apart from a 300 ms vs 420 ms grow, which is motion and stays). Dev's default pref lines is dotted. Change: default connected; the Settings > Editor > Tree lines selector and the per-note choice stay.

Not ported (differences that are layout, type, motion or sizes)

--bar-h, --pill-h, --row-h, --ib-cap, --text-ui/label/section, --menu-, --glyph, --tier-, --dur-, --spring-*-ms, --press-scale, --enter-scale, --sheet-r.

kayg, 26 Oct, "mockup values win": port the approved mockup's colours, corners and nested-bullet guide lines into apps/web as one small change. Source of values: `packages/ui/src/styles/tokens.css` on `origin/issue/469-mockup-9a` (the mockup's default look, "Today's look" / v1) against the same file on `origin/dev`. Only colours, corners (radii) and the material colours that go with them are ported. Layout, type scale, menu sizes, motion and icon sizes in that file are NOT touched (they are not part of this decision). Heads-up: dev's tokens.css has carried "Look v2" (#493) since 16 Oct (a5058bcc). The mockup's default is the older v1 set, and its `look=v2` switch is the dev set. So in token terms this change moves dev from v2 to v1. That is what "mockup values win" asks for, and the PR makes it easy to judge; it is one file, easy to revert. ## Token table (light, `:root`) | token | dev | mockup | |---|---|---| | --paper | color-mix(accent 4%, #fffdfa) | #fbf8f3 | | --paper-translucent | rgb(255 253 250 / .86) | rgb(251 248 243 / .8) | | --ink | #1f1b17 | #2b2723 | | --ink-2 | #463f38 | #5d5650 | | --ink-3 | #675e55 | #766d64 | | --ink-4 | #978d82 | #a39a90 | | --line | rgb(31 27 23 / .08) | rgb(43 39 35 / .09) | | --hover | rgb(31 27 23 / .045) | rgb(43 39 35 / .05) | | --press | rgb(31 27 23 / .085) | rgb(43 39 35 / .09) | | --accent-soft | accent 12% | accent 14% | | --selection | accent 20% | accent 22% | | --shadow-page | 0 0 0 1px ink/.06, 0 1px 2px ink/.05, 0 10px 30px -6px brown/.2 | 0 0 0 1px ink/.05, 0 1px 2px ink/.04 (ink = 43 39 35) | | --shadow-frame | ring .05 + 0 12px 32px -12px .28 | same ring on new ink + extra 0 2px 6px -2px rgb(60 40 20 / .12) | | --shadow-float | ring .06 on 31 27 23 | ring .06 on 43 39 35 | | --r-control | 7px | 8px | | --r-tile | 9px | 12px | | --r-card | 10px | 14px | | --r-sheet | 18px | 22px | | --r-frame | 20px | 22px | ## Dark (`[data-scheme=dark]`) | token | dev | mockup | |---|---|---| | --paper | #121110 | #24211e | | --paper-translucent | rgb(18 17 16 / .86) | rgb(36 33 30 / .78) | | --ink | #f4efe9 | #ede6dd | | --ink-2 | #cfc7be | #c3bab0 | | --ink-3 | #a8a096 | #a1978c | | --ink-4 | #7d756c | #7a7168 | | --line / --hover / --press | rgb(244 239 233 / .1 / .06 / .1) | rgb(237 230 221 / same alphas) | | --glass | rgb(16 15 14 / .6) | rgb(32 29 26 / .42) | | --glass-strong | rgb(16 15 14 / .72) | rgb(32 29 26 / .6) | | --glass-pane | rgb(14 13 12 / .64) | rgb(32 29 26 / .34) | | --glass-edge | white .09 | white .1 | | --chrome | rgb(24 22 20 / .7) | rgb(40 36 32 / .66) | | --pane-bright | .9 | .72 | | --glass-blur / --glass-sat | 36px / 140% | not set (the root's 28px / 160% apply) | | --scrim, --scrim-amount | rgb(0 0 0 / .42), 42% | rgb(0 0 0 / .3), 30% | | --shadow-page | ring .07 + 0 8px 24px -8px black/.5 | ring .06 only | | --accent-ink | #121110 | #24211e | | dark + day/dawn/photo: --glass, --glass-strong, --glass-pane | rgb(16 15 14 / .6), (16 15 14 / .72), (14 13 12 / .64) | rgb(32 29 26 / .58), / .68, / .66 | ## Guide lines Mockup has no "dotted" option: its nested bullets always use the connected hairline (`tree.css`, identical in dev apart from a 300 ms vs 420 ms grow, which is motion and stays). Dev's default pref `lines` is `dotted`. Change: default `connected`; the Settings > Editor > Tree lines selector and the per-note choice stay. ## Not ported (differences that are layout, type, motion or sizes) --bar-h, --pill-h, --row-h, --ib-cap, --text-ui/label/section, --menu-*, --glyph*, --tier-*, --dur-*, --spring-*-ms, --press-scale, --enter-scale, --sheet-r.
Author
Owner

Done: PR opened from port/look-values. Before/after/mockup screenshots (iPhone 15 Pro WebKit and Chromium 1440, light and dark) checked; svelte-check clean; 141 Playwright tests pass, same as dev.

Done: PR opened from port/look-values. Before/after/mockup screenshots (iPhone 15 Pro WebKit and Chromium 1440, light and dark) checked; svelte-check clean; 141 Playwright tests pass, same as dev.
Author
Owner

Starting look-trim on new branch port/tree-lines-default, based on origin/dev at 01505c2a03452d3d49d3984c13887d8d8ec77a27. I will retain Look v2 and bring over only the tree-line default and matching tests from #695, make the mockup use v2 by default while preserving ?look=v1, run the requested gates, and attach mockup screenshots at 1440 and 390. No merge, deployment, or token stylesheet change.

Starting look-trim on new branch `port/tree-lines-default`, based on `origin/dev` at `01505c2a03452d3d49d3984c13887d8d8ec77a27`. I will retain Look v2 and bring over only the tree-line default and matching tests from #695, make the mockup use v2 by default while preserving `?look=v1`, run the requested gates, and attach mockup screenshots at 1440 and 390. No merge, deployment, or token stylesheet change.
Author
Owner

Findings: origin/dev uses shared Look v2 tokens but has no mockup look switch. Preserving ?look=v1 requires a mockup-only legacy token override, root look attribute and switch; v2 remains the default and packages/ui/src/styles/tokens.css stays unchanged. The normal chromium-1440 and webkit-390 projects exclude prefs.spec.ts, so I will also run prefs-chromium and prefs-webkit. Perf is currently blocked: ssh to 10by32-01-std reports Could not resolve hostname, and the repository perf host root@10.69.69.63 times out on port 22. I will retry without running perf on another host.

Findings: origin/dev uses shared Look v2 tokens but has no mockup look switch. Preserving ?look=v1 requires a mockup-only legacy token override, root look attribute and switch; v2 remains the default and packages/ui/src/styles/tokens.css stays unchanged. The normal chromium-1440 and webkit-390 projects exclude prefs.spec.ts, so I will also run prefs-chromium and prefs-webkit. Perf is currently blocked: ssh to 10by32-01-std reports Could not resolve hostname, and the repository perf host root@10.69.69.63 times out on port 22. I will retry without running perf on another host.
Author
Owner

Gate finding: the web check reports svelte-check found 0 errors and 14 warnings in 8 files. The mockup has no tsconfig.json, and a bare svelte-check reports svelte-check found 84 errors and 3 warnings in 32 files, including unresolved shared package exports. I will check with an external temporary config using Bundler resolution. Browser plugin not available; validation uses the repository Playwright installation. The bundle gate remains blocked on access to the required perf VM: both port 22 and port 2222 at 10.69.69.63 time out; 10by32-01-std does not resolve.

Gate finding: the web check reports `svelte-check found 0 errors and 14 warnings in 8 files`. The mockup has no tsconfig.json, and a bare svelte-check reports `svelte-check found 84 errors and 3 warnings in 32 files`, including unresolved shared package exports. I will check with an external temporary config using Bundler resolution. Browser plugin not available; validation uses the repository Playwright installation. The bundle gate remains blocked on access to the required perf VM: both port 22 and port 2222 at 10.69.69.63 time out; 10by32-01-std does not resolve.
Author
Owner

Mockup screenshots with no look parameter, on the Journal note at 1440×900 and 390×844. The sky is pinned to day for repeatability. Both browser checks passed (2 passed (7.5s)): default root data-look is v2, card radius is 10px, ?look=v1 changes it to 14px, and choosing Look v2 removes the look parameter. Both pages have meaningful note content, no Vite error overlay, and no browser console or page errors.

Mockup default at 1440

Mockup default at 390

Mockup screenshots with no look parameter, on the Journal note at 1440×900 and 390×844. The sky is pinned to day for repeatability. Both browser checks passed (`2 passed (7.5s)`): default root data-look is v2, card radius is 10px, ?look=v1 changes it to 14px, and choosing Look v2 removes the look parameter. Both pages have meaningful note content, no Vite error overlay, and no browser console or page errors. ![Mockup default at 1440](https://git.kayg.org/attachments/7545f789-3855-4c31-a44e-07983d7528ac) ![Mockup default at 390](https://git.kayg.org/attachments/ca382b53-016f-401f-9bbf-84ba8a9f9b9a)
Author
Owner

Gate finding: with an external ES2023/Bundler TypeScript config (the mockup has none), both unchanged origin/dev and this branch produce byte-for-byte identical diagnostics: svelte-check found 7 errors and 6 warnings in 5 files. The seven errors are existing PropRow.svelte rune/type errors and BottomBar.svelte props unsupported by shared Bar/SheetBody. No diagnostic points to this change. I am keeping those unrelated fixes out of this branch. The normal targeted browser run reports 5 skipped and 42 passed (1.2m); four skips were the existing prefs.spec.ts Chromium-only guard. A temporary copy with only that guard removed passed all four cases in a WebKit project configured at 390: 4 passed (23.3s). The prefs cases still create their own 1440-wide contexts as written; the committed tests and project configuration are unchanged.

Gate finding: with an external ES2023/Bundler TypeScript config (the mockup has none), both unchanged origin/dev and this branch produce byte-for-byte identical diagnostics: `svelte-check found 7 errors and 6 warnings in 5 files`. The seven errors are existing PropRow.svelte rune/type errors and BottomBar.svelte props unsupported by shared Bar/SheetBody. No diagnostic points to this change. I am keeping those unrelated fixes out of this branch. The normal targeted browser run reports `5 skipped` and `42 passed (1.2m)`; four skips were the existing prefs.spec.ts Chromium-only guard. A temporary copy with only that guard removed passed all four cases in a WebKit project configured at 390: `4 passed (23.3s)`. The prefs cases still create their own 1440-wide contexts as written; the committed tests and project configuration are unchanged.
Author
Owner

Finished look-trim implementation in #698 (replaces #695, which remains open).

Branch: port/tree-lines-default
Base: 01505c2a03452d3d49d3984c13887d8d8ec77a27
Head: ce6dafe431d4937b13a9a3cd68c884373dea59c1

The three web files match the tree-line part of #695 exactly. The mockup defaults to v2 and supports explicit ?look=v1 with a local comparison stylesheet. Shared tokens are unchanged. No evidence or artifacts were committed. The worktree is clean. No merge or deployment was performed.

Screenshots at 1440 and 390 with no look parameter: #693 (comment)

Gates are not all green. Mockup diagnostics are byte-for-byte identical to origin/dev when checked with the same external ES2023/Bundler config: seven errors in existing PropRow.svelte and BottomBar.svelte code. Bare mockup svelte-check additionally fails on package resolution because this app has no tsconfig.json. The normal Playwright run skips WebKit preferences by design; a separate temporary copy removes only that guard and runs all four cases in a WebKit project configured at 390. Individual test contexts retain their own sizes. Browser testing used the existing /home/agent/target/tasks-create-fix7/debug/calternal server binary; this branch changes no Rust code.

The requested perf/web.sh --bundle-only --gate was not executed because the required VM is unreachable. No gate output exists for it. Access errors, verbatim:

ssh: Could not resolve hostname 10by32-01-std: No address associated with hostname
ssh: connect to host 10.69.69.63 port 22: Connection timed out
ssh: connect to host 10.69.69.63 port 2222: Connection timed out

Gate and browser output below is verbatim.

Web: bun run check (exit 0)

$ node scripts/action-types.mjs --check && svelte-check --tsconfig ./tsconfig.json
Loading svelte-check in workspace: /home/agent/wt/tree-lines-default/apps/web
Getting Svelte diagnostics...

/home/agent/wt/tree-lines-default/apps/web/../../packages/ui/src/primitives/toast/ToastCapsule.svelte:19:54
Warn: This reference only captures the initial value of `id`. Did you mean to reference it inside a derived instead?
https://svelte.dev/e/state_referenced_locally (svelte)
  // Keep the last thing it said while it leaves (the view is gone by then).
  let last = $state<ToastView | undefined>(views.get(id));
  $effect(() => {

/home/agent/wt/tree-lines-default/apps/web/src/components/NoteList.svelte:123:15
Warn: This reference only captures the initial value of `phone`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally (svelte)
  // is then the window's scroll less where this box starts, and the view is the window.
  const doc = phone && phoneDocScroll();
  $effect(() => {

/home/agent/wt/tree-lines-default/apps/web/../../packages/ui/src/components/Morph.svelte:81:18
Warn: This reference only captures the initial value of `role`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally (svelte)
  // stiffness 400, damping 36, no bounce). `lastRole` is still the old one while the new layer is made.
  let lastRole = role;
  const sheetSwap = () => role === "dialog" || lastRole === "dialog";

/home/agent/wt/tree-lines-default/apps/web/../../packages/ui/src/components/Morph.svelte:83:25
Warn: This reference only captures the initial value of `role`. Did you mean to reference it inside a derived instead?
https://svelte.dev/e/state_referenced_locally (svelte)
  const sheetSwap = () => role === "dialog" || lastRole === "dialog";
  let sheetish = $state(role === "dialog");
  let sheetTimer = 0;

/home/agent/wt/tree-lines-default/apps/web/src/components/Settings.svelte:598:3
Warn: Unused CSS selector ".seg.wide button"
https://svelte.dev/e/css_unused_selector (svelte)
  }
  .seg.wide button {
    flex: 1;

/home/agent/wt/tree-lines-default/apps/web/src/components/Settings.svelte:601:3
Warn: Unused CSS selector ".phone .seg.wide button"
https://svelte.dev/e/css_unused_selector (svelte)
  }
  .phone .seg.wide button {
    padding: 0 6px;

/home/agent/wt/tree-lines-default/apps/web/src/components/Settings.svelte:751:3
Warn: Unused CSS selector ".toggle input"
https://svelte.dev/e/css_unused_selector (svelte)
  }
  .toggle input {
    appearance: none;

/home/agent/wt/tree-lines-default/apps/web/src/components/Settings.svelte:761:3
Warn: Unused CSS selector ".toggle input::after"
https://svelte.dev/e/css_unused_selector (svelte)
  }
  .toggle input::after {
    content: "";

/home/agent/wt/tree-lines-default/apps/web/src/components/Settings.svelte:773:3
Warn: Unused CSS selector ".toggle input:checked"
https://svelte.dev/e/css_unused_selector (svelte)
  }
  .toggle input:checked {
    background: var(--accent);

/home/agent/wt/tree-lines-default/apps/web/src/components/Settings.svelte:776:3
Warn: Unused CSS selector ".toggle input:checked::after"
https://svelte.dev/e/css_unused_selector (svelte)
  }
  .toggle input:checked::after {
    translate: 16px 0;

/home/agent/wt/tree-lines-default/apps/web/src/components/Inspector.svelte:19:8
Warn: This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally (svelte)
  const why = (_t: BlockType) => undefined as string | undefined;
  void noteId;

/home/agent/wt/tree-lines-default/apps/web/src/components/InsertSheet.svelte:42:8
Warn: This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally (svelte)
  }
  void noteId;

/home/agent/wt/tree-lines-default/apps/web/src/components/InfoSheet.svelte:383:3
Warn: Unused CSS selector ".avatar.agent"
https://svelte.dev/e/css_unused_selector (svelte)
  }
  .avatar.agent {
    background: var(--hover);

/home/agent/wt/tree-lines-default/apps/web/src/App.svelte:185:5
Warn: Unused CSS selector ".toast"
https://svelte.dev/e/css_unused_selector (svelte)
  @media (prefers-reduced-motion: no-preference) {
    .toast {
      animation: toast-in 240ms var(--ease-out) backwards;

====================================
svelte-check found 0 errors and 14 warnings in 8 files

Mockup: svelte-check --tsconfig /home/agent/look-trim-evidence/mockup-tsconfig.json (exit 1; same diagnostics on origin/dev)

Loading svelte-check in workspace: /home/agent/wt/tree-lines-default/apps/mockup
Getting Svelte diagnostics...

/home/agent/wt/tree-lines-default/apps/mockup/../../packages/ui/src/primitives/toast/ToastCapsule.svelte:19:54
Warn: This reference only captures the initial value of `id`. Did you mean to reference it inside a derived instead?
https://svelte.dev/e/state_referenced_locally (svelte)
  // Keep the last thing it said while it leaves (the view is gone by then).
  let last = $state<ToastView | undefined>(views.get(id));
  $effect(() => {

/home/agent/wt/tree-lines-default/apps/mockup/../../packages/ui/src/components/Morph.svelte:81:18
Warn: This reference only captures the initial value of `role`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally (svelte)
  // stiffness 400, damping 36, no bounce). `lastRole` is still the old one while the new layer is made.
  let lastRole = role;
  const sheetSwap = () => role === "dialog" || lastRole === "dialog";

/home/agent/wt/tree-lines-default/apps/mockup/../../packages/ui/src/components/Morph.svelte:83:25
Warn: This reference only captures the initial value of `role`. Did you mean to reference it inside a derived instead?
https://svelte.dev/e/state_referenced_locally (svelte)
  const sheetSwap = () => role === "dialog" || lastRole === "dialog";
  let sheetish = $state(role === "dialog");
  let sheetTimer = 0;

/home/agent/wt/tree-lines-default/apps/mockup/src/components/Inspector.svelte:173:5
Warn: Non-interactive element `<div>` should not be assigned mouse or keyboard event listeners
https://svelte.dev/e/a11y_no_noninteractive_element_interactions (svelte)
    <!-- svelte-ignore a11y_no_noninteractive_tabindex -->
    <div class="pager" bind:this={pager} {onscroll} onkeydown={pagerKeys} tabindex="0" role="group" aria-label="Style pages">
      <div class="pane" role="group" aria-label="Page" inert={pageNow !== "page"}>
    <section>
      <h3 class="section-label">
        Look
        <button class="ib reset" data-icon-only use:tip={{ label: "Reset" }} onclick={() => setStyle(noteId, { layout: "page", wide: false })}>
          <Icon name="reset" size={13} />
        </button>
      </h3>
<Selector label="Look" options={layoutOptions} value={style.layout} onchange={(layout) => setStyle(noteId, { layout })}>
        {#snippet optionIcon(o)}<Icon name={o.value} size={14} />{/snippet}
      </Selector>
      <label class="toggle">
        <span>Wide page</span>
        <SquishSwitch size="sm" checked={style.wide} onchange={(on) => setStyle(noteId, { wide: on })} />
      </label>
    </section>
    <section>
      <h3 class="section-label">
        Page
        <button class="ib reset" data-icon-only use:tip={{ label: "Reset" }} onclick={() => setStyle(noteId, { opacity: 1, blur: 18 })}>
          <Icon name="reset" size={13} />
        </button>
      </h3>
      <label class="slider">
        <span class="lbl">Opacity</span>
        <input
          type="range"
          min="0"
          max="100"
          step="1"
          value={Math.round(style.opacity * 100)}
          oninput={(e) => setStyle(noteId, { opacity: Number(e.currentTarget.value) / 100 })}
          aria-valuetext="{Math.round(style.opacity * 100)} percent"
        />
        <span class="val tabular">{Math.round(style.opacity * 100)}%</span>
      </label>
      <label class="slider" class:off={style.opacity >= 1}>
        <span class="lbl">Blur</span>
        <input
          type="range"
          min="0"
          max="40"
          step="1"
          value={style.blur}
          disabled={style.opacity >= 1}
          oninput={(e) => setStyle(noteId, { blur: Number(e.currentTarget.value) })}
          aria-valuetext="{style.blur} pixels"
        />
        <span class="val tabular">{style.opacity >= 1 ? "Solid" : `${style.blur}px`}</span>
      </label>
    </section>
    <section>
      <h3 class="section-label">Font</h3>
      <Selector
        label="Font"
        class="fonts"
        options={FONTS.map(([id, , label]) => ({ value: id, label }))}
        value={style.font}
        onchange={(font) => setStyle(noteId, { font })}
      >
        {#snippet optionContent(o)}
          {@const f = FONTS.find(([id]) => id === o.value)!}
          <span class="glyph" style="font-family: {f[3]}; {f[0] === 'rounded' ? 'font-variation-settings: \"ROND\" 100' : ''}">{f[1]}</span>
          <span class="name">{f[2]}</span>
        {/snippet}
      </Selector>
    </section>
      </div>
      <div class="pane" role="group" aria-label="Backdrop" inert={pageNow !== "backdrop"}>
        <section>
          <div class="backdrops">
            {#each [["sky", "Sky"], ["photo", "Photo"], ["plain", "Plain"]] as [id, label] (id)}
              <button class="bd press" data-kind={id} aria-pressed={v.backdrop === id && chosen === null} onclick={() => ((chosen = null), setPref("backdrop", id))}>
                <span class="thumb"></span><span class="name">{label}</span>
              </button>
            {/each}
          </div>
          <div class="tools">
            <label class="search">
              <Icon name="search" size={14} />
              <input type="search" placeholder="Search" aria-label="Search Unsplash photos" bind:value={query} />
            </label>
            <button class="ib sq" data-icon-only use:tip={{ label: "Shuffle" }} aria-label="Shuffle photos"><Icon name="shuffle" size={15} /></button>
            <button class="src press"><Icon name="upload" size={15} />Upload</button>
          </div>
          <!-- A real grid: 2 columns on a phone, 3 wider; a tile's height comes from its width. -->
          <div class="grid" role="group" aria-label="Photos">
            {#each PHOTOS.filter((p) => p[1].toLowerCase().includes(query.trim().toLowerCase())) as [color, alt] , i (alt)}
              <button class="tile press" style="background: linear-gradient(135deg, {color}, color-mix(in oklab, {color} 40%, white))" aria-pressed={chosen === i} aria-label={alt} onclick={() => ((chosen = i), setPref("backdrop", "photo"))}></button>
            {/each}
          </div>
          <p class="credit">
            {#if chosen !== null}Photo by <a href="#credit">{PHOTOS[chosen]![2]}</a> on <a href="#unsplash">Unsplash</a>{/if}
          </p>
        </section>
      </div>
    </div>
  {/if}

/home/agent/wt/tree-lines-default/apps/mockup/src/components/Inspector.svelte:363:3
Warn: Unused CSS selector "[aria-disabled="true"]"
https://svelte.dev/e/css_unused_selector (svelte)
  }
  [aria-disabled="true"] {
    opacity: 0.45;

/home/agent/wt/tree-lines-default/apps/mockup/src/components/Inspector.svelte:422:3
Warn: Unused CSS selector ".sources"
https://svelte.dev/e/css_unused_selector (svelte)
  }
  .sources {
    display: flex;

/home/agent/wt/tree-lines-default/apps/mockup/src/components/PropRow.svelte:17:7
Error: 'state' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer. (ts)

  let state = $state<"idle" | "copied" | "editing" | "locked">("idle");
  let draft = $state("");

/home/agent/wt/tree-lines-default/apps/mockup/src/components/PropRow.svelte:17:15
Error: Block-scoped variable '$state' used before its declaration. (ts)

  let state = $state<"idle" | "copied" | "editing" | "locked">("idle");
  let draft = $state("");

/home/agent/wt/tree-lines-default/apps/mockup/src/components/PropRow.svelte:17:15
Error: Untyped function calls may not accept type arguments. (ts)

  let state = $state<"idle" | "copied" | "editing" | "locked">("idle");
  let draft = $state("");

/home/agent/wt/tree-lines-default/apps/mockup/src/components/PropRow.svelte:19:15
Error: Untyped function calls may not accept type arguments. (ts)
  let draft = $state("");
  let input = $state<HTMLInputElement>();
  let text = $state<HTMLSpanElement>();

/home/agent/wt/tree-lines-default/apps/mockup/src/components/PropRow.svelte:20:14
Error: Untyped function calls may not accept type arguments. (ts)
  let input = $state<HTMLInputElement>();
  let text = $state<HTMLSpanElement>();
  let timer = 0;

/home/agent/wt/tree-lines-default/apps/mockup/src/components/BottomBar.svelte:182:3
Error: Object literal may only specify known properties, and '"scrim"' does not exist in type '$$ComponentProps'. (ts)
  {dragY}
  scrim={isSheet ? close : null}
>

/home/agent/wt/tree-lines-default/apps/mockup/src/components/BottomBar.svelte:186:20
Error: Object literal may only specify known properties, and '"title"' does not exist in type '$$ComponentProps'. (ts)
      {#if isSheet && noteId}
        <SheetBody title={TITLES[k]} wide={k === "sheet-info"} {phone} onclose={close} ondrag={drag}>
          {#if k === "style" || k === "sheet-style"}

====================================
svelte-check found 7 errors and 6 warnings in 5 files

Playwright: tree and preferences, chromium-1440, webkit-390, prefs-chromium, prefs-webkit, --workers=1 (exit 0)

copied 7 font files to public/fonts
(!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
  - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
  - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
  - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
  - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
7:49:24 AM [vite-plugin-svelte] src/App.svelte:185:4 Unused CSS selector ".toast"
https://svelte.dev/e/css_unused_selector
183:   }
184:   @media (prefers-reduced-motion: no-preference) {
185:     .toast {
               ^
186:       animation: toast-in 240ms var(--ease-out) backwards;
187:     }
7:49:25 AM [vite-plugin-svelte] src/components/Inspector.svelte:19:7 This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
17:   const isTitle = $derived(current === "h1");
18:   const why = (_t: BlockType) => undefined as string | undefined;
19:   void noteId;
                 ^
20: 
21:   function apply(type: BlockType) {
7:49:25 AM [vite-plugin-svelte] src/components/Settings.svelte:598:2 Unused CSS selector ".seg.wide button"
https://svelte.dev/e/css_unused_selector
596:     text-underline-offset: 2px;
597:   }
598:   .seg.wide button {
                       ^
599:     flex: 1;
600:   }
7:49:25 AM [vite-plugin-svelte] src/components/Settings.svelte:601:2 Unused CSS selector ".phone .seg.wide button"
https://svelte.dev/e/css_unused_selector
599:     flex: 1;
600:   }
601:   .phone .seg.wide button {
                              ^
602:     padding: 0 6px;
603:     font-size: calc(12.5 * var(--type-px));
7:49:25 AM [vite-plugin-svelte] src/components/Settings.svelte:751:2 Unused CSS selector ".toggle input"
https://svelte.dev/e/css_unused_selector
749:     font-weight: 400;
750:   }
751:   .toggle input {
                    ^
752:     appearance: none;
753:     flex: none;
7:49:25 AM [vite-plugin-svelte] src/components/Settings.svelte:761:2 Unused CSS selector ".toggle input::after"
https://svelte.dev/e/css_unused_selector
759:     transition: background-color 150ms var(--ease-out);
760:   }
761:   .toggle input::after {
                           ^
762:     content: "";
763:     position: absolute;
7:49:25 AM [vite-plugin-svelte] src/components/Settings.svelte:773:2 Unused CSS selector ".toggle input:checked"
https://svelte.dev/e/css_unused_selector
771:     transition: translate 200ms var(--ease-out);
772:   }
773:   .toggle input:checked {
                            ^
774:     background: var(--accent);
775:   }
7:49:25 AM [vite-plugin-svelte] src/components/Settings.svelte:776:2 Unused CSS selector ".toggle input:checked::after"
https://svelte.dev/e/css_unused_selector
774:     background: var(--accent);
775:   }
776:   .toggle input:checked::after {
                                   ^
777:     translate: 16px 0;
778:   }
7:49:25 AM [vite-plugin-svelte] src/components/InsertSheet.svelte:42:7 This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
40:     openSheet(null);
41:   }
42:   void noteId;
                 ^
43: 
44:   function key(e: KeyboardEvent) {
7:49:25 AM [vite-plugin-svelte] src/components/InfoSheet.svelte:383:2 Unused CSS selector ".avatar.agent"
https://svelte.dev/e/css_unused_selector
381:     color: var(--accent);
382:   }
383:   .avatar.agent {
                    ^
384:     background: var(--hover);
385:     color: var(--ink-2);
7:49:25 AM [vite-plugin-svelte] /home/agent/wt/tree-lines-default/packages/ui/src/primitives/toast/ToastCapsule.svelte:19:53 This reference only captures the initial value of `id`. Did you mean to reference it inside a derived instead?
https://svelte.dev/e/state_referenced_locally
17: 
18:   // Keep the last thing it said while it leaves (the view is gone by then).
19:   let last = $state<ToastView | undefined>(views.get(id));
                                                           ^
20:   $effect(() => {
21:     const v = views.get(id);
7:49:25 AM [vite-plugin-svelte] src/components/NoteList.svelte:123:14 This reference only captures the initial value of `phone`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
121:   // A phone in a browser tab scrolls the document, not this box (PhoneStack, #445): where the rows are
122:   // is then the window's scroll less where this box starts, and the view is the window.
123:   const doc = phone && phoneDocScroll();
                        ^
124:   $effect(() => {
125:     const el = scroll;
7:49:26 AM [vite-plugin-svelte] /home/agent/wt/tree-lines-default/packages/ui/src/components/Morph.svelte:81:17 This reference only captures the initial value of `role`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
79:   // The bar becoming a sheet (and back) is one glass shape whose edges ride the sheet spring (IN4, IN8:
80:   // stiffness 400, damping 36, no bounce). `lastRole` is still the old one while the new layer is made.
81:   let lastRole = role;
                         ^
82:   const sheetSwap = () => role === "dialog" || lastRole === "dialog";
83:   let sheetish = $state(role === "dialog");
7:49:26 AM [vite-plugin-svelte] /home/agent/wt/tree-lines-default/packages/ui/src/components/Morph.svelte:83:24 This reference only captures the initial value of `role`. Did you mean to reference it inside a derived instead?
https://svelte.dev/e/state_referenced_locally
81:   let lastRole = role;
82:   const sheetSwap = () => role === "dialog" || lastRole === "dialog";
83:   let sheetish = $state(role === "dialog");
                                ^
84:   let sheetTimer = 0;
85:   $effect(() => {
[plugin builtin:vite-reporter] 
(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
[WebServer] (node:505082) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (node:505103) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
[WebServer] (node:505178) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
[WebServer] (node:505257) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
[WebServer] (node:505319) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
[WebServer] (node:505348) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (node:505369) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
[WebServer] (node:505413) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.

Running 47 tests using 1 worker

(node:505442) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
  ✓   1 [chromium-1440] › e2e/tree.spec.ts:43:1 › nested lists get ├ and └ branches, and the file stays as typed (764ms)
  ✓   2 [chromium-1440] › e2e/tree.spec.ts:103:3 › dotted: a guide joins consecutive siblings and stops at the last one (#618) (621ms)
  ✓   3 [chromium-1440] › e2e/tree.spec.ts:103:3 › connected: a guide joins consecutive siblings and stops at the last one (#618) (796ms)
  ✓   4 [chromium-1440] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 320px (#618) (988ms)
  ✓   5 [chromium-1440] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 390px (#618) (818ms)
  ✓   6 [chromium-1440] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 440px (#618) (829ms)
  ✓   7 [chromium-1440] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 1440px (#618) (617ms)
  ✓   8 [chromium-1440] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 320px (#618) (688ms)
  ✓   9 [chromium-1440] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 390px (#618) (756ms)
  ✓  10 [chromium-1440] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 440px (#618) (669ms)
  ✓  11 [chromium-1440] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 1440px (#618) (656ms)
  ✓  12 [chromium-1440] › e2e/tree.spec.ts:241:1 › the sibling guide stops where the kind of block changes (#618) (538ms)
  ✓  13 [chromium-1440] › e2e/tree.spec.ts:266:1 › typing in a nested item never moves the tree or the text (941ms)
  ✓  14 [chromium-1440] › e2e/tree.spec.ts:279:1 › source mode shows the file as it is, with no tree lines (754ms)
  ✓  15 [chromium-1440] › e2e/tree.spec.ts:299:1 › the branch of the item with the caret lights up as you arrow, with no animation and no shift (1.6s)
  ✓  16 [chromium-1440] › e2e/tree.spec.ts:333:1 › the pointer lights the branch under it; a key hands the light back to the caret (1.7s)
  ✓  17 [chromium-1440] › e2e/tree.spec.ts:353:1 › connected is the default look (the mockup's, #693); a note (or ?lines=) can choose dots (1.0s)
  ✓  18 [chromium-1440] › e2e/tree.spec.ts:377:1 › Style sheet: a note chooses its own tree lines, saved with the note and kept on reload (3.9s)
(node:505821) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
  ✓  19 [webkit-390] › e2e/tree.spec.ts:43:1 › nested lists get ├ and └ branches, and the file stays as typed (1.3s)
  ✓  20 [webkit-390] › e2e/tree.spec.ts:103:3 › dotted: a guide joins consecutive siblings and stops at the last one (#618) (1.6s)
  ✓  21 [webkit-390] › e2e/tree.spec.ts:103:3 › connected: a guide joins consecutive siblings and stops at the last one (#618) (1.7s)
  ✓  22 [webkit-390] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 320px (#618) (1.8s)
  ✓  23 [webkit-390] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 390px (#618) (1.5s)
  ✓  24 [webkit-390] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 440px (#618) (1.5s)
  ✓  25 [webkit-390] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 1440px (#618) (1.1s)
  ✓  26 [webkit-390] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 320px (#618) (1.3s)
  ✓  27 [webkit-390] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 390px (#618) (1.3s)
  ✓  28 [webkit-390] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 440px (#618) (1.6s)
  ✓  29 [webkit-390] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 1440px (#618) (1.2s)
  ✓  30 [webkit-390] › e2e/tree.spec.ts:241:1 › the sibling guide stops where the kind of block changes (#618) (1.5s)
  ✓  31 [webkit-390] › e2e/tree.spec.ts:266:1 › typing in a nested item never moves the tree or the text (2.0s)
  ✓  32 [webkit-390] › e2e/tree.spec.ts:279:1 › source mode shows the file as it is, with no tree lines (1.1s)
  ✓  33 [webkit-390] › e2e/tree.spec.ts:299:1 › the branch of the item with the caret lights up as you arrow, with no animation and no shift (2.4s)
  -  34 [webkit-390] › e2e/tree.spec.ts:333:1 › the pointer lights the branch under it; a key hands the light back to the caret
  ✓  35 [webkit-390] › e2e/tree.spec.ts:353:1 › connected is the default look (the mockup's, #693); a note (or ?lines=) can choose dots (2.9s)
  ✓  36 [webkit-390] › e2e/tree.spec.ts:377:1 › Style sheet: a note chooses its own tree lines, saved with the note and kept on reload (6.8s)
(node:507125) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
  ✓  37 [prefs-chromium] › e2e/prefs-offline.spec.ts:107:3 › settings offline › a change made offline shows at once, survives a reload with no flash, and is sent when back (3.0s)
  ✓  38 [prefs-chromium] › e2e/prefs-offline.spec.ts:139:3 › settings offline › a retry after a dropped connection carries the same idempotency key (1.3s)
  ✓  39 [prefs-chromium] › e2e/prefs-offline.spec.ts:163:3 › settings offline › a newer value from another device wins, and the screen updates in place (845ms)
  ✓  40 [prefs-chromium] › e2e/prefs.spec.ts:34:1 › a change on one device shows on the other and survives a reload, with no flash (3.0s)
  ✓  41 [prefs-chromium] › e2e/prefs.spec.ts:86:1 › the Photos from Unsplash switch saves, survives a reload and reaches other devices (3.3s)
  ✓  42 [prefs-chromium] › e2e/prefs.spec.ts:110:1 › Settings, Editor, Tree lines: Connected is the default, Dotted is kept for notes without their own (1.3s)
  ✓  43 [prefs-chromium] › e2e/prefs.spec.ts:131:1 › a bad setting is refused in plain words (5ms)
(node:507344) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
  -  44 [prefs-webkit] › e2e/prefs.spec.ts:34:1 › a change on one device shows on the other and survives a reload, with no flash
  -  45 [prefs-webkit] › e2e/prefs.spec.ts:86:1 › the Photos from Unsplash switch saves, survives a reload and reaches other devices
  -  46 [prefs-webkit] › e2e/prefs.spec.ts:110:1 › Settings, Editor, Tree lines: Connected is the default, Dotted is kept for notes without their own
  -  47 [prefs-webkit] › e2e/prefs.spec.ts:131:1 › a bad setting is refused in plain words

  5 skipped
  42 passed (1.2m)

Playwright: preferences in WebKit with the existing Chromium-only skip removed in an external temporary copy, --workers=1 (exit 0)

copied 7 font files to public/fonts
(!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
  - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
  - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
  - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
  - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
7:51:59 AM [vite-plugin-svelte] src/App.svelte:185:4 Unused CSS selector ".toast"
https://svelte.dev/e/css_unused_selector
183:   }
184:   @media (prefers-reduced-motion: no-preference) {
185:     .toast {
               ^
186:       animation: toast-in 240ms var(--ease-out) backwards;
187:     }
7:51:59 AM [vite-plugin-svelte] src/components/Settings.svelte:598:2 Unused CSS selector ".seg.wide button"
https://svelte.dev/e/css_unused_selector
596:     text-underline-offset: 2px;
597:   }
598:   .seg.wide button {
                       ^
599:     flex: 1;
600:   }
7:51:59 AM [vite-plugin-svelte] src/components/Settings.svelte:601:2 Unused CSS selector ".phone .seg.wide button"
https://svelte.dev/e/css_unused_selector
599:     flex: 1;
600:   }
601:   .phone .seg.wide button {
                              ^
602:     padding: 0 6px;
603:     font-size: calc(12.5 * var(--type-px));
7:51:59 AM [vite-plugin-svelte] src/components/Settings.svelte:751:2 Unused CSS selector ".toggle input"
https://svelte.dev/e/css_unused_selector
749:     font-weight: 400;
750:   }
751:   .toggle input {
                    ^
752:     appearance: none;
753:     flex: none;
7:51:59 AM [vite-plugin-svelte] src/components/Settings.svelte:761:2 Unused CSS selector ".toggle input::after"
https://svelte.dev/e/css_unused_selector
759:     transition: background-color 150ms var(--ease-out);
760:   }
761:   .toggle input::after {
                           ^
762:     content: "";
763:     position: absolute;
7:51:59 AM [vite-plugin-svelte] src/components/Settings.svelte:773:2 Unused CSS selector ".toggle input:checked"
https://svelte.dev/e/css_unused_selector
771:     transition: translate 200ms var(--ease-out);
772:   }
773:   .toggle input:checked {
                            ^
774:     background: var(--accent);
775:   }
7:51:59 AM [vite-plugin-svelte] src/components/Settings.svelte:776:2 Unused CSS selector ".toggle input:checked::after"
https://svelte.dev/e/css_unused_selector
774:     background: var(--accent);
775:   }
776:   .toggle input:checked::after {
                                   ^
777:     translate: 16px 0;
778:   }
7:51:59 AM [vite-plugin-svelte] src/components/Inspector.svelte:19:7 This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
17:   const isTitle = $derived(current === "h1");
18:   const why = (_t: BlockType) => undefined as string | undefined;
19:   void noteId;
                 ^
20: 
21:   function apply(type: BlockType) {
7:51:59 AM [vite-plugin-svelte] src/components/InsertSheet.svelte:42:7 This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
40:     openSheet(null);
41:   }
42:   void noteId;
                 ^
43: 
44:   function key(e: KeyboardEvent) {
7:51:59 AM [vite-plugin-svelte] src/components/InfoSheet.svelte:383:2 Unused CSS selector ".avatar.agent"
https://svelte.dev/e/css_unused_selector
381:     color: var(--accent);
382:   }
383:   .avatar.agent {
                    ^
384:     background: var(--hover);
385:     color: var(--ink-2);
7:51:59 AM [vite-plugin-svelte] /home/agent/wt/tree-lines-default/packages/ui/src/primitives/toast/ToastCapsule.svelte:19:53 This reference only captures the initial value of `id`. Did you mean to reference it inside a derived instead?
https://svelte.dev/e/state_referenced_locally
17: 
18:   // Keep the last thing it said while it leaves (the view is gone by then).
19:   let last = $state<ToastView | undefined>(views.get(id));
                                                           ^
20:   $effect(() => {
21:     const v = views.get(id);
7:52:00 AM [vite-plugin-svelte] src/components/NoteList.svelte:123:14 This reference only captures the initial value of `phone`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
121:   // A phone in a browser tab scrolls the document, not this box (PhoneStack, #445): where the rows are
122:   // is then the window's scroll less where this box starts, and the view is the window.
123:   const doc = phone && phoneDocScroll();
                        ^
124:   $effect(() => {
125:     const el = scroll;
7:52:00 AM [vite-plugin-svelte] /home/agent/wt/tree-lines-default/packages/ui/src/components/Morph.svelte:81:17 This reference only captures the initial value of `role`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
79:   // The bar becoming a sheet (and back) is one glass shape whose edges ride the sheet spring (IN4, IN8:
80:   // stiffness 400, damping 36, no bounce). `lastRole` is still the old one while the new layer is made.
81:   let lastRole = role;
                         ^
82:   const sheetSwap = () => role === "dialog" || lastRole === "dialog";
83:   let sheetish = $state(role === "dialog");
7:52:00 AM [vite-plugin-svelte] /home/agent/wt/tree-lines-default/packages/ui/src/components/Morph.svelte:83:24 This reference only captures the initial value of `role`. Did you mean to reference it inside a derived instead?
https://svelte.dev/e/state_referenced_locally
81:   let lastRole = role;
82:   const sheetSwap = () => role === "dialog" || lastRole === "dialog";
83:   let sheetish = $state(role === "dialog");
                                ^
84:   let sheetTimer = 0;
85:   $effect(() => {
[plugin builtin:vite-reporter] 
(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
[WebServer] (node:507748) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (node:507769) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
[WebServer] (node:507844) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
[WebServer] (node:507906) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
[WebServer] (node:507970) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
[WebServer] (node:508000) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (node:508022) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
[WebServer] (node:508065) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.

Running 4 tests using 1 worker

(node:508094) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
  ✓  1 [prefs-webkit-390] › ../../../../look-trim-evidence/webkit-prefs/prefs.spec.ts:33:1 › a change on one device shows on the other and survives a reload, with no flash (6.9s)
  ✓  2 [prefs-webkit-390] › ../../../../look-trim-evidence/webkit-prefs/prefs.spec.ts:85:1 › the Photos from Unsplash switch saves, survives a reload and reaches other devices (5.8s)
  ✓  3 [prefs-webkit-390] › ../../../../look-trim-evidence/webkit-prefs/prefs.spec.ts:109:1 › Settings, Editor, Tree lines: Connected is the default, Dotted is kept for notes without their own (3.3s)
  ✓  4 [prefs-webkit-390] › ../../../../look-trim-evidence/webkit-prefs/prefs.spec.ts:130:1 › a bad setting is refused in plain words (8ms)

  4 passed (23.3s)

Mockup: browser checks at 1440 and 390, --workers=1 (exit 0)

[WebServer] (node:508906) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)

Running 2 tests using 1 worker

(node:508933) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
  ✓  1 ../../../../look-trim-evidence/mockup-look.spec.ts:3:2 › mockup defaults to v2 at 1440 and keeps the v1 comparison (2.1s)
  ✓  2 ../../../../look-trim-evidence/mockup-look.spec.ts:3:2 › mockup defaults to v2 at 390 and keeps the v1 comparison (1.1s)

  2 passed (5.0s)
Finished look-trim implementation in https://git.kayg.org/kayg/calternal/pulls/698 (replaces #695, which remains open). Branch: `port/tree-lines-default` Base: `01505c2a03452d3d49d3984c13887d8d8ec77a27` Head: `ce6dafe431d4937b13a9a3cd68c884373dea59c1` The three web files match the tree-line part of #695 exactly. The mockup defaults to v2 and supports explicit ?look=v1 with a local comparison stylesheet. Shared tokens are unchanged. No evidence or artifacts were committed. The worktree is clean. No merge or deployment was performed. Screenshots at 1440 and 390 with no look parameter: https://git.kayg.org/kayg/calternal/issues/693#issuecomment-65997 Gates are not all green. Mockup diagnostics are byte-for-byte identical to origin/dev when checked with the same external ES2023/Bundler config: seven errors in existing PropRow.svelte and BottomBar.svelte code. Bare mockup svelte-check additionally fails on package resolution because this app has no tsconfig.json. The normal Playwright run skips WebKit preferences by design; a separate temporary copy removes only that guard and runs all four cases in a WebKit project configured at 390. Individual test contexts retain their own sizes. Browser testing used the existing `/home/agent/target/tasks-create-fix7/debug/calternal` server binary; this branch changes no Rust code. The requested `perf/web.sh --bundle-only --gate` was not executed because the required VM is unreachable. No gate output exists for it. Access errors, verbatim: ``` ssh: Could not resolve hostname 10by32-01-std: No address associated with hostname ssh: connect to host 10.69.69.63 port 22: Connection timed out ssh: connect to host 10.69.69.63 port 2222: Connection timed out ``` Gate and browser output below is verbatim. Web: bun run check (exit 0) ```text $ node scripts/action-types.mjs --check && svelte-check --tsconfig ./tsconfig.json Loading svelte-check in workspace: /home/agent/wt/tree-lines-default/apps/web Getting Svelte diagnostics... /home/agent/wt/tree-lines-default/apps/web/../../packages/ui/src/primitives/toast/ToastCapsule.svelte:19:54 Warn: This reference only captures the initial value of `id`. Did you mean to reference it inside a derived instead? https://svelte.dev/e/state_referenced_locally (svelte) // Keep the last thing it said while it leaves (the view is gone by then). let last = $state<ToastView | undefined>(views.get(id)); $effect(() => { /home/agent/wt/tree-lines-default/apps/web/src/components/NoteList.svelte:123:15 Warn: This reference only captures the initial value of `phone`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally (svelte) // is then the window's scroll less where this box starts, and the view is the window. const doc = phone && phoneDocScroll(); $effect(() => { /home/agent/wt/tree-lines-default/apps/web/../../packages/ui/src/components/Morph.svelte:81:18 Warn: This reference only captures the initial value of `role`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally (svelte) // stiffness 400, damping 36, no bounce). `lastRole` is still the old one while the new layer is made. let lastRole = role; const sheetSwap = () => role === "dialog" || lastRole === "dialog"; /home/agent/wt/tree-lines-default/apps/web/../../packages/ui/src/components/Morph.svelte:83:25 Warn: This reference only captures the initial value of `role`. Did you mean to reference it inside a derived instead? https://svelte.dev/e/state_referenced_locally (svelte) const sheetSwap = () => role === "dialog" || lastRole === "dialog"; let sheetish = $state(role === "dialog"); let sheetTimer = 0; /home/agent/wt/tree-lines-default/apps/web/src/components/Settings.svelte:598:3 Warn: Unused CSS selector ".seg.wide button" https://svelte.dev/e/css_unused_selector (svelte) } .seg.wide button { flex: 1; /home/agent/wt/tree-lines-default/apps/web/src/components/Settings.svelte:601:3 Warn: Unused CSS selector ".phone .seg.wide button" https://svelte.dev/e/css_unused_selector (svelte) } .phone .seg.wide button { padding: 0 6px; /home/agent/wt/tree-lines-default/apps/web/src/components/Settings.svelte:751:3 Warn: Unused CSS selector ".toggle input" https://svelte.dev/e/css_unused_selector (svelte) } .toggle input { appearance: none; /home/agent/wt/tree-lines-default/apps/web/src/components/Settings.svelte:761:3 Warn: Unused CSS selector ".toggle input::after" https://svelte.dev/e/css_unused_selector (svelte) } .toggle input::after { content: ""; /home/agent/wt/tree-lines-default/apps/web/src/components/Settings.svelte:773:3 Warn: Unused CSS selector ".toggle input:checked" https://svelte.dev/e/css_unused_selector (svelte) } .toggle input:checked { background: var(--accent); /home/agent/wt/tree-lines-default/apps/web/src/components/Settings.svelte:776:3 Warn: Unused CSS selector ".toggle input:checked::after" https://svelte.dev/e/css_unused_selector (svelte) } .toggle input:checked::after { translate: 16px 0; /home/agent/wt/tree-lines-default/apps/web/src/components/Inspector.svelte:19:8 Warn: This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally (svelte) const why = (_t: BlockType) => undefined as string | undefined; void noteId; /home/agent/wt/tree-lines-default/apps/web/src/components/InsertSheet.svelte:42:8 Warn: This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally (svelte) } void noteId; /home/agent/wt/tree-lines-default/apps/web/src/components/InfoSheet.svelte:383:3 Warn: Unused CSS selector ".avatar.agent" https://svelte.dev/e/css_unused_selector (svelte) } .avatar.agent { background: var(--hover); /home/agent/wt/tree-lines-default/apps/web/src/App.svelte:185:5 Warn: Unused CSS selector ".toast" https://svelte.dev/e/css_unused_selector (svelte) @media (prefers-reduced-motion: no-preference) { .toast { animation: toast-in 240ms var(--ease-out) backwards; ==================================== svelte-check found 0 errors and 14 warnings in 8 files ``` Mockup: svelte-check --tsconfig /home/agent/look-trim-evidence/mockup-tsconfig.json (exit 1; same diagnostics on origin/dev) ```text Loading svelte-check in workspace: /home/agent/wt/tree-lines-default/apps/mockup Getting Svelte diagnostics... /home/agent/wt/tree-lines-default/apps/mockup/../../packages/ui/src/primitives/toast/ToastCapsule.svelte:19:54 Warn: This reference only captures the initial value of `id`. Did you mean to reference it inside a derived instead? https://svelte.dev/e/state_referenced_locally (svelte) // Keep the last thing it said while it leaves (the view is gone by then). let last = $state<ToastView | undefined>(views.get(id)); $effect(() => { /home/agent/wt/tree-lines-default/apps/mockup/../../packages/ui/src/components/Morph.svelte:81:18 Warn: This reference only captures the initial value of `role`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally (svelte) // stiffness 400, damping 36, no bounce). `lastRole` is still the old one while the new layer is made. let lastRole = role; const sheetSwap = () => role === "dialog" || lastRole === "dialog"; /home/agent/wt/tree-lines-default/apps/mockup/../../packages/ui/src/components/Morph.svelte:83:25 Warn: This reference only captures the initial value of `role`. Did you mean to reference it inside a derived instead? https://svelte.dev/e/state_referenced_locally (svelte) const sheetSwap = () => role === "dialog" || lastRole === "dialog"; let sheetish = $state(role === "dialog"); let sheetTimer = 0; /home/agent/wt/tree-lines-default/apps/mockup/src/components/Inspector.svelte:173:5 Warn: Non-interactive element `<div>` should not be assigned mouse or keyboard event listeners https://svelte.dev/e/a11y_no_noninteractive_element_interactions (svelte) <!-- svelte-ignore a11y_no_noninteractive_tabindex --> <div class="pager" bind:this={pager} {onscroll} onkeydown={pagerKeys} tabindex="0" role="group" aria-label="Style pages"> <div class="pane" role="group" aria-label="Page" inert={pageNow !== "page"}> <section> <h3 class="section-label"> Look <button class="ib reset" data-icon-only use:tip={{ label: "Reset" }} onclick={() => setStyle(noteId, { layout: "page", wide: false })}> <Icon name="reset" size={13} /> </button> </h3> <Selector label="Look" options={layoutOptions} value={style.layout} onchange={(layout) => setStyle(noteId, { layout })}> {#snippet optionIcon(o)}<Icon name={o.value} size={14} />{/snippet} </Selector> <label class="toggle"> <span>Wide page</span> <SquishSwitch size="sm" checked={style.wide} onchange={(on) => setStyle(noteId, { wide: on })} /> </label> </section> <section> <h3 class="section-label"> Page <button class="ib reset" data-icon-only use:tip={{ label: "Reset" }} onclick={() => setStyle(noteId, { opacity: 1, blur: 18 })}> <Icon name="reset" size={13} /> </button> </h3> <label class="slider"> <span class="lbl">Opacity</span> <input type="range" min="0" max="100" step="1" value={Math.round(style.opacity * 100)} oninput={(e) => setStyle(noteId, { opacity: Number(e.currentTarget.value) / 100 })} aria-valuetext="{Math.round(style.opacity * 100)} percent" /> <span class="val tabular">{Math.round(style.opacity * 100)}%</span> </label> <label class="slider" class:off={style.opacity >= 1}> <span class="lbl">Blur</span> <input type="range" min="0" max="40" step="1" value={style.blur} disabled={style.opacity >= 1} oninput={(e) => setStyle(noteId, { blur: Number(e.currentTarget.value) })} aria-valuetext="{style.blur} pixels" /> <span class="val tabular">{style.opacity >= 1 ? "Solid" : `${style.blur}px`}</span> </label> </section> <section> <h3 class="section-label">Font</h3> <Selector label="Font" class="fonts" options={FONTS.map(([id, , label]) => ({ value: id, label }))} value={style.font} onchange={(font) => setStyle(noteId, { font })} > {#snippet optionContent(o)} {@const f = FONTS.find(([id]) => id === o.value)!} <span class="glyph" style="font-family: {f[3]}; {f[0] === 'rounded' ? 'font-variation-settings: \"ROND\" 100' : ''}">{f[1]}</span> <span class="name">{f[2]}</span> {/snippet} </Selector> </section> </div> <div class="pane" role="group" aria-label="Backdrop" inert={pageNow !== "backdrop"}> <section> <div class="backdrops"> {#each [["sky", "Sky"], ["photo", "Photo"], ["plain", "Plain"]] as [id, label] (id)} <button class="bd press" data-kind={id} aria-pressed={v.backdrop === id && chosen === null} onclick={() => ((chosen = null), setPref("backdrop", id))}> <span class="thumb"></span><span class="name">{label}</span> </button> {/each} </div> <div class="tools"> <label class="search"> <Icon name="search" size={14} /> <input type="search" placeholder="Search" aria-label="Search Unsplash photos" bind:value={query} /> </label> <button class="ib sq" data-icon-only use:tip={{ label: "Shuffle" }} aria-label="Shuffle photos"><Icon name="shuffle" size={15} /></button> <button class="src press"><Icon name="upload" size={15} />Upload</button> </div> <!-- A real grid: 2 columns on a phone, 3 wider; a tile's height comes from its width. --> <div class="grid" role="group" aria-label="Photos"> {#each PHOTOS.filter((p) => p[1].toLowerCase().includes(query.trim().toLowerCase())) as [color, alt] , i (alt)} <button class="tile press" style="background: linear-gradient(135deg, {color}, color-mix(in oklab, {color} 40%, white))" aria-pressed={chosen === i} aria-label={alt} onclick={() => ((chosen = i), setPref("backdrop", "photo"))}></button> {/each} </div> <p class="credit"> {#if chosen !== null}Photo by <a href="#credit">{PHOTOS[chosen]![2]}</a> on <a href="#unsplash">Unsplash</a>{/if} </p> </section> </div> </div> {/if} /home/agent/wt/tree-lines-default/apps/mockup/src/components/Inspector.svelte:363:3 Warn: Unused CSS selector "[aria-disabled="true"]" https://svelte.dev/e/css_unused_selector (svelte) } [aria-disabled="true"] { opacity: 0.45; /home/agent/wt/tree-lines-default/apps/mockup/src/components/Inspector.svelte:422:3 Warn: Unused CSS selector ".sources" https://svelte.dev/e/css_unused_selector (svelte) } .sources { display: flex; /home/agent/wt/tree-lines-default/apps/mockup/src/components/PropRow.svelte:17:7 Error: 'state' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer. (ts) let state = $state<"idle" | "copied" | "editing" | "locked">("idle"); let draft = $state(""); /home/agent/wt/tree-lines-default/apps/mockup/src/components/PropRow.svelte:17:15 Error: Block-scoped variable '$state' used before its declaration. (ts) let state = $state<"idle" | "copied" | "editing" | "locked">("idle"); let draft = $state(""); /home/agent/wt/tree-lines-default/apps/mockup/src/components/PropRow.svelte:17:15 Error: Untyped function calls may not accept type arguments. (ts) let state = $state<"idle" | "copied" | "editing" | "locked">("idle"); let draft = $state(""); /home/agent/wt/tree-lines-default/apps/mockup/src/components/PropRow.svelte:19:15 Error: Untyped function calls may not accept type arguments. (ts) let draft = $state(""); let input = $state<HTMLInputElement>(); let text = $state<HTMLSpanElement>(); /home/agent/wt/tree-lines-default/apps/mockup/src/components/PropRow.svelte:20:14 Error: Untyped function calls may not accept type arguments. (ts) let input = $state<HTMLInputElement>(); let text = $state<HTMLSpanElement>(); let timer = 0; /home/agent/wt/tree-lines-default/apps/mockup/src/components/BottomBar.svelte:182:3 Error: Object literal may only specify known properties, and '"scrim"' does not exist in type '$$ComponentProps'. (ts) {dragY} scrim={isSheet ? close : null} > /home/agent/wt/tree-lines-default/apps/mockup/src/components/BottomBar.svelte:186:20 Error: Object literal may only specify known properties, and '"title"' does not exist in type '$$ComponentProps'. (ts) {#if isSheet && noteId} <SheetBody title={TITLES[k]} wide={k === "sheet-info"} {phone} onclose={close} ondrag={drag}> {#if k === "style" || k === "sheet-style"} ==================================== svelte-check found 7 errors and 6 warnings in 5 files ``` Playwright: tree and preferences, chromium-1440, webkit-390, prefs-chromium, prefs-webkit, --workers=1 (exit 0) ```text copied 7 font files to public/fonts (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 7:49:24 AM [vite-plugin-svelte] src/App.svelte:185:4 Unused CSS selector ".toast" https://svelte.dev/e/css_unused_selector 183: } 184: @media (prefers-reduced-motion: no-preference) { 185: .toast { ^ 186: animation: toast-in 240ms var(--ease-out) backwards; 187: } 7:49:25 AM [vite-plugin-svelte] src/components/Inspector.svelte:19:7 This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 17: const isTitle = $derived(current === "h1"); 18: const why = (_t: BlockType) => undefined as string | undefined; 19: void noteId; ^ 20: 21: function apply(type: BlockType) { 7:49:25 AM [vite-plugin-svelte] src/components/Settings.svelte:598:2 Unused CSS selector ".seg.wide button" https://svelte.dev/e/css_unused_selector 596: text-underline-offset: 2px; 597: } 598: .seg.wide button { ^ 599: flex: 1; 600: } 7:49:25 AM [vite-plugin-svelte] src/components/Settings.svelte:601:2 Unused CSS selector ".phone .seg.wide button" https://svelte.dev/e/css_unused_selector 599: flex: 1; 600: } 601: .phone .seg.wide button { ^ 602: padding: 0 6px; 603: font-size: calc(12.5 * var(--type-px)); 7:49:25 AM [vite-plugin-svelte] src/components/Settings.svelte:751:2 Unused CSS selector ".toggle input" https://svelte.dev/e/css_unused_selector 749: font-weight: 400; 750: } 751: .toggle input { ^ 752: appearance: none; 753: flex: none; 7:49:25 AM [vite-plugin-svelte] src/components/Settings.svelte:761:2 Unused CSS selector ".toggle input::after" https://svelte.dev/e/css_unused_selector 759: transition: background-color 150ms var(--ease-out); 760: } 761: .toggle input::after { ^ 762: content: ""; 763: position: absolute; 7:49:25 AM [vite-plugin-svelte] src/components/Settings.svelte:773:2 Unused CSS selector ".toggle input:checked" https://svelte.dev/e/css_unused_selector 771: transition: translate 200ms var(--ease-out); 772: } 773: .toggle input:checked { ^ 774: background: var(--accent); 775: } 7:49:25 AM [vite-plugin-svelte] src/components/Settings.svelte:776:2 Unused CSS selector ".toggle input:checked::after" https://svelte.dev/e/css_unused_selector 774: background: var(--accent); 775: } 776: .toggle input:checked::after { ^ 777: translate: 16px 0; 778: } 7:49:25 AM [vite-plugin-svelte] src/components/InsertSheet.svelte:42:7 This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 40: openSheet(null); 41: } 42: void noteId; ^ 43: 44: function key(e: KeyboardEvent) { 7:49:25 AM [vite-plugin-svelte] src/components/InfoSheet.svelte:383:2 Unused CSS selector ".avatar.agent" https://svelte.dev/e/css_unused_selector 381: color: var(--accent); 382: } 383: .avatar.agent { ^ 384: background: var(--hover); 385: color: var(--ink-2); 7:49:25 AM [vite-plugin-svelte] /home/agent/wt/tree-lines-default/packages/ui/src/primitives/toast/ToastCapsule.svelte:19:53 This reference only captures the initial value of `id`. Did you mean to reference it inside a derived instead? https://svelte.dev/e/state_referenced_locally 17: 18: // Keep the last thing it said while it leaves (the view is gone by then). 19: let last = $state<ToastView | undefined>(views.get(id)); ^ 20: $effect(() => { 21: const v = views.get(id); 7:49:25 AM [vite-plugin-svelte] src/components/NoteList.svelte:123:14 This reference only captures the initial value of `phone`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 121: // A phone in a browser tab scrolls the document, not this box (PhoneStack, #445): where the rows are 122: // is then the window's scroll less where this box starts, and the view is the window. 123: const doc = phone && phoneDocScroll(); ^ 124: $effect(() => { 125: const el = scroll; 7:49:26 AM [vite-plugin-svelte] /home/agent/wt/tree-lines-default/packages/ui/src/components/Morph.svelte:81:17 This reference only captures the initial value of `role`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 79: // The bar becoming a sheet (and back) is one glass shape whose edges ride the sheet spring (IN4, IN8: 80: // stiffness 400, damping 36, no bounce). `lastRole` is still the old one while the new layer is made. 81: let lastRole = role; ^ 82: const sheetSwap = () => role === "dialog" || lastRole === "dialog"; 83: let sheetish = $state(role === "dialog"); 7:49:26 AM [vite-plugin-svelte] /home/agent/wt/tree-lines-default/packages/ui/src/components/Morph.svelte:83:24 This reference only captures the initial value of `role`. Did you mean to reference it inside a derived instead? https://svelte.dev/e/state_referenced_locally 81: let lastRole = role; 82: const sheetSwap = () => role === "dialog" || lastRole === "dialog"; 83: let sheetish = $state(role === "dialog"); ^ 84: let sheetTimer = 0; 85: $effect(() => { [plugin builtin:vite-reporter] (!) Some chunks are larger than 500 kB after minification. Consider: - Using dynamic import() to code-split the application - Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit. [WebServer] (node:505082) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (node:505103) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. [WebServer] (node:505178) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. [WebServer] (node:505257) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. [WebServer] (node:505319) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. [WebServer] (node:505348) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (node:505369) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. [WebServer] (node:505413) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. Running 47 tests using 1 worker (node:505442) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. (Use `node --trace-warnings ...` to show where the warning was created) ✓ 1 [chromium-1440] › e2e/tree.spec.ts:43:1 › nested lists get ├ and └ branches, and the file stays as typed (764ms) ✓ 2 [chromium-1440] › e2e/tree.spec.ts:103:3 › dotted: a guide joins consecutive siblings and stops at the last one (#618) (621ms) ✓ 3 [chromium-1440] › e2e/tree.spec.ts:103:3 › connected: a guide joins consecutive siblings and stops at the last one (#618) (796ms) ✓ 4 [chromium-1440] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 320px (#618) (988ms) ✓ 5 [chromium-1440] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 390px (#618) (818ms) ✓ 6 [chromium-1440] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 440px (#618) (829ms) ✓ 7 [chromium-1440] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 1440px (#618) (617ms) ✓ 8 [chromium-1440] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 320px (#618) (688ms) ✓ 9 [chromium-1440] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 390px (#618) (756ms) ✓ 10 [chromium-1440] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 440px (#618) (669ms) ✓ 11 [chromium-1440] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 1440px (#618) (656ms) ✓ 12 [chromium-1440] › e2e/tree.spec.ts:241:1 › the sibling guide stops where the kind of block changes (#618) (538ms) ✓ 13 [chromium-1440] › e2e/tree.spec.ts:266:1 › typing in a nested item never moves the tree or the text (941ms) ✓ 14 [chromium-1440] › e2e/tree.spec.ts:279:1 › source mode shows the file as it is, with no tree lines (754ms) ✓ 15 [chromium-1440] › e2e/tree.spec.ts:299:1 › the branch of the item with the caret lights up as you arrow, with no animation and no shift (1.6s) ✓ 16 [chromium-1440] › e2e/tree.spec.ts:333:1 › the pointer lights the branch under it; a key hands the light back to the caret (1.7s) ✓ 17 [chromium-1440] › e2e/tree.spec.ts:353:1 › connected is the default look (the mockup's, #693); a note (or ?lines=) can choose dots (1.0s) ✓ 18 [chromium-1440] › e2e/tree.spec.ts:377:1 › Style sheet: a note chooses its own tree lines, saved with the note and kept on reload (3.9s) (node:505821) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. (Use `node --trace-warnings ...` to show where the warning was created) ✓ 19 [webkit-390] › e2e/tree.spec.ts:43:1 › nested lists get ├ and └ branches, and the file stays as typed (1.3s) ✓ 20 [webkit-390] › e2e/tree.spec.ts:103:3 › dotted: a guide joins consecutive siblings and stops at the last one (#618) (1.6s) ✓ 21 [webkit-390] › e2e/tree.spec.ts:103:3 › connected: a guide joins consecutive siblings and stops at the last one (#618) (1.7s) ✓ 22 [webkit-390] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 320px (#618) (1.8s) ✓ 23 [webkit-390] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 390px (#618) (1.5s) ✓ 24 [webkit-390] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 440px (#618) (1.5s) ✓ 25 [webkit-390] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 1440px (#618) (1.1s) ✓ 26 [webkit-390] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 320px (#618) (1.3s) ✓ 27 [webkit-390] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 390px (#618) (1.3s) ✓ 28 [webkit-390] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 440px (#618) (1.6s) ✓ 29 [webkit-390] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 1440px (#618) (1.2s) ✓ 30 [webkit-390] › e2e/tree.spec.ts:241:1 › the sibling guide stops where the kind of block changes (#618) (1.5s) ✓ 31 [webkit-390] › e2e/tree.spec.ts:266:1 › typing in a nested item never moves the tree or the text (2.0s) ✓ 32 [webkit-390] › e2e/tree.spec.ts:279:1 › source mode shows the file as it is, with no tree lines (1.1s) ✓ 33 [webkit-390] › e2e/tree.spec.ts:299:1 › the branch of the item with the caret lights up as you arrow, with no animation and no shift (2.4s) - 34 [webkit-390] › e2e/tree.spec.ts:333:1 › the pointer lights the branch under it; a key hands the light back to the caret ✓ 35 [webkit-390] › e2e/tree.spec.ts:353:1 › connected is the default look (the mockup's, #693); a note (or ?lines=) can choose dots (2.9s) ✓ 36 [webkit-390] › e2e/tree.spec.ts:377:1 › Style sheet: a note chooses its own tree lines, saved with the note and kept on reload (6.8s) (node:507125) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. (Use `node --trace-warnings ...` to show where the warning was created) ✓ 37 [prefs-chromium] › e2e/prefs-offline.spec.ts:107:3 › settings offline › a change made offline shows at once, survives a reload with no flash, and is sent when back (3.0s) ✓ 38 [prefs-chromium] › e2e/prefs-offline.spec.ts:139:3 › settings offline › a retry after a dropped connection carries the same idempotency key (1.3s) ✓ 39 [prefs-chromium] › e2e/prefs-offline.spec.ts:163:3 › settings offline › a newer value from another device wins, and the screen updates in place (845ms) ✓ 40 [prefs-chromium] › e2e/prefs.spec.ts:34:1 › a change on one device shows on the other and survives a reload, with no flash (3.0s) ✓ 41 [prefs-chromium] › e2e/prefs.spec.ts:86:1 › the Photos from Unsplash switch saves, survives a reload and reaches other devices (3.3s) ✓ 42 [prefs-chromium] › e2e/prefs.spec.ts:110:1 › Settings, Editor, Tree lines: Connected is the default, Dotted is kept for notes without their own (1.3s) ✓ 43 [prefs-chromium] › e2e/prefs.spec.ts:131:1 › a bad setting is refused in plain words (5ms) (node:507344) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. (Use `node --trace-warnings ...` to show where the warning was created) - 44 [prefs-webkit] › e2e/prefs.spec.ts:34:1 › a change on one device shows on the other and survives a reload, with no flash - 45 [prefs-webkit] › e2e/prefs.spec.ts:86:1 › the Photos from Unsplash switch saves, survives a reload and reaches other devices - 46 [prefs-webkit] › e2e/prefs.spec.ts:110:1 › Settings, Editor, Tree lines: Connected is the default, Dotted is kept for notes without their own - 47 [prefs-webkit] › e2e/prefs.spec.ts:131:1 › a bad setting is refused in plain words 5 skipped 42 passed (1.2m) ``` Playwright: preferences in WebKit with the existing Chromium-only skip removed in an external temporary copy, --workers=1 (exit 0) ```text copied 7 font files to public/fonts (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 7:51:59 AM [vite-plugin-svelte] src/App.svelte:185:4 Unused CSS selector ".toast" https://svelte.dev/e/css_unused_selector 183: } 184: @media (prefers-reduced-motion: no-preference) { 185: .toast { ^ 186: animation: toast-in 240ms var(--ease-out) backwards; 187: } 7:51:59 AM [vite-plugin-svelte] src/components/Settings.svelte:598:2 Unused CSS selector ".seg.wide button" https://svelte.dev/e/css_unused_selector 596: text-underline-offset: 2px; 597: } 598: .seg.wide button { ^ 599: flex: 1; 600: } 7:51:59 AM [vite-plugin-svelte] src/components/Settings.svelte:601:2 Unused CSS selector ".phone .seg.wide button" https://svelte.dev/e/css_unused_selector 599: flex: 1; 600: } 601: .phone .seg.wide button { ^ 602: padding: 0 6px; 603: font-size: calc(12.5 * var(--type-px)); 7:51:59 AM [vite-plugin-svelte] src/components/Settings.svelte:751:2 Unused CSS selector ".toggle input" https://svelte.dev/e/css_unused_selector 749: font-weight: 400; 750: } 751: .toggle input { ^ 752: appearance: none; 753: flex: none; 7:51:59 AM [vite-plugin-svelte] src/components/Settings.svelte:761:2 Unused CSS selector ".toggle input::after" https://svelte.dev/e/css_unused_selector 759: transition: background-color 150ms var(--ease-out); 760: } 761: .toggle input::after { ^ 762: content: ""; 763: position: absolute; 7:51:59 AM [vite-plugin-svelte] src/components/Settings.svelte:773:2 Unused CSS selector ".toggle input:checked" https://svelte.dev/e/css_unused_selector 771: transition: translate 200ms var(--ease-out); 772: } 773: .toggle input:checked { ^ 774: background: var(--accent); 775: } 7:51:59 AM [vite-plugin-svelte] src/components/Settings.svelte:776:2 Unused CSS selector ".toggle input:checked::after" https://svelte.dev/e/css_unused_selector 774: background: var(--accent); 775: } 776: .toggle input:checked::after { ^ 777: translate: 16px 0; 778: } 7:51:59 AM [vite-plugin-svelte] src/components/Inspector.svelte:19:7 This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 17: const isTitle = $derived(current === "h1"); 18: const why = (_t: BlockType) => undefined as string | undefined; 19: void noteId; ^ 20: 21: function apply(type: BlockType) { 7:51:59 AM [vite-plugin-svelte] src/components/InsertSheet.svelte:42:7 This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 40: openSheet(null); 41: } 42: void noteId; ^ 43: 44: function key(e: KeyboardEvent) { 7:51:59 AM [vite-plugin-svelte] src/components/InfoSheet.svelte:383:2 Unused CSS selector ".avatar.agent" https://svelte.dev/e/css_unused_selector 381: color: var(--accent); 382: } 383: .avatar.agent { ^ 384: background: var(--hover); 385: color: var(--ink-2); 7:51:59 AM [vite-plugin-svelte] /home/agent/wt/tree-lines-default/packages/ui/src/primitives/toast/ToastCapsule.svelte:19:53 This reference only captures the initial value of `id`. Did you mean to reference it inside a derived instead? https://svelte.dev/e/state_referenced_locally 17: 18: // Keep the last thing it said while it leaves (the view is gone by then). 19: let last = $state<ToastView | undefined>(views.get(id)); ^ 20: $effect(() => { 21: const v = views.get(id); 7:52:00 AM [vite-plugin-svelte] src/components/NoteList.svelte:123:14 This reference only captures the initial value of `phone`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 121: // A phone in a browser tab scrolls the document, not this box (PhoneStack, #445): where the rows are 122: // is then the window's scroll less where this box starts, and the view is the window. 123: const doc = phone && phoneDocScroll(); ^ 124: $effect(() => { 125: const el = scroll; 7:52:00 AM [vite-plugin-svelte] /home/agent/wt/tree-lines-default/packages/ui/src/components/Morph.svelte:81:17 This reference only captures the initial value of `role`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 79: // The bar becoming a sheet (and back) is one glass shape whose edges ride the sheet spring (IN4, IN8: 80: // stiffness 400, damping 36, no bounce). `lastRole` is still the old one while the new layer is made. 81: let lastRole = role; ^ 82: const sheetSwap = () => role === "dialog" || lastRole === "dialog"; 83: let sheetish = $state(role === "dialog"); 7:52:00 AM [vite-plugin-svelte] /home/agent/wt/tree-lines-default/packages/ui/src/components/Morph.svelte:83:24 This reference only captures the initial value of `role`. Did you mean to reference it inside a derived instead? https://svelte.dev/e/state_referenced_locally 81: let lastRole = role; 82: const sheetSwap = () => role === "dialog" || lastRole === "dialog"; 83: let sheetish = $state(role === "dialog"); ^ 84: let sheetTimer = 0; 85: $effect(() => { [plugin builtin:vite-reporter] (!) Some chunks are larger than 500 kB after minification. Consider: - Using dynamic import() to code-split the application - Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit. [WebServer] (node:507748) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (node:507769) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. [WebServer] (node:507844) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. [WebServer] (node:507906) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. [WebServer] (node:507970) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. [WebServer] (node:508000) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (node:508022) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. [WebServer] (node:508065) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. Running 4 tests using 1 worker (node:508094) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. (Use `node --trace-warnings ...` to show where the warning was created) ✓ 1 [prefs-webkit-390] › ../../../../look-trim-evidence/webkit-prefs/prefs.spec.ts:33:1 › a change on one device shows on the other and survives a reload, with no flash (6.9s) ✓ 2 [prefs-webkit-390] › ../../../../look-trim-evidence/webkit-prefs/prefs.spec.ts:85:1 › the Photos from Unsplash switch saves, survives a reload and reaches other devices (5.8s) ✓ 3 [prefs-webkit-390] › ../../../../look-trim-evidence/webkit-prefs/prefs.spec.ts:109:1 › Settings, Editor, Tree lines: Connected is the default, Dotted is kept for notes without their own (3.3s) ✓ 4 [prefs-webkit-390] › ../../../../look-trim-evidence/webkit-prefs/prefs.spec.ts:130:1 › a bad setting is refused in plain words (8ms) 4 passed (23.3s) ``` Mockup: browser checks at 1440 and 390, --workers=1 (exit 0) ```text [WebServer] (node:508906) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) Running 2 tests using 1 worker (node:508933) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. (Use `node --trace-warnings ...` to show where the warning was created) ✓ 1 ../../../../look-trim-evidence/mockup-look.spec.ts:3:2 › mockup defaults to v2 at 1440 and keeps the v1 comparison (2.1s) ✓ 2 ../../../../look-trim-evidence/mockup-look.spec.ts:3:2 › mockup defaults to v2 at 390 and keeps the v1 comparison (1.1s) 2 passed (5.0s) ```
Author
Owner

Starting look-trim2 on new branch port/look-v2-mockup from origin/dev at 01505c2a. I will keep the web dotted default and its existing tests unchanged, carry only the mockup Look v2 default and v1 comparison from #698, inspect the actual mockup note editor for dotted guides with faded ends, run the requested gates, and attach desktop and phone screenshots. This PR will replace #698 and #695 without closing or merging them.

Starting look-trim2 on new branch `port/look-v2-mockup` from origin/dev at `01505c2a`. I will keep the web dotted default and its existing tests unchanged, carry only the mockup Look v2 default and v1 comparison from #698, inspect the actual mockup note editor for dotted guides with faded ends, run the requested gates, and attach desktop and phone screenshots. This PR will replace #698 and #695 without closing or merging them.
Author
Owner

Finding: the actual mockup note editor was drawing connected guides. apps/mockup/src/components/Editor.svelte uses shapesOf, and apps/mockup/src/lib/blockview.ts delegates to the shared treeShape. The shared packages/editor/src/lists/shape.ts already provides 6px fade gradients at both marker ends and the dot mask. However, the editor article had no data-lines, so packages/ui/src/styles/tree.css never enabled that mask. I added data-lines="dotted" to the note article and used the shared guide padding for its blocks and checkbox position. No format or drawing logic is duplicated.

The Look v2 default and ?look=v1 comparison are carried from #698 only under apps/mockup. The web variants and both requested test files remain byte-for-byte equal to origin/dev.

Gate detail: the existing Playwright config excludes prefs.spec.ts from the named app projects and runs it in prefs-chromium/prefs-webkit. Its own unchanged skip permits only Chromium at 1440. I will run the requested named projects plus the existing prefs projects, reporting skips explicitly rather than changing the tests.

Finding: the actual mockup note editor was drawing connected guides. `apps/mockup/src/components/Editor.svelte` uses `shapesOf`, and `apps/mockup/src/lib/blockview.ts` delegates to the shared `treeShape`. The shared `packages/editor/src/lists/shape.ts` already provides 6px fade gradients at both marker ends and the dot mask. However, the editor article had no `data-lines`, so `packages/ui/src/styles/tree.css` never enabled that mask. I added `data-lines="dotted"` to the note article and used the shared guide padding for its blocks and checkbox position. No format or drawing logic is duplicated. The Look v2 default and `?look=v1` comparison are carried from #698 only under `apps/mockup`. The web variants and both requested test files remain byte-for-byte equal to origin/dev. Gate detail: the existing Playwright config excludes prefs.spec.ts from the named app projects and runs it in prefs-chromium/prefs-webkit. Its own unchanged skip permits only Chromium at 1440. I will run the requested named projects plus the existing prefs projects, reporting skips explicitly rather than changing the tests.
Author
Owner

Visual finding: both actual note editors now render the same dotted guides and faded ends at 1440 and 390. No lines query override was used. Computed styles in both show the same radial dot mask, 1.94196px list padding, transparent-to-ink 6px start gradient and ink-to-transparent 6px end gradient. Screenshots use the same Trip list, with 3x pixel density detail crops so individual dots and fading are visible. The mockup also passed switching from ?look=v1 back to the default v2 at both widths. No page or console errors, blank screens, or framework overlays were seen.

The extra WebKit 390 check passed: Dotted starts selected, Connected saves, and Connected stays selected after reload. This supplements the unchanged prefs file, whose own guard skips WebKit.

look-trim2-mockup-1440.png

look-trim2-mockup-1440.png

look-trim2-mockup-1440-detail.png

look-trim2-mockup-1440-detail.png

look-trim2-mockup-390.png

look-trim2-mockup-390.png

look-trim2-mockup-390-detail.png

look-trim2-mockup-390-detail.png

look-trim2-web-1440.png

look-trim2-web-1440.png

look-trim2-web-1440-detail.png

look-trim2-web-1440-detail.png

look-trim2-web-390.png

look-trim2-web-390.png

look-trim2-web-390-detail.png

look-trim2-web-390-detail.png

Visual finding: both actual note editors now render the same dotted guides and faded ends at 1440 and 390. No `lines` query override was used. Computed styles in both show the same radial dot mask, 1.94196px list padding, transparent-to-ink 6px start gradient and ink-to-transparent 6px end gradient. Screenshots use the same Trip list, with 3x pixel density detail crops so individual dots and fading are visible. The mockup also passed switching from `?look=v1` back to the default v2 at both widths. No page or console errors, blank screens, or framework overlays were seen. The extra WebKit 390 check passed: Dotted starts selected, Connected saves, and Connected stays selected after reload. This supplements the unchanged prefs file, whose own guard skips WebKit. look-trim2-mockup-1440.png ![look-trim2-mockup-1440.png](https://git.kayg.org/attachments/d7a1c619-db1b-4d9a-b16d-def10bccdc3f) look-trim2-mockup-1440-detail.png ![look-trim2-mockup-1440-detail.png](https://git.kayg.org/attachments/6b671592-7bb5-4318-a3a6-969bd1660c6c) look-trim2-mockup-390.png ![look-trim2-mockup-390.png](https://git.kayg.org/attachments/28255343-8e8e-4b8f-b122-589da73c71e5) look-trim2-mockup-390-detail.png ![look-trim2-mockup-390-detail.png](https://git.kayg.org/attachments/830bb6a0-52a7-47dc-ae48-76a1b461952f) look-trim2-web-1440.png ![look-trim2-web-1440.png](https://git.kayg.org/attachments/cc4aa519-80ba-440a-aa3f-00e426c2410e) look-trim2-web-1440-detail.png ![look-trim2-web-1440-detail.png](https://git.kayg.org/attachments/3293f845-802f-49f6-af75-034f40fe44aa) look-trim2-web-390.png ![look-trim2-web-390.png](https://git.kayg.org/attachments/48b3b256-7c5e-4dc9-a3fa-0b820aa868fe) look-trim2-web-390-detail.png ![look-trim2-web-390-detail.png](https://git.kayg.org/attachments/8f0c776c-0924-40cc-bd88-8b5f803c4ebe)
Author
Owner

Finished look-trim2: #699, branch port/look-v2-mockup, head 19933eb1ccec3022af64957b693b5ad7f129dc30, base 01505c2a03452d3d49d3984c13887d8d8ec77a27.

The PR replaces #698 and #695. Both remain open. Nothing was merged or deployed, and no issue was closed.

Only seven mockup product files changed. The web app and its tree and prefs tests are identical to origin/dev. Look v2 is the mockup default and ?look=v1 still works. The actual mockup note editor now enables the shared dotted mask and faded ends; its block padding and checkbox position follow the shared guide padding. No format rules or shape logic were duplicated.

Screenshots of the same list at 1440 and 390 in each app, with enlarged details: #693 (comment)

Requested gates, quoted verbatim:

  • svelte-check for apps/web.
  • Playwright tree.spec.ts and prefs.spec.ts on chromium-1440 and webkit-390. They must pass unchanged.
  • The bundle gate perf/web.sh --bundle-only --gate. It runs LOCALLY through build-slot.sh and needs no VM.

All commands exited 0. Every local heavy command ran through build-slot.sh, one slot at a time. Playwright used --workers=1. Tests used the existing /home/agent/target/tasks-create-fix7/debug/calternal binary with fresh temporary Homes. No perf or production VM was accessed.

Playwright caveat: dev's existing app projects exclude prefs.spec.ts, which runs in the isolated prefs projects. The unchanged prefs file skips all WebKit tests itself. I ran those projects too; the existing pointer skip plus four prefs skips produced 42 passed and 5 skipped. I did not remove those guards or alter tests to claim a full WebKit prefs pass. A separate targeted WebKit 390 check passed for the requested default and saved override behavior. The visual checks also confirmed v1/v2 switching, real note content, no overlays, and no console or page errors at both widths (3 passed).

The following blocks are the captured gate output verbatim.

Web svelte-check

Command: source /etc/calternal/env.sh; /usr/local/bin/build-slot.sh bash -c 'cd apps/web && bun run check'

$ node scripts/action-types.mjs --check && svelte-check --tsconfig ./tsconfig.json
Loading svelte-check in workspace: /tmp/calternal-look-trim2/apps/web
Getting Svelte diagnostics...

/tmp/calternal-look-trim2/apps/web/../../packages/ui/src/primitives/toast/ToastCapsule.svelte:19:54
Warn: This reference only captures the initial value of `id`. Did you mean to reference it inside a derived instead?
https://svelte.dev/e/state_referenced_locally (svelte)
  // Keep the last thing it said while it leaves (the view is gone by then).
  let last = $state<ToastView | undefined>(views.get(id));
  $effect(() => {

/tmp/calternal-look-trim2/apps/web/src/components/NoteList.svelte:123:15
Warn: This reference only captures the initial value of `phone`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally (svelte)
  // is then the window's scroll less where this box starts, and the view is the window.
  const doc = phone && phoneDocScroll();
  $effect(() => {

/tmp/calternal-look-trim2/apps/web/../../packages/ui/src/components/Morph.svelte:81:18
Warn: This reference only captures the initial value of `role`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally (svelte)
  // stiffness 400, damping 36, no bounce). `lastRole` is still the old one while the new layer is made.
  let lastRole = role;
  const sheetSwap = () => role === "dialog" || lastRole === "dialog";

/tmp/calternal-look-trim2/apps/web/../../packages/ui/src/components/Morph.svelte:83:25
Warn: This reference only captures the initial value of `role`. Did you mean to reference it inside a derived instead?
https://svelte.dev/e/state_referenced_locally (svelte)
  const sheetSwap = () => role === "dialog" || lastRole === "dialog";
  let sheetish = $state(role === "dialog");
  let sheetTimer = 0;

/tmp/calternal-look-trim2/apps/web/src/components/Settings.svelte:598:3
Warn: Unused CSS selector ".seg.wide button"
https://svelte.dev/e/css_unused_selector (svelte)
  }
  .seg.wide button {
    flex: 1;

/tmp/calternal-look-trim2/apps/web/src/components/Settings.svelte:601:3
Warn: Unused CSS selector ".phone .seg.wide button"
https://svelte.dev/e/css_unused_selector (svelte)
  }
  .phone .seg.wide button {
    padding: 0 6px;

/tmp/calternal-look-trim2/apps/web/src/components/Settings.svelte:751:3
Warn: Unused CSS selector ".toggle input"
https://svelte.dev/e/css_unused_selector (svelte)
  }
  .toggle input {
    appearance: none;

/tmp/calternal-look-trim2/apps/web/src/components/Settings.svelte:761:3
Warn: Unused CSS selector ".toggle input::after"
https://svelte.dev/e/css_unused_selector (svelte)
  }
  .toggle input::after {
    content: "";

/tmp/calternal-look-trim2/apps/web/src/components/Settings.svelte:773:3
Warn: Unused CSS selector ".toggle input:checked"
https://svelte.dev/e/css_unused_selector (svelte)
  }
  .toggle input:checked {
    background: var(--accent);

/tmp/calternal-look-trim2/apps/web/src/components/Settings.svelte:776:3
Warn: Unused CSS selector ".toggle input:checked::after"
https://svelte.dev/e/css_unused_selector (svelte)
  }
  .toggle input:checked::after {
    translate: 16px 0;

/tmp/calternal-look-trim2/apps/web/src/components/Inspector.svelte:19:8
Warn: This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally (svelte)
  const why = (_t: BlockType) => undefined as string | undefined;
  void noteId;

/tmp/calternal-look-trim2/apps/web/src/components/InsertSheet.svelte:42:8
Warn: This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally (svelte)
  }
  void noteId;

/tmp/calternal-look-trim2/apps/web/src/components/InfoSheet.svelte:383:3
Warn: Unused CSS selector ".avatar.agent"
https://svelte.dev/e/css_unused_selector (svelte)
  }
  .avatar.agent {
    background: var(--hover);

/tmp/calternal-look-trim2/apps/web/src/App.svelte:185:5
Warn: Unused CSS selector ".toast"
https://svelte.dev/e/css_unused_selector (svelte)
  @media (prefers-reduced-motion: no-preference) {
    .toast {
      animation: toast-in 240ms var(--ease-out) backwards;

====================================
svelte-check found 0 errors and 14 warnings in 8 files

Unchanged Playwright tests

Command: source /etc/calternal/env.sh; CALTERNAL_BIN=/home/agent/target/tasks-create-fix7/debug/calternal E2E_DIST=/tmp/look-trim2-evidence/bundle-work/dist /usr/local/bin/build-slot.sh bash -c 'cd apps/web && bunx playwright test tree.spec.ts prefs.spec.ts --project=chromium-1440 --project=webkit-390 --project=prefs-chromium --project=prefs-webkit --workers=1 --output=/tmp/look-trim2-evidence/web-results'

[WebServer] (node:510300) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (node:510321) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
[WebServer] (node:510398) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
[WebServer] (node:510460) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
[WebServer] (node:510522) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
[WebServer] (node:510552) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (node:510574) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
[WebServer] (node:510617) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
[WebServer]   - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
[WebServer]   - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
[WebServer]   - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
[WebServer]   - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
[WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.

Running 47 tests using 1 worker

(node:510646) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
  ✓   1 [chromium-1440] › e2e/tree.spec.ts:43:1 › nested lists get ├ and └ branches, and the file stays as typed (645ms)
  ✓   2 [chromium-1440] › e2e/tree.spec.ts:103:3 › dotted: a guide joins consecutive siblings and stops at the last one (#618) (532ms)
  ✓   3 [chromium-1440] › e2e/tree.spec.ts:103:3 › connected: a guide joins consecutive siblings and stops at the last one (#618) (718ms)
  ✓   4 [chromium-1440] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 320px (#618) (669ms)
  ✓   5 [chromium-1440] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 390px (#618) (609ms)
  ✓   6 [chromium-1440] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 440px (#618) (748ms)
  ✓   7 [chromium-1440] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 1440px (#618) (624ms)
  ✓   8 [chromium-1440] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 320px (#618) (700ms)
  ✓   9 [chromium-1440] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 390px (#618) (708ms)
  ✓  10 [chromium-1440] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 440px (#618) (640ms)
  ✓  11 [chromium-1440] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 1440px (#618) (600ms)
  ✓  12 [chromium-1440] › e2e/tree.spec.ts:241:1 › the sibling guide stops where the kind of block changes (#618) (696ms)
  ✓  13 [chromium-1440] › e2e/tree.spec.ts:266:1 › typing in a nested item never moves the tree or the text (951ms)
  ✓  14 [chromium-1440] › e2e/tree.spec.ts:279:1 › source mode shows the file as it is, with no tree lines (554ms)
  ✓  15 [chromium-1440] › e2e/tree.spec.ts:299:1 › the branch of the item with the caret lights up as you arrow, with no animation and no shift (1.4s)
  ✓  16 [chromium-1440] › e2e/tree.spec.ts:333:1 › the pointer lights the branch under it; a key hands the light back to the caret (2.1s)
  ✓  17 [chromium-1440] › e2e/tree.spec.ts:353:1 › dotted is the default look; a note (or ?lines=) can choose the connected hairline (968ms)
  ✓  18 [chromium-1440] › e2e/tree.spec.ts:377:1 › Style sheet: a note chooses its own tree lines, saved with the note and kept on reload (3.6s)
(node:510978) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
  ✓  19 [webkit-390] › e2e/tree.spec.ts:43:1 › nested lists get ├ and └ branches, and the file stays as typed (1.4s)
  ✓  20 [webkit-390] › e2e/tree.spec.ts:103:3 › dotted: a guide joins consecutive siblings and stops at the last one (#618) (1.2s)
  ✓  21 [webkit-390] › e2e/tree.spec.ts:103:3 › connected: a guide joins consecutive siblings and stops at the last one (#618) (1.0s)
  ✓  22 [webkit-390] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 320px (#618) (1.2s)
  ✓  23 [webkit-390] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 390px (#618) (1.2s)
  ✓  24 [webkit-390] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 440px (#618) (1.5s)
  ✓  25 [webkit-390] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 1440px (#618) (1.7s)
  ✓  26 [webkit-390] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 320px (#618) (1.4s)
  ✓  27 [webkit-390] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 390px (#618) (1.5s)
  ✓  28 [webkit-390] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 440px (#618) (1.4s)
  ✓  29 [webkit-390] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 1440px (#618) (1.6s)
  ✓  30 [webkit-390] › e2e/tree.spec.ts:241:1 › the sibling guide stops where the kind of block changes (#618) (1.6s)
  ✓  31 [webkit-390] › e2e/tree.spec.ts:266:1 › typing in a nested item never moves the tree or the text (2.1s)
  ✓  32 [webkit-390] › e2e/tree.spec.ts:279:1 › source mode shows the file as it is, with no tree lines (1.1s)
  ✓  33 [webkit-390] › e2e/tree.spec.ts:299:1 › the branch of the item with the caret lights up as you arrow, with no animation and no shift (2.5s)
  -  34 [webkit-390] › e2e/tree.spec.ts:333:1 › the pointer lights the branch under it; a key hands the light back to the caret
  ✓  35 [webkit-390] › e2e/tree.spec.ts:353:1 › dotted is the default look; a note (or ?lines=) can choose the connected hairline (2.4s)
  ✓  36 [webkit-390] › e2e/tree.spec.ts:377:1 › Style sheet: a note chooses its own tree lines, saved with the note and kept on reload (6.9s)
(node:512336) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
  ✓  37 [prefs-chromium] › e2e/prefs-offline.spec.ts:107:3 › settings offline › a change made offline shows at once, survives a reload with no flash, and is sent when back (3.0s)
  ✓  38 [prefs-chromium] › e2e/prefs-offline.spec.ts:139:3 › settings offline › a retry after a dropped connection carries the same idempotency key (1.2s)
  ✓  39 [prefs-chromium] › e2e/prefs-offline.spec.ts:163:3 › settings offline › a newer value from another device wins, and the screen updates in place (925ms)
  ✓  40 [prefs-chromium] › e2e/prefs.spec.ts:34:1 › a change on one device shows on the other and survives a reload, with no flash (2.9s)
  ✓  41 [prefs-chromium] › e2e/prefs.spec.ts:86:1 › the Photos from Unsplash switch saves, survives a reload and reaches other devices (2.0s)
  ✓  42 [prefs-chromium] › e2e/prefs.spec.ts:110:1 › Settings, Editor, Tree lines: Dotted is the default, Connected is kept for notes without their own (1.4s)
  ✓  43 [prefs-chromium] › e2e/prefs.spec.ts:131:1 › a bad setting is refused in plain words (9ms)
(node:512541) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
  -  44 [prefs-webkit] › e2e/prefs.spec.ts:34:1 › a change on one device shows on the other and survives a reload, with no flash
  -  45 [prefs-webkit] › e2e/prefs.spec.ts:86:1 › the Photos from Unsplash switch saves, survives a reload and reaches other devices
  -  46 [prefs-webkit] › e2e/prefs.spec.ts:110:1 › Settings, Editor, Tree lines: Dotted is the default, Connected is kept for notes without their own
  -  47 [prefs-webkit] › e2e/prefs.spec.ts:131:1 › a bad setting is refused in plain words

  5 skipped
  42 passed (1.2m)

Bundle gate

Command: source /etc/calternal/env.sh; /usr/local/bin/build-slot.sh bash -c 'PERF_WORK=/tmp/look-trim2-evidence/bundle-work PERF_OUT=/tmp/look-trim2-evidence/bundle perf/web.sh --bundle-only --gate'

(!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
  - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension
  - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension
  - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension
  - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension
Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
8:01:02 AM [vite-plugin-svelte] src/App.svelte:185:4 Unused CSS selector ".toast"
https://svelte.dev/e/css_unused_selector
183:   }
184:   @media (prefers-reduced-motion: no-preference) {
185:     .toast {
               ^
186:       animation: toast-in 240ms var(--ease-out) backwards;
187:     }
8:01:02 AM [vite-plugin-svelte] /tmp/calternal-look-trim2/packages/ui/src/primitives/toast/ToastCapsule.svelte:19:53 This reference only captures the initial value of `id`. Did you mean to reference it inside a derived instead?
https://svelte.dev/e/state_referenced_locally
17: 
18:   // Keep the last thing it said while it leaves (the view is gone by then).
19:   let last = $state<ToastView | undefined>(views.get(id));
                                                           ^
20:   $effect(() => {
21:     const v = views.get(id);
8:01:02 AM [vite-plugin-svelte] src/components/Settings.svelte:598:2 Unused CSS selector ".seg.wide button"
https://svelte.dev/e/css_unused_selector
596:     text-underline-offset: 2px;
597:   }
598:   .seg.wide button {
                       ^
599:     flex: 1;
600:   }
8:01:02 AM [vite-plugin-svelte] src/components/Settings.svelte:601:2 Unused CSS selector ".phone .seg.wide button"
https://svelte.dev/e/css_unused_selector
599:     flex: 1;
600:   }
601:   .phone .seg.wide button {
                              ^
602:     padding: 0 6px;
603:     font-size: calc(12.5 * var(--type-px));
8:01:02 AM [vite-plugin-svelte] src/components/Settings.svelte:751:2 Unused CSS selector ".toggle input"
https://svelte.dev/e/css_unused_selector
749:     font-weight: 400;
750:   }
751:   .toggle input {
                    ^
752:     appearance: none;
753:     flex: none;
8:01:02 AM [vite-plugin-svelte] src/components/Settings.svelte:761:2 Unused CSS selector ".toggle input::after"
https://svelte.dev/e/css_unused_selector
759:     transition: background-color 150ms var(--ease-out);
760:   }
761:   .toggle input::after {
                           ^
762:     content: "";
763:     position: absolute;
8:01:02 AM [vite-plugin-svelte] src/components/Settings.svelte:773:2 Unused CSS selector ".toggle input:checked"
https://svelte.dev/e/css_unused_selector
771:     transition: translate 200ms var(--ease-out);
772:   }
773:   .toggle input:checked {
                            ^
774:     background: var(--accent);
775:   }
8:01:02 AM [vite-plugin-svelte] src/components/Settings.svelte:776:2 Unused CSS selector ".toggle input:checked::after"
https://svelte.dev/e/css_unused_selector
774:     background: var(--accent);
775:   }
776:   .toggle input:checked::after {
                                   ^
777:     translate: 16px 0;
778:   }
8:01:02 AM [vite-plugin-svelte] src/components/Inspector.svelte:19:7 This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
17:   const isTitle = $derived(current === "h1");
18:   const why = (_t: BlockType) => undefined as string | undefined;
19:   void noteId;
                 ^
20: 
21:   function apply(type: BlockType) {
8:01:02 AM [vite-plugin-svelte] src/components/InsertSheet.svelte:42:7 This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
40:     openSheet(null);
41:   }
42:   void noteId;
                 ^
43: 
44:   function key(e: KeyboardEvent) {
8:01:02 AM [vite-plugin-svelte] src/components/InfoSheet.svelte:383:2 Unused CSS selector ".avatar.agent"
https://svelte.dev/e/css_unused_selector
381:     color: var(--accent);
382:   }
383:   .avatar.agent {
                    ^
384:     background: var(--hover);
385:     color: var(--ink-2);
8:01:03 AM [vite-plugin-svelte] src/components/NoteList.svelte:123:14 This reference only captures the initial value of `phone`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
121:   // A phone in a browser tab scrolls the document, not this box (PhoneStack, #445): where the rows are
122:   // is then the window's scroll less where this box starts, and the view is the window.
123:   const doc = phone && phoneDocScroll();
                        ^
124:   $effect(() => {
125:     const el = scroll;
8:01:03 AM [vite-plugin-svelte] /tmp/calternal-look-trim2/packages/ui/src/components/Morph.svelte:81:17 This reference only captures the initial value of `role`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
79:   // The bar becoming a sheet (and back) is one glass shape whose edges ride the sheet spring (IN4, IN8:
80:   // stiffness 400, damping 36, no bounce). `lastRole` is still the old one while the new layer is made.
81:   let lastRole = role;
                         ^
82:   const sheetSwap = () => role === "dialog" || lastRole === "dialog";
83:   let sheetish = $state(role === "dialog");
8:01:03 AM [vite-plugin-svelte] /tmp/calternal-look-trim2/packages/ui/src/components/Morph.svelte:83:24 This reference only captures the initial value of `role`. Did you mean to reference it inside a derived instead?
https://svelte.dev/e/state_referenced_locally
81:   let lastRole = role;
82:   const sheetSwap = () => role === "dialog" || lastRole === "dialog";
83:   let sheetish = $state(role === "dialog");
                                ^
84:   let sheetTimer = 0;
85:   $effect(() => {
[plugin builtin:vite-reporter] 
(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
| metric | Home | unit | n | p50 | p95 | max | budget | |
|---|---:|---|---:|---:|---:|---:|---|---|
| `web.bundle.all_css_brotli` | - | KB | 1 | 33.5 | 33.5 | 33.5 |  |  |
| `web.bundle.all_css_gzip` | - | KB | 1 | 38.6 | 38.6 | 38.6 |  |  |
| `web.bundle.all_css_raw` | - | KB | 1 | 171 | 171 | 171 |  |  |
| `web.bundle.all_js_brotli` | - | KB | 1 | 300 | 300 | 300 | p95 ≤ 300 | ok |
| `web.bundle.all_js_gzip` | - | KB | 1 | 350 | 350 | 350 |  |  |
| `web.bundle.all_js_raw` | - | KB | 1 | 1027 | 1027 | 1027 |  |  |
| `web.bundle.first_css_brotli` | - | KB | 1 | 20.1 | 20.1 | 20.1 | p95 ≤ 22.1 | ok |
| `web.bundle.first_css_gzip` | - | KB | 1 | 23.0 | 23.0 | 23.0 |  |  |
| `web.bundle.first_css_raw` | - | KB | 1 | 115 | 115 | 115 |  |  |
| `web.bundle.first_js_brotli` | - | KB | 1 | 238 | 238 | 238 | p95 ≤ 240 | ok |
| `web.bundle.first_js_gzip` | - | KB | 1 | 280 | 280 | 280 |  |  |
| `web.bundle.first_js_raw` | - | KB | 1 | 844 | 844 | 844 |  |  |
| `web.bundle.plugins_css_brotli` | - | KB | 1 | 0.00 | 0.00 | 0.00 |  |  |
| `web.bundle.plugins_css_gzip` | - | KB | 1 | 0.00 | 0.00 | 0.00 |  |  |
| `web.bundle.plugins_css_raw` | - | KB | 1 | 0.00 | 0.00 | 0.00 |  |  |
| `web.bundle.plugins_js_brotli` | - | KB | 1 | 37.8 | 37.8 | 37.8 | p95 ≤ 45 | ok |
| `web.bundle.plugins_js_gzip` | - | KB | 1 | 42.8 | 42.8 | 42.8 |  |  |
| `web.bundle.plugins_js_raw` | - | KB | 1 | 135 | 135 | 135 |  |  |

The temporary screenshot harness initially needed its own ES module package setting and a separate WebKit test file for its worker setting. Those harness-only setup problems were corrected outside the repository; its final run exited 0 with 3 passed (18.5s).

Finished look-trim2: https://git.kayg.org/kayg/calternal/pulls/699, branch `port/look-v2-mockup`, head `19933eb1ccec3022af64957b693b5ad7f129dc30`, base `01505c2a03452d3d49d3984c13887d8d8ec77a27`. The PR replaces #698 and #695. Both remain open. Nothing was merged or deployed, and no issue was closed. Only seven mockup product files changed. The web app and its tree and prefs tests are identical to origin/dev. Look v2 is the mockup default and `?look=v1` still works. The actual mockup note editor now enables the shared dotted mask and faded ends; its block padding and checkbox position follow the shared guide padding. No format rules or shape logic were duplicated. Screenshots of the same list at 1440 and 390 in each app, with enlarged details: https://git.kayg.org/kayg/calternal/issues/693#issuecomment-66016 Requested gates, quoted verbatim: - svelte-check for apps/web. - Playwright tree.spec.ts and prefs.spec.ts on chromium-1440 and webkit-390. They must pass unchanged. - The bundle gate `perf/web.sh --bundle-only --gate`. It runs LOCALLY through build-slot.sh and needs no VM. All commands exited 0. Every local heavy command ran through build-slot.sh, one slot at a time. Playwright used --workers=1. Tests used the existing `/home/agent/target/tasks-create-fix7/debug/calternal` binary with fresh temporary Homes. No perf or production VM was accessed. Playwright caveat: dev's existing app projects exclude prefs.spec.ts, which runs in the isolated prefs projects. The unchanged prefs file skips all WebKit tests itself. I ran those projects too; the existing pointer skip plus four prefs skips produced 42 passed and 5 skipped. I did not remove those guards or alter tests to claim a full WebKit prefs pass. A separate targeted WebKit 390 check passed for the requested default and saved override behavior. The visual checks also confirmed v1/v2 switching, real note content, no overlays, and no console or page errors at both widths (3 passed). The following blocks are the captured gate output verbatim. Web svelte-check Command: `source /etc/calternal/env.sh; /usr/local/bin/build-slot.sh bash -c 'cd apps/web && bun run check'` ```text $ node scripts/action-types.mjs --check && svelte-check --tsconfig ./tsconfig.json Loading svelte-check in workspace: /tmp/calternal-look-trim2/apps/web Getting Svelte diagnostics... /tmp/calternal-look-trim2/apps/web/../../packages/ui/src/primitives/toast/ToastCapsule.svelte:19:54 Warn: This reference only captures the initial value of `id`. Did you mean to reference it inside a derived instead? https://svelte.dev/e/state_referenced_locally (svelte) // Keep the last thing it said while it leaves (the view is gone by then). let last = $state<ToastView | undefined>(views.get(id)); $effect(() => { /tmp/calternal-look-trim2/apps/web/src/components/NoteList.svelte:123:15 Warn: This reference only captures the initial value of `phone`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally (svelte) // is then the window's scroll less where this box starts, and the view is the window. const doc = phone && phoneDocScroll(); $effect(() => { /tmp/calternal-look-trim2/apps/web/../../packages/ui/src/components/Morph.svelte:81:18 Warn: This reference only captures the initial value of `role`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally (svelte) // stiffness 400, damping 36, no bounce). `lastRole` is still the old one while the new layer is made. let lastRole = role; const sheetSwap = () => role === "dialog" || lastRole === "dialog"; /tmp/calternal-look-trim2/apps/web/../../packages/ui/src/components/Morph.svelte:83:25 Warn: This reference only captures the initial value of `role`. Did you mean to reference it inside a derived instead? https://svelte.dev/e/state_referenced_locally (svelte) const sheetSwap = () => role === "dialog" || lastRole === "dialog"; let sheetish = $state(role === "dialog"); let sheetTimer = 0; /tmp/calternal-look-trim2/apps/web/src/components/Settings.svelte:598:3 Warn: Unused CSS selector ".seg.wide button" https://svelte.dev/e/css_unused_selector (svelte) } .seg.wide button { flex: 1; /tmp/calternal-look-trim2/apps/web/src/components/Settings.svelte:601:3 Warn: Unused CSS selector ".phone .seg.wide button" https://svelte.dev/e/css_unused_selector (svelte) } .phone .seg.wide button { padding: 0 6px; /tmp/calternal-look-trim2/apps/web/src/components/Settings.svelte:751:3 Warn: Unused CSS selector ".toggle input" https://svelte.dev/e/css_unused_selector (svelte) } .toggle input { appearance: none; /tmp/calternal-look-trim2/apps/web/src/components/Settings.svelte:761:3 Warn: Unused CSS selector ".toggle input::after" https://svelte.dev/e/css_unused_selector (svelte) } .toggle input::after { content: ""; /tmp/calternal-look-trim2/apps/web/src/components/Settings.svelte:773:3 Warn: Unused CSS selector ".toggle input:checked" https://svelte.dev/e/css_unused_selector (svelte) } .toggle input:checked { background: var(--accent); /tmp/calternal-look-trim2/apps/web/src/components/Settings.svelte:776:3 Warn: Unused CSS selector ".toggle input:checked::after" https://svelte.dev/e/css_unused_selector (svelte) } .toggle input:checked::after { translate: 16px 0; /tmp/calternal-look-trim2/apps/web/src/components/Inspector.svelte:19:8 Warn: This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally (svelte) const why = (_t: BlockType) => undefined as string | undefined; void noteId; /tmp/calternal-look-trim2/apps/web/src/components/InsertSheet.svelte:42:8 Warn: This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally (svelte) } void noteId; /tmp/calternal-look-trim2/apps/web/src/components/InfoSheet.svelte:383:3 Warn: Unused CSS selector ".avatar.agent" https://svelte.dev/e/css_unused_selector (svelte) } .avatar.agent { background: var(--hover); /tmp/calternal-look-trim2/apps/web/src/App.svelte:185:5 Warn: Unused CSS selector ".toast" https://svelte.dev/e/css_unused_selector (svelte) @media (prefers-reduced-motion: no-preference) { .toast { animation: toast-in 240ms var(--ease-out) backwards; ==================================== svelte-check found 0 errors and 14 warnings in 8 files ``` Unchanged Playwright tests Command: `source /etc/calternal/env.sh; CALTERNAL_BIN=/home/agent/target/tasks-create-fix7/debug/calternal E2E_DIST=/tmp/look-trim2-evidence/bundle-work/dist /usr/local/bin/build-slot.sh bash -c 'cd apps/web && bunx playwright test tree.spec.ts prefs.spec.ts --project=chromium-1440 --project=webkit-390 --project=prefs-chromium --project=prefs-webkit --workers=1 --output=/tmp/look-trim2-evidence/web-results'` ```text [WebServer] (node:510300) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (node:510321) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. [WebServer] (node:510398) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. [WebServer] (node:510460) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. [WebServer] (node:510522) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. [WebServer] (node:510552) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (node:510574) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. [WebServer] (node:510617) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. [WebServer] (Use `node --trace-warnings ...` to show where the warning was created) [WebServer] (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: [WebServer] - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension [WebServer] - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension [WebServer] - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension [WebServer] - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension [WebServer] Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. Running 47 tests using 1 worker (node:510646) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. (Use `node --trace-warnings ...` to show where the warning was created) ✓ 1 [chromium-1440] › e2e/tree.spec.ts:43:1 › nested lists get ├ and └ branches, and the file stays as typed (645ms) ✓ 2 [chromium-1440] › e2e/tree.spec.ts:103:3 › dotted: a guide joins consecutive siblings and stops at the last one (#618) (532ms) ✓ 3 [chromium-1440] › e2e/tree.spec.ts:103:3 › connected: a guide joins consecutive siblings and stops at the last one (#618) (718ms) ✓ 4 [chromium-1440] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 320px (#618) (669ms) ✓ 5 [chromium-1440] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 390px (#618) (609ms) ✓ 6 [chromium-1440] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 440px (#618) (748ms) ✓ 7 [chromium-1440] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 1440px (#618) (624ms) ✓ 8 [chromium-1440] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 320px (#618) (700ms) ✓ 9 [chromium-1440] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 390px (#618) (708ms) ✓ 10 [chromium-1440] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 440px (#618) (640ms) ✓ 11 [chromium-1440] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 1440px (#618) (600ms) ✓ 12 [chromium-1440] › e2e/tree.spec.ts:241:1 › the sibling guide stops where the kind of block changes (#618) (696ms) ✓ 13 [chromium-1440] › e2e/tree.spec.ts:266:1 › typing in a nested item never moves the tree or the text (951ms) ✓ 14 [chromium-1440] › e2e/tree.spec.ts:279:1 › source mode shows the file as it is, with no tree lines (554ms) ✓ 15 [chromium-1440] › e2e/tree.spec.ts:299:1 › the branch of the item with the caret lights up as you arrow, with no animation and no shift (1.4s) ✓ 16 [chromium-1440] › e2e/tree.spec.ts:333:1 › the pointer lights the branch under it; a key hands the light back to the caret (2.1s) ✓ 17 [chromium-1440] › e2e/tree.spec.ts:353:1 › dotted is the default look; a note (or ?lines=) can choose the connected hairline (968ms) ✓ 18 [chromium-1440] › e2e/tree.spec.ts:377:1 › Style sheet: a note chooses its own tree lines, saved with the note and kept on reload (3.6s) (node:510978) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. (Use `node --trace-warnings ...` to show where the warning was created) ✓ 19 [webkit-390] › e2e/tree.spec.ts:43:1 › nested lists get ├ and └ branches, and the file stays as typed (1.4s) ✓ 20 [webkit-390] › e2e/tree.spec.ts:103:3 › dotted: a guide joins consecutive siblings and stops at the last one (#618) (1.2s) ✓ 21 [webkit-390] › e2e/tree.spec.ts:103:3 › connected: a guide joins consecutive siblings and stops at the last one (#618) (1.0s) ✓ 22 [webkit-390] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 320px (#618) (1.2s) ✓ 23 [webkit-390] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 390px (#618) (1.2s) ✓ 24 [webkit-390] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 440px (#618) (1.5s) ✓ 25 [webkit-390] › e2e/tree.spec.ts:216:5 › dotted: guides run through the marker centres at every level, 1440px (#618) (1.7s) ✓ 26 [webkit-390] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 320px (#618) (1.4s) ✓ 27 [webkit-390] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 390px (#618) (1.5s) ✓ 28 [webkit-390] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 440px (#618) (1.4s) ✓ 29 [webkit-390] › e2e/tree.spec.ts:216:5 › connected: guides run through the marker centres at every level, 1440px (#618) (1.6s) ✓ 30 [webkit-390] › e2e/tree.spec.ts:241:1 › the sibling guide stops where the kind of block changes (#618) (1.6s) ✓ 31 [webkit-390] › e2e/tree.spec.ts:266:1 › typing in a nested item never moves the tree or the text (2.1s) ✓ 32 [webkit-390] › e2e/tree.spec.ts:279:1 › source mode shows the file as it is, with no tree lines (1.1s) ✓ 33 [webkit-390] › e2e/tree.spec.ts:299:1 › the branch of the item with the caret lights up as you arrow, with no animation and no shift (2.5s) - 34 [webkit-390] › e2e/tree.spec.ts:333:1 › the pointer lights the branch under it; a key hands the light back to the caret ✓ 35 [webkit-390] › e2e/tree.spec.ts:353:1 › dotted is the default look; a note (or ?lines=) can choose the connected hairline (2.4s) ✓ 36 [webkit-390] › e2e/tree.spec.ts:377:1 › Style sheet: a note chooses its own tree lines, saved with the note and kept on reload (6.9s) (node:512336) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. (Use `node --trace-warnings ...` to show where the warning was created) ✓ 37 [prefs-chromium] › e2e/prefs-offline.spec.ts:107:3 › settings offline › a change made offline shows at once, survives a reload with no flash, and is sent when back (3.0s) ✓ 38 [prefs-chromium] › e2e/prefs-offline.spec.ts:139:3 › settings offline › a retry after a dropped connection carries the same idempotency key (1.2s) ✓ 39 [prefs-chromium] › e2e/prefs-offline.spec.ts:163:3 › settings offline › a newer value from another device wins, and the screen updates in place (925ms) ✓ 40 [prefs-chromium] › e2e/prefs.spec.ts:34:1 › a change on one device shows on the other and survives a reload, with no flash (2.9s) ✓ 41 [prefs-chromium] › e2e/prefs.spec.ts:86:1 › the Photos from Unsplash switch saves, survives a reload and reaches other devices (2.0s) ✓ 42 [prefs-chromium] › e2e/prefs.spec.ts:110:1 › Settings, Editor, Tree lines: Dotted is the default, Connected is kept for notes without their own (1.4s) ✓ 43 [prefs-chromium] › e2e/prefs.spec.ts:131:1 › a bad setting is refused in plain words (9ms) (node:512541) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set. (Use `node --trace-warnings ...` to show where the warning was created) - 44 [prefs-webkit] › e2e/prefs.spec.ts:34:1 › a change on one device shows on the other and survives a reload, with no flash - 45 [prefs-webkit] › e2e/prefs.spec.ts:86:1 › the Photos from Unsplash switch saves, survives a reload and reaches other devices - 46 [prefs-webkit] › e2e/prefs.spec.ts:110:1 › Settings, Editor, Tree lines: Dotted is the default, Connected is kept for notes without their own - 47 [prefs-webkit] › e2e/prefs.spec.ts:131:1 › a bad setting is refused in plain words 5 skipped 42 passed (1.2m) ``` Bundle gate Command: `source /etc/calternal/env.sh; /usr/local/bin/build-slot.sh bash -c 'PERF_WORK=/tmp/look-trim2-evidence/bundle-work PERF_OUT=/tmp/look-trim2-evidence/bundle perf/web.sh --bundle-only --gate'` ```text (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: - import "./scripts/lazy-ui-plugin" without a file extension (vite.config.ts:3:29). Add the file extension - import "./scripts/precompress-plugin" without a file extension (vite.config.ts:4:29). Add the file extension - import "./scripts/sw-plugin" without a file extension (vite.config.ts:5:31). Add the file extension - import "../src/lib/chunk-retry" without a file extension (scripts/lazy-ui-plugin.ts:2:33). Add the file extension Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 8:01:02 AM [vite-plugin-svelte] src/App.svelte:185:4 Unused CSS selector ".toast" https://svelte.dev/e/css_unused_selector 183: } 184: @media (prefers-reduced-motion: no-preference) { 185: .toast { ^ 186: animation: toast-in 240ms var(--ease-out) backwards; 187: } 8:01:02 AM [vite-plugin-svelte] /tmp/calternal-look-trim2/packages/ui/src/primitives/toast/ToastCapsule.svelte:19:53 This reference only captures the initial value of `id`. Did you mean to reference it inside a derived instead? https://svelte.dev/e/state_referenced_locally 17: 18: // Keep the last thing it said while it leaves (the view is gone by then). 19: let last = $state<ToastView | undefined>(views.get(id)); ^ 20: $effect(() => { 21: const v = views.get(id); 8:01:02 AM [vite-plugin-svelte] src/components/Settings.svelte:598:2 Unused CSS selector ".seg.wide button" https://svelte.dev/e/css_unused_selector 596: text-underline-offset: 2px; 597: } 598: .seg.wide button { ^ 599: flex: 1; 600: } 8:01:02 AM [vite-plugin-svelte] src/components/Settings.svelte:601:2 Unused CSS selector ".phone .seg.wide button" https://svelte.dev/e/css_unused_selector 599: flex: 1; 600: } 601: .phone .seg.wide button { ^ 602: padding: 0 6px; 603: font-size: calc(12.5 * var(--type-px)); 8:01:02 AM [vite-plugin-svelte] src/components/Settings.svelte:751:2 Unused CSS selector ".toggle input" https://svelte.dev/e/css_unused_selector 749: font-weight: 400; 750: } 751: .toggle input { ^ 752: appearance: none; 753: flex: none; 8:01:02 AM [vite-plugin-svelte] src/components/Settings.svelte:761:2 Unused CSS selector ".toggle input::after" https://svelte.dev/e/css_unused_selector 759: transition: background-color 150ms var(--ease-out); 760: } 761: .toggle input::after { ^ 762: content: ""; 763: position: absolute; 8:01:02 AM [vite-plugin-svelte] src/components/Settings.svelte:773:2 Unused CSS selector ".toggle input:checked" https://svelte.dev/e/css_unused_selector 771: transition: translate 200ms var(--ease-out); 772: } 773: .toggle input:checked { ^ 774: background: var(--accent); 775: } 8:01:02 AM [vite-plugin-svelte] src/components/Settings.svelte:776:2 Unused CSS selector ".toggle input:checked::after" https://svelte.dev/e/css_unused_selector 774: background: var(--accent); 775: } 776: .toggle input:checked::after { ^ 777: translate: 16px 0; 778: } 8:01:02 AM [vite-plugin-svelte] src/components/Inspector.svelte:19:7 This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 17: const isTitle = $derived(current === "h1"); 18: const why = (_t: BlockType) => undefined as string | undefined; 19: void noteId; ^ 20: 21: function apply(type: BlockType) { 8:01:02 AM [vite-plugin-svelte] src/components/InsertSheet.svelte:42:7 This reference only captures the initial value of `noteId`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 40: openSheet(null); 41: } 42: void noteId; ^ 43: 44: function key(e: KeyboardEvent) { 8:01:02 AM [vite-plugin-svelte] src/components/InfoSheet.svelte:383:2 Unused CSS selector ".avatar.agent" https://svelte.dev/e/css_unused_selector 381: color: var(--accent); 382: } 383: .avatar.agent { ^ 384: background: var(--hover); 385: color: var(--ink-2); 8:01:03 AM [vite-plugin-svelte] src/components/NoteList.svelte:123:14 This reference only captures the initial value of `phone`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 121: // A phone in a browser tab scrolls the document, not this box (PhoneStack, #445): where the rows are 122: // is then the window's scroll less where this box starts, and the view is the window. 123: const doc = phone && phoneDocScroll(); ^ 124: $effect(() => { 125: const el = scroll; 8:01:03 AM [vite-plugin-svelte] /tmp/calternal-look-trim2/packages/ui/src/components/Morph.svelte:81:17 This reference only captures the initial value of `role`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally 79: // The bar becoming a sheet (and back) is one glass shape whose edges ride the sheet spring (IN4, IN8: 80: // stiffness 400, damping 36, no bounce). `lastRole` is still the old one while the new layer is made. 81: let lastRole = role; ^ 82: const sheetSwap = () => role === "dialog" || lastRole === "dialog"; 83: let sheetish = $state(role === "dialog"); 8:01:03 AM [vite-plugin-svelte] /tmp/calternal-look-trim2/packages/ui/src/components/Morph.svelte:83:24 This reference only captures the initial value of `role`. Did you mean to reference it inside a derived instead? https://svelte.dev/e/state_referenced_locally 81: let lastRole = role; 82: const sheetSwap = () => role === "dialog" || lastRole === "dialog"; 83: let sheetish = $state(role === "dialog"); ^ 84: let sheetTimer = 0; 85: $effect(() => { [plugin builtin:vite-reporter] (!) Some chunks are larger than 500 kB after minification. Consider: - Using dynamic import() to code-split the application - Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit. | metric | Home | unit | n | p50 | p95 | max | budget | | |---|---:|---|---:|---:|---:|---:|---|---| | `web.bundle.all_css_brotli` | - | KB | 1 | 33.5 | 33.5 | 33.5 | | | | `web.bundle.all_css_gzip` | - | KB | 1 | 38.6 | 38.6 | 38.6 | | | | `web.bundle.all_css_raw` | - | KB | 1 | 171 | 171 | 171 | | | | `web.bundle.all_js_brotli` | - | KB | 1 | 300 | 300 | 300 | p95 ≤ 300 | ok | | `web.bundle.all_js_gzip` | - | KB | 1 | 350 | 350 | 350 | | | | `web.bundle.all_js_raw` | - | KB | 1 | 1027 | 1027 | 1027 | | | | `web.bundle.first_css_brotli` | - | KB | 1 | 20.1 | 20.1 | 20.1 | p95 ≤ 22.1 | ok | | `web.bundle.first_css_gzip` | - | KB | 1 | 23.0 | 23.0 | 23.0 | | | | `web.bundle.first_css_raw` | - | KB | 1 | 115 | 115 | 115 | | | | `web.bundle.first_js_brotli` | - | KB | 1 | 238 | 238 | 238 | p95 ≤ 240 | ok | | `web.bundle.first_js_gzip` | - | KB | 1 | 280 | 280 | 280 | | | | `web.bundle.first_js_raw` | - | KB | 1 | 844 | 844 | 844 | | | | `web.bundle.plugins_css_brotli` | - | KB | 1 | 0.00 | 0.00 | 0.00 | | | | `web.bundle.plugins_css_gzip` | - | KB | 1 | 0.00 | 0.00 | 0.00 | | | | `web.bundle.plugins_css_raw` | - | KB | 1 | 0.00 | 0.00 | 0.00 | | | | `web.bundle.plugins_js_brotli` | - | KB | 1 | 37.8 | 37.8 | 37.8 | p95 ≤ 45 | ok | | `web.bundle.plugins_js_gzip` | - | KB | 1 | 42.8 | 42.8 | 42.8 | | | | `web.bundle.plugins_js_raw` | - | KB | 1 | 135 | 135 | 135 | | | ``` The temporary screenshot harness initially needed its own ES module package setting and a separate WebKit test file for its worker setting. Those harness-only setup problems were corrected outside the repository; its final run exited 0 with `3 passed (18.5s)`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#693
No description provided.