-
Notifications
You must be signed in to change notification settings - Fork 1
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
UI-9566 - Ensure a best effort migration of the KPI titles even when some titles could not be successfully migrated. #129
Merged
NZepeda
merged 23 commits into
main
from
task/nze/UI-9566-support-migrating-empty-titles
Sep 25, 2024
Merged
Changes from 4 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
dd3f796
UI-9566 - Ensure kpis with titles corresponding to empty measures hav…
NZepeda 620462a
Minor improvement
NZepeda 88bab6b
Drop kpi titles that have an empty location.
NZepeda 5e66d80
Update src/4.3_to_5.0/getMigratedKpiTitles.ts
NZepeda 206fc72
Update test resource
NZepeda fd9896d
Merge branch 'task/nze/UI-9566-support-migrating-empty-titles' of git…
NZepeda 3876da1
Apply suggestions from code review
NZepeda 85700d8
Update tests
NZepeda 96a710a
UI-9566 - Ensure a best effort migration of the kpi titles. If there …
NZepeda 6f50c45
Update src/migrateContentServer.test.ts
NZepeda 71fbb2d
Fixups
NZepeda 1d5c86c
Merge branch 'task/nze/UI-9566-support-migrating-empty-titles' of git…
NZepeda 643e807
Merge main
NZepeda 53e4964
Use an empty folder test resource and a generator function to create …
NZepeda 22b5547
Update previously added tests to utilize the new test resource function
NZepeda 31e1754
Remove the now unnecessary test resource files
NZepeda bdcdec4
Move the location of addLegacyBookmarkToUIFolder to the test resource…
NZepeda 1eb0b41
The empty legacy ui folder test resource is truly empty
NZepeda 22ecfc2
Split out the invalid legacy bookmarks and their folder into their ow…
NZepeda 1cde91f
Split out the legacy kpi bookmark and folder into their own resource …
NZepeda 2280099
Create the smallLegacy ui folder with the new add legacy bookmark to …
NZepeda 26adf4b
Apply suggestions from code review
NZepeda dee3129
Ensure the test snapshots have not lost data
NZepeda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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.
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.
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.
For this fix, I went with dropping titles that have an empty tuple key and ensuring the rest of the titles are still migrated. However, I'm not 100% sure how one can even land in this state. It doesn't seem like it's valid so I dropped it, but if it is better to ensure this kind of custom title is supported, I can adapt the change to ensure it's also migrated.