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

9360 receipt editor navigation with query params #9367

Merged

Conversation

mijohansen
Copy link
Contributor

@mijohansen mijohansen commented Dec 7, 2022

Description

This PR adds query parameter navigation. Due to some heavy binding between the selectedLayout and the state we are keeping the selectedLayout in the state. This should probably be cleaned at a later point so that the current selectedLayout is something that is managed by this layout-query parameter in its whole.

This is a pre-requisite for adding the "Confirmation on screen"-task. As this will make it possible to work on a particular page without loosing context as we refresh the page.

Related Issue(s)

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

@mijohansen mijohansen linked an issue Dec 7, 2022 that may be closed by this pull request
@github-actions github-actions bot added the solution/studio/designer Issues related to the Altinn Studio Designer solution. label Dec 7, 2022
@lgtm-com
Copy link
Contributor

lgtm-com bot commented Dec 7, 2022

This pull request introduces 1 alert when merging e559148 into 03bebcd - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

Heads-up: LGTM.com's PR analysis will be disabled on the 5th of December, and LGTM.com will be shut down ⏻ completely on the 16th of December 2022. Please enable GitHub code scanning, which uses the same CodeQL engine ⚙️ that powers LGTM.com. For more information, please check out our post on the GitHub blog.

@mijohansen mijohansen marked this pull request as ready for review December 7, 2022 18:11
@mijohansen mijohansen force-pushed the 9360-receipt-editor-navigation-with-query-params branch from 9c2ee22 to 018b51a Compare December 7, 2022 18:16
Copy link
Contributor

@TomasEng TomasEng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ser veldig bra ut, bare litt småpirk.

@mijohansen mijohansen merged commit 5792fe6 into master Dec 8, 2022
@mijohansen mijohansen deleted the 9360-receipt-editor-navigation-with-query-params branch December 8, 2022 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solution/studio/designer Issues related to the Altinn Studio Designer solution.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Receipt editor: Navigation with query params
3 participants