Commit Graph
107 Commits
Author SHA1 Message Date
ccandClaude Opus 5.5 b2bc9d64bf perf(find): CSS-only overflow button; stable tree props
- The … button on a value row shows only when chips wrapped out of sight,
  with no JavaScript: the chip box's scroll timeline is active only when
  it has something to scroll, and the button's visibility animation runs
  only then (browsers without scroll-driven animations always show it).
  Replaces the measured +N count and its ResizeObserver.
- osFor and onPickValue are memoized, so typing in the filter no longer
  re-renders every row of the memoized tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 17:20:03 +01:00
ccandClaude Opus 5.5 4893844ce1 feat(find): align values in one column with CSS subgrid
With values shown, the tree is a two-column grid (name, values) shared by
every level through subgrid; an indented level's margin, padding and
border come out of the name column only, so values start at the same x at
any depth. The name column fits the longest name up to half the width.
The files page keeps its flex rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 17:12:38 +01:00
ccandClaude Opus 5.5 4b9f8db762 perf(find): batch +N overflow counting; sort a row's values
Each row measured its own chips (reset width, read, set width), which
forced one layout per row: resizing an expanded tree of 935 rows took
~4.5 s a frame (6,257 layouts), and toggling the value filter took
seconds. One shared ResizeObserver now batches every row in one frame:
reset all, read all, write all. Resize: ~140 ms a frame, 49 layouts.

The button is just +N (no ellipsis). Values in a row sort with filter hits
first, then alphabetically, so rows holding the same items read the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 17:12:38 +01:00
ccandClaude Opus 5.5 c8cddb3013 feat(find): … menu for value chips that don't fit
A row's chips that wrap out of sight are counted after layout; a '… +N'
button right after the last visible chip opens a popover with every item
(still click-to-filter). It replaces the total count, which sat at the far
right when chips overflowed and next to them when they didn't.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 17:06:09 +01:00
ccandClaude Opus 5.5 37fcbd28d9 fix(ui): review pass on labels and small-screen layout
- bin: Copy XML / Download sit on the path row, labelled; the code block
  no longer starts with a blank band reserved for floating buttons
- diff: an empty diff names both versions
- find: count no longer repeats the version from the header switcher; a
  uniform value is a value chip; the toolbar aligns left on phones and
  the breadcrumb stays on one line, truncating a long namespace
- header: Keys / Files tabs keep an accessible name when only icons show

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 17:00:34 +01:00
ccandClaude Opus 5.5 72f0c7ff50 feat(tree): labelled Expand all / Collapse all toggle above the tree
The two icon-only buttons sat in the header next to the filter, easy to
miss and hard to read. One labelled toggle now sits with the tree's count
on the files and find pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 16:52:50 +01:00
ccandClaude Opus 5.5 7ff4aa842c fix(keys): open the nearest shown namespace for a hidden one
A key's page links its breadcrumb to the key's own namespace, but the
tree folds away namespaces with fewer than 3 keys, so a link like
ns=com.apple.private.externalaccessory (one key in iOS 17.2.1) fell back
to All keys. It now opens the nearest shown ancestor (com.apple.private),
which also applies when a filter leaves the namespace empty.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 16:52:50 +01:00
ccandClaude Opus 5.5 8ee1fdb61a fix(keys): scroll to top when selecting a namespace
The selection is written with history.replaceState, so the page kept its
scroll position: picking a namespace with fewer keys after scrolling down
left the window past the end of the new list, looking empty.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 16:49:34 +01:00
ccandClaude Opus 5.5 d5add62829 feat(bin): show the original entitlement XML, not a normalized copy
The detail page re-sorted keys and re-typed values (data, date and real
came back as string or integer) through normalizePlist for display, copy
and download. Now that the data rebuilds the original XML byte for byte:

- the view and copy show it as is, only indented (indentPlist keeps key
  order, element types, text and entities)
- download saves the original bytes
- the diff still compares normalizePlist output on both sides

indentPlist checked against all 43,193 stored plists: removing the added
indentation gives back the original.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 16:43:53 +01:00
ccandClaude Opus 5.5 bcb22f4b57 feat(data): read sharded records and rebuild plist XML from pairs
entdb-data now packs key and path records into 256 shards per kind
({hh}.json, keyed by name; a record over 32 KB stays in {hash}.json and is
1 in its shard), and stores each binary's plists as deduplicated top-level
pairs plus style flags. plist-xml.ts ports the exporter's regen(), which
rebuilds the original XML byte for byte; the exporter only uses the pairs
when that round trip matches and otherwise keeps the XML string.

Checked against a full export: all 43,193 plists rebuild identically and
every key and path record is found through its shard. Deploy together with
the matching entdb-data change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 16:31:44 +01:00
ccandClaude Opus 5.5 06f4831856 fix(keys): hanging indent for wrapped key names
text-indent is ignored on an inline span, so wrapped keys indented the
first line instead of the continuation lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 02:40:50 +01:00
ccandClaude Opus 5.5 f917e8e53a fix: responsive header and value chips
- The header filter takes its own row when it would shrink to a few
  letters, and the home filter no longer overflows at 768px.
- Phones show just the version in the switcher, so the header fits.
- Value chips that don't fit are hidden whole instead of cut mid-word.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 02:40:50 +01:00
ccandClaude Opus 5.5 5c6860a074 feat: command palette (⌘⇧P) for navigation and versions
Desktop only (⌘⇧P / Ctrl+Shift+P, or ⌘K): go to home, keys, files or the
shortcut help; switch theme, copy the page link, open the value filter;
jump to any build of any platform. Only the OS lists are fetched, on
first open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 02:40:50 +01:00
ccandClaude Opus 5.5 62fa2a7d8c feat(find): click a value chip to filter by it
Chips are buttons that toggle their item in the value filter; nested
arrays and dicts aren't atoms, so they stay plain.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 19:07:06 +01:00
ccandClaude Opus 5.5 8af95f381e style: mark the current version with a tint, not a solid block
Version history on the keys and binary pages: a primary tint and a bar
on the tree's guide line instead of a solid primary fill.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 19:07:06 +01:00
ccandClaude Opus 5.5 ca4ae29072 style(bin): color the plist viewer from the site's tokens
Replaces the stock Prism themes (beige light, gray dark) with CSS on
the theme tokens: keys in primary, values violet like the value chips,
markup muted. Only top-level <key> lines link, so a string value equal
to a key name, or a nested dict key, is no longer a link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 19:07:06 +01:00
ccandClaude Opus 5.5 d6334c6580 feat(find): show value items as chips
Values no longer read as part of the path: each array item, dict key
or scalar is its own violet chip, matched ones solid, with no brackets
or quotes; overflow is clipped and the item count follows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 19:07:06 +01:00
ccandClaude Opus 5.5 11b2d5e656 style: higher-contrast, slightly more colorful palette
Light mode text was hard to read: darker foreground and muted text, a
bluer primary, cooler borders and surfaces. Adds key-prefix, value and
folder tokens so paths, key namespaces and values read apart; subpixel
text in light mode (antialiasing only in dark).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 19:06:52 +01:00
ccandClaude Opus 5.5 e76fd472ae feat(find): show values and filter binaries by value
- Each binary's value is shown in the tree (hidden on phones); a value
  shared by every binary is stated once in the header instead.
- "Value" (or =) opens a typeahead of this key's values with faceted
  counts. Arrays match by "contains", scalars by "equals"; several picks
  must all match. Matches are highlighted and listed first in each row.
- Picks show on their own row under the key and persist in ?v=.
- Works with version compare: lost binaries filter by their old value.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:44:40 +01:00
ccandClaude Opus 5.5 4b6e6a52bd feat(data): getValuesForKey for each binary's value of a key
Answered from the same key record as getPathsForKey, so no extra request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:44:40 +01:00
ccandClaude Opus 5.5 3df50e15fc feat(data): read precomputed JSON records instead of the KV export
Each query is one whole-file fetch from entdb-data's new record layout
(list.json, b/{build}, k/{hash(key)}, p/{hash(path)}), cached for the
session. The KV engine and client are removed with no fallback; the site
and data deploy together.

- listOS() returns a copy, so pages sorting it can't reorder the cached
  build ordinals.
- The version switcher reads the list through the engine (one fetch).
- ENTDB_DATA_ORIGIN points dev at a local data server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:44:40 +01:00
ccandClaude Opus 5.5 2d7b316bee feat(tree): arrow-key navigation in file trees
Up/Down move between rows, Right opens a folder or steps into it, Left
closes it or goes to the parent folder, Home/End jump; rows also take
part in j/k. Same model as the keys page namespace tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:44:28 +01:00
ccandClaude Opus 5.5 e102fd6dc1 feat: site-wide keyboard shortcuts
One handler in the header, with a ? help dialog (also a header button):
- /: focus the page filter; Esc: clear it, then leave it
- j / k: next / previous item in lists (home cards, key list)
- g h / g k / g f: go to home / keys / files
- v: open the version picker with its search focused; Enter picks the
  first match
Replaces the per-page / handlers; the home filter now renders before
the list loads so the header no longer shifts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:44:27 +01:00
ccandClaude Opus 5.5 b014000577 feat: loading skeletons that match the new layouts
- Keys page: the skeleton reuses the page grid (sidebar tree, toolbar,
  1-3 key columns, version panel from 2xl), so nothing moves on load
- Find page: tree-shaped placeholder under the breadcrumb and title
- Home: iOS cards without the codename line, centered headings
- Skeletons stop pulsing under prefers-reduced-motion

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:44:26 +01:00
ccandClaude Opus 5.5 942e2966ea feat(find): key header, version compare and a way back to keys
- The key is the page title with a copy button; the count reads
  "N binaries in <version>"
- Compare with another version (?diff=): binaries that gained or lost
  the key are marked in the folder tree, with a Changed only toggle
  (?changes=1)
- A breadcrumb (All keys > namespace) returns to the keys page; the
  crumb the user came from, and the back arrow, restore exactly where
  they were (namespace, filter, comparison, scroll)
- Clicking a key while comparing opens its find page comparing against
  the same version
- Where supported, the clicked key name morphs into the find page title
  (view transition; skipped for reduced motion and modified clicks)
- Shared OS version helpers move to src/lib/os-version.ts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:44:24 +01:00
ccandClaude Opus 5.5 d9a7364f65 feat(tree): mark gained and lost paths
FileSystem takes optional status/osFor callbacks: gained paths render
green, lost ones red (linking to the build that still has them), and
folders show +n/-n counts so changes are visible before expanding. The
Files page passes neither and is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:44:23 +01:00
ccandClaude Opus 5.5 75ef10a6cf fix(files): deterministic skeleton widths
Math.random() widths differed between the server render and hydration,
triggering a hydration mismatch warning on every load.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:44:22 +01:00
ccandClaude Opus 5.5 94df9078bb feat(home): match build numbers and drop duplicate iOS labels
- The filter also matches build numbers (e.g. "24B91")
- Cards only show the product name when it adds a codename
  ("macOS Tahoe"); iOS cards no longer repeat "iOS 27.3" above "27.3"

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:06:45 +01:00
ccandClaude Opus 5.5 847c27469d feat(keys): responsive grid layout with version panel on wide screens
- One grid with named areas: toolbar / tree / list stacked on phones,
  tree beside toolbar + list from md, and the Version History panel back
  as a third column from 2xl so switching or comparing is one click
  where there is room (the popover remains below 2xl)
- Merge the count/versions row into the breadcrumb row, so the tree and
  list start one row higher
- Size columns from the measured list width: aim for ~560px, but prefer
  two 460px+ columns over one wide one; block size follows the column
  count for even columns. Wrapped keys in com.apple.security: 4/142 at
  2560px (was 68), 7/144 at 1280px; 2 columns from 1280 to 1920px
- Sidebar stays 15rem until 2xl to leave the list room at 1280-1440px

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:19:52 +01:00
ccandClaude Opus 5.5 5a381d5bbb feat(header): keep the filter next to the page controls
The filter was pushed to the far right edge, leaving a gap of up to
~1800px between it and the version/tab controls on wide screens. Let it
follow the page controls and grow up to max-w-xl, with the theme toggle
taking the far right. The header now also stays on one row at 768px.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:19:52 +01:00
ccandClaude Opus 5.5 485f81e3a7 feat(keys): make stray spaces in keys visible
Some shipped entitlement keys carry a leading space (e.g.
" com.apple.security.app-sandbox"), which made a second "com.apple"
namespace look like a duplicate. These are real, meaningful strings, so
show the space as an amber ␣ with a tooltip rather than trimming it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:15:12 +01:00
ccandClaude Opus 5.5 afde7cc2b9 perf(keys): render the key list in lazily mounted blocks
Switching to All keys rendered all 5,273 rows (~1.5s in dev). Split the
list into blocks of 60 keys; blocks mount as they near the viewport
(IntersectionObserver), cutting the switch to ~140ms. Each block flows
through its own columns, so a column is about one screen tall instead
of 44,000px. Key labels also drop the wrapper span per segment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:15:01 +01:00
ccandClaude Opus 5.5 ab3e2e7230 feat(keys): copy a key from the list
A copy button appears on row hover; keyboard users press Cmd/Ctrl+C on a
focused key (unless text is selected). The button stays out of the tab
order so each key costs one tab stop, not two.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:14:51 +01:00
ccandClaude Opus 5.5 1a00210a6b feat(keys): widen sidebar and truncate namespaces in the middle
Long sibling names sharing a prefix (two authentication-serv… rows)
were indistinguishable. Keep the last 8 characters visible and only
shorten the head, and widen the sidebar to 18rem now that the version
panel no longer competes for width.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:14:42 +01:00
ccandClaude Opus 5.5 a9c5d0d7b6 feat(keys): add / shortcut and namespace type-ahead
- "/" focuses the key filter from anywhere (hinted in the input)
- Typing in the namespace tree jumps to the next matching name; a
  repeated letter cycles through matches (standard tree type-ahead)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:14:32 +01:00
ccandClaude Opus 5.5 d35f6380dc feat(keys): replace changed-keys panel with a Changed only toggle
Expanding the changed-keys panel inserted a ~1600px block that pushed
the sidebar and list off-screen. Instead, a toggle narrows the existing
namespace tree and key list to added and removed keys, so changes can be
browsed per namespace. Persisted as ?changes=1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:14:18 +01:00
ccandClaude Opus 5.5 d6092de1c5 feat(keys): drop keyword token chips
The 15 frequent-token chips mostly repeated what the namespace sidebar
shows, took a full row (two at 1024px) and 15 tab stops before the tree.
Remove them and the now-unused tokenizer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:14:01 +01:00
ccandClaude Opus 5.5 034049db6a feat(keys): flow keys down wide columns
Lay the key list out column-major with columns at least 26rem wide, so
an alphabetical list reads top to bottom and most full keys fit on one
line (at 1024px, 0 of 142 keys in com.apple.security wrap, down from all
of them).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:13:59 +01:00
ccandClaude Opus 5.5 7afaf25cbd feat(keys): move version history into a toolbar popover
The always-visible Version History panel took ~290px from the key list.
Switching and comparing now live in the Versions popover (previously
mobile-only), and an active comparison shows as a dismissible chip.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:13:47 +01:00
ccandClaude Opus 5.5 5ec5b5c52a feat(keys): browse keys by namespace sidebar
Add a single-column namespace tree beside the key list. Selecting a
namespace scopes the flat key list (and the filter) to it; "All keys"
shows everything. Folders are real namespaces only: small ones (<3 keys)
fold into their parent and single-child chains are merged (com.apple).

- Selection is kept in ?ns= so it survives reloads and can be shared
- Diff mode shows +n new-key counts on each namespace
- Keyboard: arrows, Home/End, Enter/Space (WAI-ARIA tree pattern,
  selection follows focus)
- Extract KeyLink into its own component

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 18:59:46 +01:00
cc 9846dacbfc Mark beta firmware versions with an amber Beta badge
Pre-release builds now carry a `beta` flag in each group's list.json.
Surface it in the UI: a small amber Beta pill (and amber card border)
next to the version on the landing list, in the version switcher, and
in the diff version-history panel, so betas are visually distinct from
stable releases while remaining fully diffable against historical builds.
2026-06-10 13:19:41 +02:00
cc 0d58645da3 feat(keys): surface history and changed keys 2026-06-10 01:39:50 +02:00
cc 7d40174b6a feat(keys): compute explicit key diffs 2026-06-10 01:39:34 +02:00
cc 4c98b87cec feat(keys): add version history plumbing 2026-06-10 01:39:09 +02:00
cc 696f75a1fb Fix reload loop from redundant URL sync on mount
useQueryFilter called router.replace on every mount even when the query
was unchanged. On the static host that emitted a non-trailing-slash URL,
which 301-redirects back, and Next treats the redirect as a hard
navigation and remounts — firing the effect again in an endless reload
loop. Skip router.replace when the computed query equals the current
one.
2026-06-03 19:49:22 +02:00
cc fdc454b798 Sync text filter keyword to URL query param
Extract a useQueryFilter hook that debounces the filter keyword and
mirrors it into the URL's q param via router.replace, so deep links
open pre-filtered and rapid typing doesn't flood history. Apply across
keys, files, find, and oslist, replacing their ad-hoc debounce logic.
2026-06-03 19:07:09 +02:00
cc 5dbfb2a011 Fix platform filter toggle behavior 2026-05-18 18:19:04 +02:00
cc f697b6d99e Use subtle loading skeleton for keys page
Replace animated Skeleton with deterministic-width divs to fix React
hydration mismatch caused by Math.random() generating different values
on server vs client.
2026-04-15 23:30:09 +02:00
cc fea2d5a2de Fix mobile header overflow and improve responsive layout
- Move platform filter buttons to content area on mobile
- Hide platform name in OS breadcrumb on mobile (redundant with version)
- Ensure Keys/Files tabs stay visible on all screen sizes
- Allow header left group to wrap on narrow viewports
2026-04-15 23:28:15 +02:00
cc 02d80b338e Add cursor-pointer to version history buttons 2026-04-15 20:04:39 +02:00