Repository navigation
Conversation
…h one Close button They show something rather than asking for a decision, so a Cancel / OK pair reads as if OK applied something. About, Shortcuts and Settings already offered one Close; these three join them. Clicking Close runs no command, and Esc still closes them.
Author
|
I don't know if any of my personal skills/agents.md affected this, and if it followed how contributors are supposed to contribute. Sorry for wasting your time if it did. |
Member
|
Thanks for picking up #782. This PR is identical to #785 (same code, test file and comments), which was opened earlier and has now landed in #975, so I'm closing this one as a duplicate. If you'd like to contribute, the issue list has plenty that nobody has started on yet. Come and join us on Discord too: https://discord.gg/artcraft Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #782.
These three dialogs only show something, so the Cancel / OK pair they shared with the
dialogs that ask for a decision read as if OK applied something. They now end with one
Close, as About, Shortcuts and Settings already did.
crates/ui-egui/src/panels/dialogs.rs: the three variants joininformational, which iswhat already gives About / Shortcuts / Settings one Close.
crates/ui-egui/src/tests_info_dialogs.rs: headless regression test — for each dialog, nobutton:dialogCancel, exactly one footer button, the painted text reads Close and neitherCancel nor OK, clicking Close closes the dialog, and Esc still closes it too.
docs/parity-checklist.md(MENU-HELP-SYSINFO) anddocs/whats-new.mdnote the change.contributors/people.toml: my own entry,sync_github_name = true(asked first, perAGENTS.md).
cargo xtask cipasses locally on macOS: fmt, clippy, heif, test, parity, layers, assets, wasm.Note: #785 is open and fixes the same issue. I did not see it until after I had this branch
ready (it is not linked from #782's timeline, and a search of open PRs for the issue did not
surface it). Take whichever is closer to what you want and close the other — no hard feelings
if that is #784... (#785).
One thing I could not do: About ▸ Models credits the models named in
Co-Authored-Bytrailers, and my agent environment does not hand me an exact attribution line to use, so this
commit carries none. If you want the work credited there, tell me the trailer text you use and
I will add it.