stable

Clone or download

Read-only

refactor: Consistent naming for root store

The root store is named "root", its methode is named "useSwitchToStore", and is declared in a file named "index.ts". Let's uniform that: * s/useSwitchToStore/useRootStore/g * s/index.ts/root.ts/ No functional changes. Part of story #26771: Index artifact fields (REST + Switch to) on updated artifacts only Change-Id: I838e2b7955b2154f9b02c224c8a100a054254dc7

Modified Files

Name
M src/scripts/switch-to/src/components/AppBurningParrot.test.ts +2 −2 Go to diff View file
M src/scripts/switch-to/src/components/AppBurningParrot.vue +2 −2 Go to diff View file
M src/scripts/switch-to/src/components/AppFlamingParrot.test.ts +3 −3 Go to diff View file
M src/scripts/switch-to/src/components/AppFlamingParrot.vue +2 −2 Go to diff View file
M src/scripts/switch-to/src/components/Body/HighlightMatchingText.vue +2 −2 Go to diff View file
M src/scripts/switch-to/src/components/Body/Items/RecentItems/ListOfRecentItems.vue +2 −2 Go to diff View file
M src/scripts/switch-to/src/components/Body/Items/SearchResults/SearchResults.vue +2 −2 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/ListOfProjects.vue +2 −2 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/ProjectLink.vue +2 −2 Go to diff View file
M src/scripts/switch-to/src/components/Body/SwitchToBody.vue +2 −2 Go to diff View file
M src/scripts/switch-to/src/components/Body/TroveCatLink.vue +2 −2 Go to diff View file
M src/scripts/switch-to/src/components/Header/SwitchToFilter.test.ts +4 −4 Go to diff View file
M src/scripts/switch-to/src/components/Header/SwitchToFilter.vue +2 −2 Go to diff View file
M src/scripts/switch-to/src/components/Header/SwitchToHeader.vue +2 −2 Go to diff View file
M src/scripts/switch-to/src/initiate-app.ts +2 −2 Go to diff View file
M src/scripts/switch-to/src/stores/fulltext.test.ts +4 −4 Go to diff View file
M src/scripts/switch-to/src/stores/fulltext.ts +3 −3 Go to diff View file
M src/scripts/switch-to/src/stores/keyboard-navigation.test.ts +43 −43 Go to diff View file
M src/scripts/switch-to/src/stores/keyboard-navigation.ts +5 −5 Go to diff View file
R src/scripts/switch-to/src/stores/index.test.ts Go to diff View file
R src/scripts/switch-to/src/stores/index.ts Go to diff View file