Skip to content

System Info, All Metadata and What's New end with one Close button, like About (#782) - #852

Closed
Kathir-D wants to merge 1 commit into
storytold:mainfrom
Kathir-D:fix/782-dialog-close
Closed

Kathir-D wants to merge 1 commit into
storytold:mainfrom
Kathir-D:fix/782-dialog-close

Conversation

@Kathir-D

Copy link
Copy Markdown

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 join informational, which is
    what already gives About / Shortcuts / Settings one Close.
  • crates/ui-egui/src/tests_info_dialogs.rs: headless regression test — for each dialog, no
    button:dialogCancel, exactly one footer button, the painted text reads Close and neither
    Cancel nor OK, clicking Close closes the dialog, and Esc still closes it too.
  • docs/parity-checklist.md (MENU-HELP-SYSINFO) and docs/whats-new.md note the change.
  • contributors/people.toml: my own entry, sync_github_name = true (asked first, per
    AGENTS.md).

cargo xtask ci passes 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-By
trailers, 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.

…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.
@Kathir-D

Copy link
Copy Markdown
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.

Copy link
Copy Markdown
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

@bflatastic bflatastic closed this Oct 11, 2026
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.

System Info, All Metadata and What's New show Cancel and OK although there is nothing to confirm (should be one Close, like About)

2 participants