-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove full reload of Preview (v4) (#12534)
* 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
- Loading branch information
Showing
179 changed files
with
2,183 additions
and
1,909 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
import handleServiceInformationReducer from '../features/overview/handleServiceInformationSlice'; | ||
import applicationMetadataReducer from '../sharedResources/applicationMetadata/applicationMetadataSlice'; | ||
import userReducer from '../sharedResources/user/userSlice'; | ||
|
||
export const rootReducer = { | ||
serviceInformation: handleServiceInformationReducer, | ||
applicationMetadataState: applicationMetadataReducer, | ||
userState: userReducer, | ||
}; |
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
9 changes: 0 additions & 9 deletions
9
frontend/app-development/sharedResources/applicationMetadata/applicationMetadataSagas.ts
This file was deleted.
Oops, something went wrong.
72 changes: 0 additions & 72 deletions
72
frontend/app-development/sharedResources/applicationMetadata/applicationMetadataSlice.ts
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
frontend/app-development/sharedResources/applicationMetadata/get/getAppMetadataSagas.ts
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
frontend/app-development/sharedResources/applicationMetadata/put/putAppMetadataSagas.ts
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
...app-development/sharedResources/applicationMetadata/selectors/applicationMetadata.test.ts
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
...-development/sharedResources/applicationMetadata/selectors/applicationMetadataSelector.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.