stable

Clone or download

Read-only

refactor: extract QuickLink as a dedicated component

This component is used by both Projects (replace the hard coded link when admin) and Recent items. It will help later to handle arrow keys navigation to those quick links. Part of story #26771: Index artifact fields (REST + Switch to) on updated artifacts only Change-Id: I120fe5ca65790c163b48d489f94769c20341ff6f

Modified Files

Name
M src/scripts/switch-to/po/fr_FR.po +1 −1 Go to diff View file
M src/scripts/switch-to/src/components/Body/Items/ItemEntry.vue +4 −6 Go to diff View file
M src/scripts/switch-to/src/components/Body/Items/__snapshots__/ItemEntry.test.ts.snap +6 −16 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/ProjectLink.vue +6 −8 Go to diff View file
A src/scripts/switch-to/src/components/Body/QuickLink.vue +31 −0 Go to diff View file
A src/scripts/switch-to/src/helpers/get-projects-from-dataset.test.ts +53 −0 Go to diff View file
A src/scripts/switch-to/src/helpers/get-projects-from-dataset.ts +47 −0 Go to diff View file
M src/scripts/switch-to/src/initiate-app.ts +3 −5 Go to diff View file
M src/scripts/switch-to/src/type.ts +5 −1 Go to diff View file