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

refactor: simplify popup #12

Merged
merged 1 commit into from
Feb 9, 2024
Merged

refactor: simplify popup #12

merged 1 commit into from
Feb 9, 2024

Conversation

joshka
Copy link
Member

@joshka joshka commented Feb 9, 2024

  • store the message in the popup rather than in the app state
  • make the popup an Option<(PopupMessageWidget, PopupMessageState)>
    rather than having separate error_message and info_message fields
  • rename some methods to what they actually do rather than what Action
    they are associated with

- store the message in the popup rather than in the app state
- make the popup an Option<(PopupMessageWidget, PopupMessageState)>
  rather than having separate error_message and info_message fields
- rename some methods to what they actually do rather than what Action
  they are associated with
@kdheepak kdheepak merged commit 9b22d12 into main Feb 9, 2024
1 check passed
@kdheepak kdheepak deleted the jm/refactor-popup branch February 9, 2024 10:33
@kdheepak kdheepak mentioned this pull request Feb 9, 2024
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.

None yet

2 participants