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

remove loading overlay before warning toast appears #550

Merged
1 commit merged into from
Aug 4, 2022

Conversation

HenrikeW
Copy link
Contributor

@HenrikeW HenrikeW commented Aug 4, 2022

Related issue(s) and PR(s)

The toast appearing after a failing time report attempt was covered by the loading overlay.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other

List of changes made

The loading overlay is switched off before the warning error is caught

Screenshot of the fix

image

Testing

Test a failed report:

  • add an invalid combination of issue and activity:
    • choose "Design" in the activity dropdown
    • type any valid issue number and select the issue
    • add it with the plus button
  • add a time entry on the newly added row
  • press "Save changes"
  • you should see the loading overlay for a short while, then it should disappear and a warning toast should be shown

Test a success report:

  • add a time entry to any valid row in your interface
  • press "Save changes"
  • you should see the same behavior as before: the loading overlay for a short while, then it should disappear and a success toast should be shown

Further comments

Definition of Done checklist

  • I have made an effort making the commit history understandable
  • I have performed a self-review of my own code and commented any hard-to-understand areas
  • Tests and lint/format validations are passing
  • My changes generate no new warnings

@HenrikeW HenrikeW requested review from jonandernovella and a user August 4, 2022 12:20
@ghost ghost merged commit a57ec17 into develop Aug 4, 2022
@ghost ghost deleted the fix/uncover-warning-toast branch August 4, 2022 12:23
@jonandernovella jonandernovella mentioned this pull request Aug 8, 2022
This pull request was closed.
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