-
Notifications
You must be signed in to change notification settings - Fork 70
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 full reload of Preview (v4) #12534
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
area/ui-editor
Area: Related to the designer tool for assembling app UI in Altinn Studio.
solution/studio/designer
Issues related to the Altinn Studio Designer solution.
labels
Mar 18, 2024
This was
linked to
issues
Mar 18, 2024
github-actions
bot
added
the
area/dashboard
Area: Related to the dashboard application
label
Mar 20, 2024
github-actions
bot
added
the
kind/dependencies
Used for issues or pull requests that are dependency updates
label
Mar 21, 2024
mlqn
changed the title
Remove full reload of Preview
Remove full reload of Preview (v4)
Mar 26, 2024
ghost
self-requested a review
April 3, 2024 09:04
ghost
reviewed
Apr 3, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a lot of great work! 👏
A few comments added 😄
...mponents/TextResource/TextResourceEditor/TextResourceValueEditor/TextResourceValueEditor.tsx
Show resolved
Hide resolved
frontend/packages/ux-editor/src/hooks/mutations/useDeleteLayoutMutation.test.ts
Outdated
Show resolved
Hide resolved
frontend/packages/ux-editor/src/hooks/mutations/useDeleteLayoutMutation.test.ts
Outdated
Show resolved
Hide resolved
ghost
approved these changes
Apr 5, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM😄
Jondyr
pushed a commit
that referenced
this pull request
Jun 10, 2024
* Invalidate queries of Preview instead of reloading it * Revert v3 changes * Refactor invalidate/refetch functions * Move refetch to mutations * Remove store & reducers * Remove layout from storage * New hook to handle selectedLayoutSetName * Cleanup imports * Refactoring * Cleanup useSelectedFormLayoutSetName hook * Remove warning * Revert changes of useSelectedFormLayoutSetName * Fix preview when updating layout name * Remove redux * Refactor preview path * Fix tests * Remove applicationMetadataSagas * Fix unit tests * Fix tests * Fix tests * Fix warnings * Move useSelectedFromLayoutName in AppContext * Cleanup * Add tests for AppContext * Add missing tests * Add missing tests for AppContext * Cleanup tests * Fix Preview for v3 * Fix extra reloads * Update landing page to open right layout * Remove extra refetch * Fix refetch/reload of preview when deleting a component * Fix comments * Remove removeSelectedFormLayoutSetName * Fix unit tests * Fix unit tests * Changes after cr * Add missing changes * Add tests for TextResourceValueEditor
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/dashboard
Area: Related to the dashboard application
area/ui-editor
Area: Related to the designer tool for assembling app UI in Altinn Studio.
kind/dependencies
Used for issues or pull requests that are dependency updates
solution/studio/designer
Issues related to the Altinn Studio Designer solution.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
redux
frompackages/ux-editor
& removedapplicationMetadataSagas
fromapp-development
(Remove Redux from the forms editor package #10500)renderHookWithMockStore
withrenderHookWithProviders
& removedrenderWithMockStore
app-preview
to open the right layoutuseSearchParamsState
into shareduseSelectedFormLayoutName
,useSelectedFormLayoutSetName
anduseSelectedTaskid
Related Issue(s)
Verification