Skip to content

Simplify Web Awesome integration and redundant record handling - #3428

Merged
max-sixty merged 3 commits into
mainfrom
codex/align-reply-addresses
Oct 21, 2026
Merged

max-sixty merged 3 commits into
mainfrom
codex/align-reply-addresses

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

Keep Web Awesome's controls while removing Leaf-owned integration machinery. Load its public theme through the existing CSS build, map Leaf's palette at the document root so upstream derived tokens use it, and deliver token/part overrides through the existing shared document/shadow stylesheet. This removes the theme parser, virtual JavaScript theme module and dynamic stylesheet registry.

Replace the custom transition engine and AST rewriting with a small guard for the reproduced select reopening race. Tooltip transitions remain unmodified, preserving the completion events Web Awesome's copy button consumes. Upstream keeps animation and public API ownership; unused Boolean cancellation settlement is removed. Keep the existing documentation-comment patch that prevents reconnecting controls from accumulating nodes.

Also remove the partial schema-completeness interpreter from exact-format record reads and unused persisted dependency edges from revision resources. Current-format malformed records now fail at use rather than silently reading as absent; resource capture still follows the full dependency closure.

Validation: browser build and pnpm run check; changed-file lint; focused Python model/process coverage; focused normal/reduced-motion select reopening, root palette customization, light/dark menu contrast, typography and focus in the document and declared shadows. An independent browser task exercised copy and command search. Matched menu and screenshot-control captures are byte-identical. Vendor/generated line changes are excluded from maintained-code savings.

The joined-turn Codex fixture failures and its undefined write_record are inherited: the exact failing case reproduces on base 80bb050e3, with its original record reader, and appears in main CI. Existing repairs are tracked in #3431 and #3427.

This was written by Codex on behalf of max-sixty

Load Web Awesome's public theme through the existing CSS pipeline and retain
Leaf's public token/part overrides in the shared document/shadow sheet. Remove
the CSS parser, virtual theme module and dynamic stylesheet registry.

Replace the custom transition engine and AST rewriter with a narrow guard for
the reproduced select/tooltip reopen race. Keep upstream animations and APIs;
drop unused Boolean cancellation settlement and its synthetic tests.

Remove the partial schema-completeness interpreter from exact-format record
reads. Malformed current-format data now fails at use rather than disappearing.
Keep revision resource closure without persisting unused dependency edges.
# Conflicts:
#	skills/leaf/kernel/kernel.json
#	skills/leaf/kernel/runtime/bundle-user-intent.js
#	skills/leaf/scripts/leaf/state.py
#	tests/model/test_user_views.py

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new early return after a superseded tooltip hide leaves wa-after-hide unissued, but Web Awesome's copy button waits for that event before restoring its icon and clearing isCopying. I reproduced this with a copy button whose tooltip reopens on wa-hide: after the feedback period, it remained at isCopying=true, status="success", and ignored another copy. The select reopening test still passes, but this path needs a completion or cancellation outcome that releases consumers of the superseded hide; the deleted copy-feedback case covered it.

@max-sixty
max-sixty merged commit 1de1e96 into main Oct 21, 2026
3 checks passed
@max-sixty
max-sixty deleted the codex/align-reply-addresses branch October 21, 2026 05:56
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.

2 participants