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

Rewrite getConfig to attempt to reacquire config if missing #15

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

jujaga
Copy link
Member

@jujaga jujaga commented Feb 21, 2024

Description

While this does not solve latent navigation issues when they show up because getConfig must remain a synchronous function, this does allow the application to attempt to recover should the user try further navigation actions after it finds the configuration is somehow missing from session storage.

SHOWCASE-3533

Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have read the CONTRIBUTING doc
  • I have checked that unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

While this does not solve latent navigation issues when they show up
because getConfig must remain a synchronous function, this does allow the
application to attempt to recover should the user try further navigation
actions after it finds the configuration is somehow missing from session
storage.

Signed-off-by: Jeremy Ho <jujaga@gmail.com>
@jujaga jujaga self-assigned this Feb 21, 2024
@jujaga jujaga added the bug Something isn't working label Feb 21, 2024
Copy link

Coverage Report (Application)

Totals Coverage
Statements: 70.67% ( 53 / 75 )
Methods: 62.5% ( 5 / 8 )
Lines: 81.63% ( 40 / 49 )
Branches: 44.44% ( 8 / 18 )

Copy link

Coverage Report (Frontend)

Totals Coverage
Statements: 49.71% ( 170 / 342 )
Methods: 48.68% ( 37 / 76 )
Lines: 54.5% ( 109 / 200 )
Branches: 36.36% ( 24 / 66 )

@kyle1morel kyle1morel merged commit bdb3bec into master Feb 21, 2024
19 checks passed
@kyle1morel kyle1morel deleted the bugfix/configlifecycle branch February 21, 2024 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants