Skip to content

Restore #306 (face names), reverted by the WP4 merge - #318

Merged
samitbasu merged 1 commit into
mainfrom
restore-306
Nov 17, 2026
Merged

samitbasu merged 1 commit into
mainfrom
restore-306

Conversation

@samitbasu

Copy link
Copy Markdown
Owner

WP4's first commit (3675152, merged in #313) was built on a base from before #311 and carried that base's copies of the files #311 changed, so the merge silently put back the pre-#306 API. Gone: Face::text, TextFace and TextFace::named. Back: .named on the button, toggle and dropdown chains and on ButtonOptions. #306's own tests were reverted with the code, so CI stayed green. A consumer found it (E0599 on Face::text).

This re-applies #311 (a cherry-pick of 9e220d8 against its first parent) on current main.

  • button.rs, menu.rs, toggle.rs, examples/dialog.rs and the three test files are byte-identical to v0.1.0-m8.29 again.
  • WP4's own edits in builder.rs and owned/mod.rs are kept.
  • A scan of every merge since v0.1.0-m8.16 found no other file reverted to its pre-merge state.

cargo xtask ci (with fuzz) exits 0. There's no behaviour change relative to v0.1.0-m8.29.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PWiKKe8zfqGfVMCSC5L3up

WP4's first commit (3675152) was built on a base from before #311 and
carried that base's copies of the files #311 changed. When it merged
(#313), it silently put back the pre-#306 versions: `Face::text`,
`TextFace` and `TextFace::named` were gone, and `.named` was back on the
button, toggle and dropdown chains and on `ButtonOptions`. #306's own tests
were reverted with the code, so CI stayed green.

This re-applies #311's change (cherry-pick of 9e220d8 against its first
parent) on current main. button.rs, menu.rs, toggle.rs, examples/dialog.rs
and the three test files are byte-identical to v0.1.0-m8.29 again. WP4's
own edits in builder.rs and owned/mod.rs are kept.

No behaviour change relative to v0.1.0-m8.29.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PWiKKe8zfqGfVMCSC5L3up
@samitbasu
samitbasu merged commit d494f42 into main Nov 17, 2026
4 checks passed
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