Commit Graph
51 Commits
Author SHA1 Message Date
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 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 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 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 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 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 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 5c9407c405 Refactor XML diff to key-level comparison
Replace line-by-line text diff with semantic key-level diff that:
- Compares top-level plist keys using parsed JSON values
- Serializes changed key-value pairs back to XML form
- Shows neighboring keys for context (sorted alphabetically)
2026-04-15 20:01:15 +02:00
cc 5934043376 Shorten footer link labels 2026-04-15 19:53:33 +02:00
cc b166f450a4 Subtle loading skeleton for home page 2026-04-15 19:27:23 +02:00
cc e5e5c0c717 Add home page filter and display product names
- Add filter input to home page header (searches by product name/version)
- Move platform toggles (iOS/macOS/OS X) to header
- Display product names (e.g., "macOS Big Sur") on each build card
- Normalize platform names: mac→macOS, osx→OS X
- Center section headers with larger font
- Support left/right positions in HeaderPortal
2026-04-15 19:22:34 +02:00
cc 5e30a8b930 Add responsive header with quick filter tokens for entitlement keys
- Move filter controls into sticky header via React portal
- Responsive layout: wraps to 2 rows on mobile, single row on desktop
- Keys/Files nav shows icons only on mobile, icons+text on larger screens
- Add tokenizer that extracts frequent terms from entitlement keys
- Display clickable token pills for quick filtering (apple, security, etc.)
- Move item counts below header, above lists
- Fix light mode contrast (darken muted-foreground)
- Reduce homepage spacing
2026-04-15 19:06:23 +02:00
cc 7d6fea9ef0 Redesign header layout and compact filter controls
- Move Keys/Files button group left-aligned after version dropdown
- Add icons to Keys/Files buttons with longer labels
- Use compact icon-only expand/collapse buttons on files and find pages
- Make platform filters (iOS/mac/osx) toggleable instead of anchors
- Optimize find page: filter controls right-aligned on same row as title
- Simplify keys page to flat grid layout without tree grouping
2026-04-15 18:34:32 +02:00
cc 53aeb562b7 Fetch data from separate GitHub Pages instead of bundling
- Add NEXT_PUBLIC_DATA_URL env var pointing to entdb-data Pages
- Refactor env.ts: dataURL, withBase (cleaner naming)
- Remove data download step from build workflow
2026-04-15 17:10:29 +02:00
cc bb72bd3f57 Fix mobile layout for keys page and responsive diff view
- Fix virtualizer row height estimation by tracking actual column count
- Batch consecutive single keys into grid rows for better space usage
- Default diff view to unified mode on narrow screens (<480px)
2026-04-15 16:12:05 +02:00
cc 0e55fc084f Show all minor versions for latest 2 major iOS/macOS releases
In Major Releases view, always display all minor versions for the
latest 2 major versions of iOS and macOS instead of just the latest
build of each major version.
2026-04-15 11:02:11 +02:00
cc e14355fb69 Fix duplicate basePath in version navigation
router.push already handles basePath automatically, so using addBasePath
or including basePath in pathname caused double /entdb/entdb/ paths.
2026-04-15 02:01:15 +02:00
cc e1f47892da Improve OS list display with product name, version and build number 2026-04-14 20:25:30 +02:00
cc bbb288189f Improve diff summary layout and fix dark mode colors
- Display each changed key as separate colored badge
- Fix dark mode contrast for added/removed/changed badges
- Better visual organization with flex-wrap layout
2026-04-14 19:58:18 +02:00
cc a6f90462a5 Improve footer and version history display
- Add build timestamp to footer
- Rename GitHub links for clarity (Source Code, Firmware Indexer, Raw Data)
- Remove height limit from version history sidebar
2026-04-14 19:51:49 +02:00
cc 881311beef Update header, footer and README for repo reorganization
- Remove duplicate links from header, keep only theme toggle
- Add links to all three repos (Website, Indexer, Data) in footer
- Update README with features, live site link, and repo table
2026-04-14 19:41:58 +02:00
cc 614511d59a Add footer and improve layout structure
- Create Footer component with links to GitHub and Mastodon
- Restructure root layout with flex column for sticky footer
- Update OS layout to use flex-1 for proper height inheritance
2026-04-14 19:38:15 +02:00
cc 2b9dd986b2 Optimize filesystem and find page performance
- Memoize FileItem and FileSystem components
- Use useMemo for tree building
- Replace use-debounce with native setTimeout debouncing
2026-04-14 19:36:12 +02:00
cc 4ca5c775dc Optimize layout for maximum content space
- Fix navbar height to h-14 (56px) for consistency
- Use flexbox layout to fill available viewport height
- Reduce header padding and margins
- Add min-h-0 for proper flex overflow handling
2026-04-14 19:36:02 +02:00
cc 25db426e62 Enhance diff viewer with side-by-side mode and theme support
- Add toggle between unified and split (side-by-side) view
- Make diff viewer theme-aware for light/dark modes
- Add context lines around changes
- Make diff summary collapsible for large change sets
2026-04-14 19:35:52 +02:00
cc fad0b347c0 Improve OS list with anchors and major version grouping
- Add anchor navigation for quick jumps to OS groups
- Rename toggle from "Latest Only/All Versions" to "Major Releases/All Builds"
- Group versions by major version when showing all builds
2026-04-14 19:35:44 +02:00
cc 996584f99d Add visual feedback to copy button and download button
- Replace toast notification with visual state change (green check icon)
- Add new DownloadButton component for saving XML as .plist files
2026-04-14 19:35:40 +02:00
cc 868f871863 UI improvements: theme support, version history, layout fixes
- Add dark/light mode toggle with next-themes
- Redesign binary detail page with version history sidebar and diff support
- Improve keys page with multi-column grid layout
- Update navtop styling to match content padding
- Replace checkbox with segmented button for "Latest Only" toggle
- Upgrade to Next.js 16, React 19, TypeScript 6
2026-04-14 18:20:11 +02:00
cc 2ae939b0c3 Add search filter and expand/collapse to find page
- Find page now has same controls as files page
- Both pages support expand all / collapse all buttons
- FileSystem component accepts controlled expandAll state
- Fixed single-key groups to not show as collapsible
2026-04-14 17:48:34 +02:00
cc 162f457503 Fix routing and optimize paths layout
- Fix double base path in tab navigation (router.push handles it)
- Use multi-column grid for files in shallow folders
- Show item counts always (not just on hover)
- Better use of horizontal space on desktop
2026-04-14 17:42:22 +02:00
cc 52b377b6a7 Improve keys and paths UI
Keys page:
- Add Expand All / Collapse All buttons
- Use grid layout for better space usage
- Improved loading skeleton with staggered animations

Paths page:
- Add search filter with path count
- Folder/file icons with chevrons
- Smart collapse (top level expanded, nested collapsed)
- Show item counts on hover
2026-04-14 17:37:22 +02:00
cc 59f2c0484b Improve navigation and keys UI
- Add version switcher dropdown to quickly jump between OS versions
- Redesign keys page with grouped, collapsible sections
- Dim common prefix and highlight unique suffix for better scanning
- Add tab navigation between Entitlement Keys and Browse Files
- Show key counts per group and total
2026-04-14 17:31:03 +02:00
cc c13f83e3f7 Replace @pierre/diffs with custom diff viewer to fix freeze
The @pierre/diffs library was causing the browser to freeze when
comparing certain versions. Implemented a simple line-based diff
that only shows added/removed lines.
2026-04-14 17:17:02 +02:00
cc 03286dca14 Parse plist to JSON for accurate structural diff
- Convert XML plist to JSON for proper key sorting and comparison
- Generate normalized XML from sorted JSON for diffing
- Hide unchanged lines in diff view (collapsedContextThreshold: 0)
- Simplify diffPlistKeys to use JSON comparison
2026-04-14 17:09:18 +02:00
cc 3f035977cd Use @pierre/diffs library for side-by-side diff view
- Replace custom diff implementation with @pierre/diffs FileDiff component
- Add proper indentation to normalized plist output for accurate diffing
- Keep key-level diff summary for quick overview
2026-04-14 17:05:43 +02:00
cc 2c7069e6ba Add version history and side-by-side diff for binary entitlements
- Show all OS versions where the same binary path exists
- Add side-by-side diff view comparing entitlements between versions
- Normalize plist by sorting root-level keys before comparison
- Add plist utilities for parsing and key extraction
2026-04-14 16:56:57 +02:00