Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revamp UI #9

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Revamp UI #9

wants to merge 8 commits into from

Conversation

Cykelero
Copy link
Collaborator

This PR completely revamps the crash reporter UI, and adds the ability for the user to provide details about the crash.

The main changes are:

  • Most elements have moved, most text has been reworded or removed
  • The crash log is now hidden behind a “Show Details” button
  • There is now a field for the user to describe how the crash happened

2024-11-17 19 00 Screenshot

@DivineDominion
Copy link
Collaborator

DivineDominion commented Nov 18, 2024

Thank you!

  • What happens when the button is clicked?
  • Did you explore the disclosure triangle option?
  • (Note to self:) The text view's font size and/or inset feels a bit on the small side. We might increase this to look more like (moden) text fields out of the box.

- Remove most constraints, use stack views instead
- Remove NoClippingView, which isn't needed when building with Sonoma SDKs and up
- Simplify the show/hide code to only hide the stack views themselves, and remove the associated outlets
The system doesn't seem to provide a large image for the warning triangle, so we're getting it from the system Diagnostics Reporter app.
- Window title and body title now mention app name
- Some of the text has been reworded, some removed
- Elements are reordered
The privacy policy button is hidden alongside the crash log. The window is now narrower.
- Fix email field placeholder not showing, and reword
- Make title text size standard
And bold the field labels.
- Updated screenshots
- Mention userProvidedDetails POST variable
@Cykelero
Copy link
Collaborator Author

I modeled the UI after the built-in macOS crash reporter; so I went along with their "Show/Hide Details" button, and the way it reveals the details inline:

That's also where I moved the privacy policy button, which didn't fit in the button row anymore.

A disclosure arrow might make more sense, but might also look less familiar, and make the window feel more cluttered because of how it would stand out.

@Cykelero Cykelero marked this pull request as ready for review November 18, 2024 13:00
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