Skip to content

B7: notification center (pending, groups, page form, US names) and in-page search (DECISIONS 265) - #117

Merged
bmjcoding merged 8 commits into
mainfrom
claude/gaps-b7-notices
Nov 23, 2026
Merged

bmjcoding merged 8 commits into
mainfrom
claude/gaps-b7-notices

Conversation

@bmjcoding

Copy link
Copy Markdown
Owner

What

Batch B7 of the CIMIP gaps stream (cimip-gaps-2, DECISIONS 265).

Notification center

  • Pending mark: a 16px Circle in the mark's seat, with the words in the title.
  • Grouped repeats: an entry can hold entries and a count.
    • The row shows "×N" and the core chevron, turned the same way as DisclosureRow.
    • A group is unread while any of its entries is.
    • Errors are never grouped; an error entry is lifted out to the top level.
  • NotificationList: the same rows as a page, for a phone's tab bar, with head={false}, current and Clear all.
  • US names: NotificationCenter and NotificationCenterProps. The British names stay as aliases.
  • HTML skill: the notifications module draws pending, groups (their open state and focus kept across setEntries), current and Clear all.

In-page search

  • SearchField: Esc clears the field first; the next Esc on the empty field calls onEscape. It never closes a surrounding dialog, leaves input-method composition alone, and respects disabled and read-only.
  • SearchPassages and SearchPassage: server results as passages.
  • SearchMatch and markMatches: marks the server's match ranges by weight only, without splitting a code point.
  • rows and lines: a results budget the caller sets.

Review

  • Astra (code): 6/10, with six blocking findings, all fixed in 7de02814. The lead checked each fix.

    • the skill's count went into innerHTML unescaped;
    • the group's unread state disagreed with the counts;
    • the skill's setEntries closed open groups and dropped focus;
    • markMatches could split a surrogate pair;
    • SearchField's Esc also closed a dialog and ignored composition;
    • a disabled or read-only search could still be cleared.

    Astra's three polish findings are fixed too.

  • Pixels: the lead checked them, including the re-taken chevron.

  • No council round (DECISIONS 226).

  • Review round: 60.

Checks

  • Before the owner paused tests (DECISIONS 271):
    • notices-search: 28 of 28.
    • icons and bundle: 143 of 143.
    • overlays-search: 117 of 117.
    • The skill suites passed except two failures that predate this branch (see the batch report).
  • On this head (main e2c7dfcf merged in): build, both typechecks, lint, and re-recorded sizes. The fix pass's tests were written but not run.

Size

  • NotificationCentre: 147,263 → 152,003 bytes. Its bundle limit is now 152,550, under DECISIONS 246.
  • Skill notifications module: cap raised to 12,450 bytes.

🤖 Generated with Claude Code

bmjcoding and others added 8 commits November 22, 2026 17:34
…nList (the page form), in-page search with server results, NotificationCenter (cimip-gaps-2, DECISIONS 265)

- NotificationEntry: status "pending" (Phosphor Circle at 16, secondary ink), entries/count (a group that opens in place on the reveal's track), current.
- NotificationList: the center's rows in the page (a phone's tab-bar destination, a sidebar's entries; head={false}), no popover, title, rim or glide.
- NotificationCenter and NotificationCenterProps, with the British names as aliases.
- SearchField, SearchPassages, SearchPassage, SearchMatch, markMatches: search in a page or panel over a server's passages, loading in a LoadingShape.
- useReveal takes focusFirst (engineering, no pixel).
- The HTML skill's notifications module draws pending, groups and current (cap 9,250 to 11,350).
- Round 56 (to be renumbered at merge), foundations, README, tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… moves to 57, sizes re-recorded

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…8 bytes (147,224 measured; 147,250)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… at its start

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…SearchPassages and SearchResults' counts as presets (audit F7); round 57 in two unlike search domains

- NotificationList: onClearAll adds a foot with Clear all at its start (DECISIONS 269), no View all.
- SearchPassages: rows and lines, a fixed results budget that scrolls inside; unset, it grows.
- SearchResults (React and the skill's usage): the logo, picture and See all counts are a shop's presets any app sets.
- Round 57's second search domain is a support inbox's messages, with a budget of three passages.
- Limits from measurements: NotificationCentre 152,050 (152,000) and 147,500 with the plugin (147,477).
- Tests written for the budget and the page form's Clear all; not run (DECISIONS 271, the owner's pause).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…60, sizes re-recorded

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1. Skill: a group's count is the app's only as a whole number above 0, else the entries are counted; nothing else reaches innerHTML.
2. One unread rule in both renderers (row, dot, count, Mark all as read): a group is unread while any of its entries is; its own flag is ignored.
3. Skill: setEntries keeps each group open or closed by id and gives focus back to the entry that held it.
4. markMatches widens a boundary inside a code point (a surrogate pair) to the whole of it.
5. SearchField: onEscape's Esc stops propagation (a surrounding dialog stays open); an Esc during IME composition is left alone (isComposingKey).
6. SearchField: disabled or readOnly disables the clear button, and Esc leaves the words.
7. Errors never group, enforced in both renderers: a danger entry is drawn at the top level after its group.
8. The group's chevron follows DisclosureRow (chevron-right closed, mirrored RTL; chevron-down open); a current group is aria-current in React.
9. Sizes from one measurement: NotificationCentre 147,263 to 152,003 (export sizes); limits from the static graph, 152,550 and 148,050 with the plugin; the skill module 12,413 (cap 12,450).
Round moves to 60 after merging main (B2, B3). Tests written and corrected (the hostile-status test counts the row's new data-id); none run (DECISIONS 271).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bmjcoding
bmjcoding merged commit a51dd5b into main Nov 23, 2026
1 of 2 checks passed
@bmjcoding
bmjcoding deleted the claude/gaps-b7-notices branch November 23, 2026 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant