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: Introduce Application State #22

Merged
merged 1 commit into from
Dec 11, 2024
Merged

refactor: Introduce Application State #22

merged 1 commit into from
Dec 11, 2024

Conversation

vkhitrin
Copy link
Owner

Introducing application states which represent the major ongoing
procedure:

  • Normal: No significant ongoing procedure.
  • Startup: Startup initialized (Not used at the moment).
  • Refreshing: Refresh procedure (sync with remote) is ongoing.

Using the mentioned states, the following improvements were added:

  • A single refresh can run at any point in time. This will prevent users
    from spamming refresh requests.
  • UI elements are disabled during refresh procedure. Users will not be
    able to modify data until the procedure completes.

Fixing refresh toast notifications to correctly indicate when a refresh
procedure finished.

Updating README.

Resolved #20.

Introducing application states which represent the major ongoing
procedure:
- Normal: No significant ongoing procedure.
- Startup: Startup initialized (Not used at the moment).
- Refreshing: Refresh procedure (sync with remote) is ongoing.

Using the mentioned states, the following improvements were added:
- A single refresh can run at any point in time. This will prevent users
  from spamming refresh requests.
- UI elements are disabled during refresh procedure. Users will not be
  able to modify data until the procedure completes.

Fixing refresh toast notifications to correctly indicate when a refresh
procedure finished.

Updating README.

Resolved #20.
@vkhitrin vkhitrin merged commit 01581b0 into main Dec 11, 2024
2 checks passed
@vkhitrin vkhitrin deleted the refactor/app_state branch December 11, 2024 00:38
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.

[BUG] Application Crashes When Trying To Edit An Account That Is Being Refreshed
1 participant