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

Recoil upgrade and overall refactor of frontend #523

Merged
merged 31 commits into from
Jul 26, 2022

Conversation

kristoferlund
Copy link
Member

@kristoferlund kristoferlund commented Jul 25, 2022

  • Upgraded Recoil to latest version to get access to more solid support for effects
  • Replace selectors/hooks that initialise atoms with atoms that self initialise: user, period, periodsettings, settings.
  • Refactoring of all selectors, atoms and api hooks:
    • More consistent naming
    • More consistent typing
    • Remove unused functions: ApiQuery, useAuthApiQuery
    • Added AccessToken selector
    • Replaced eventlog hooks with selectors because of infinite loop issue
  • Periods
  • Final Form:
    • Use built-in error handling
  • Error boundaries / Suspense
    • Removed some suspense points at the component level
    • Added a suspense point at page content level to minimise flicker on page load

@kristoferlund kristoferlund changed the title Refactor/recoil upgrade Recoil upgrade and overall refactor of frontend Jul 25, 2022
@kristoferlund kristoferlund merged commit 628168a into main Jul 26, 2022
@kristoferlund kristoferlund deleted the refactor/recoil_upgrade branch July 26, 2022 18:07
@kristoferlund kristoferlund mentioned this pull request Aug 24, 2022
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.

Changes to Period settings are not reflected in the Assign quantifiers dialog
1 participant