forked from finos/vuu
-
Notifications
You must be signed in to change notification settings - Fork 0
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
VUU54: Add validation for layout/metadata IDs #60
Merged
pling-scottlogic
merged 18 commits into
main
from
feature/layout-management/VUU54-idValidation
Oct 10, 2023
Merged
VUU54: Add validation for layout/metadata IDs #60
pling-scottlogic
merged 18 commits into
main
from
feature/layout-management/VUU54-idValidation
Oct 10, 2023
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
pling-scottlogic
requested review from
heswell,
vferraro-scottlogic and
cfisher-scottlogic
September 29, 2023 10:33
pling-scottlogic
changed the title
Add validation for layout/metadata IDs #54
VUU54: Add validation for layout/metadata IDs
Sep 29, 2023
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Show resolved
Hide resolved
pling-scottlogic
force-pushed
the
feature/layout-management/VUU54-idValidation
branch
from
October 3, 2023 09:40
f5b7123
to
2fa7b4f
Compare
vferraro-scottlogic
approved these changes
Oct 4, 2023
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/test/layout-persistence/LocalLayoutPersistenceManager.test.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/test/layout-persistence/LocalLayoutPersistenceManager.test.ts
Outdated
Show resolved
Hide resolved
vferraro-scottlogic
suggested changes
Oct 4, 2023
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
vuu-ui/packages/vuu-layout/src/layout-persistence/LocalLayoutPersistenceManager.ts
Outdated
Show resolved
Hide resolved
pling-scottlogic
requested review from
cfisher-scottlogic and
vferraro-scottlogic
October 6, 2023 10:57
cfisher-scottlogic
approved these changes
Oct 9, 2023
cfisher-scottlogic
approved these changes
Oct 10, 2023
vferraro-scottlogic
approved these changes
Oct 10, 2023
pling-scottlogic
deleted the
feature/layout-management/VUU54-idValidation
branch
October 10, 2023 09:47
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Adds validation to layout management, such that errors are thrown when attempting operations on layouts or metadata that do not have unique entries in local storage.
Change List
LayoutPersistenceManager
to return promisesuseLayoutManager
LocalLayoutPersistenceManager
to validate IDs:validateId
ensures there is a unique entry in local storage (metadata or layout, depending on provided flag) corresponding to the provided IDvalidateIds
ensures there is a unique metadata entry and a unique layout entry in local storage corresponding to the provided IDLocalLayoutPersistenceManager
Closes #54