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

Improve how errors related to package list update are presented on UI #1609

Open
wants to merge 3 commits into
base: serial-chunker
Choose a base branch
from

Conversation

anttimaki
Copy link
Collaborator

No description provided.

Code review feedback suggested storing errors as Error objects and
displaying them in modals when possible.

- UtilityMixin: the background update process just throws the error
  as-is, since failing silently is the still the appropriate action
- ImportProfileModal: show the error message as inline text, as we
  don't want to open the error modal while already in a modal
- ModListUpdateBanner: Allow user to view the error details in a modal
- SettingsView: show the error as inline text since returning markup
  from SettingsRow method doesn't really work
This improves readability on call sites and allows passing arguments
without having to explicitly define all prior arguments that use the
default values.
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