stable

Clone or download

Read-only

Add button to display the project announcement

Clicking on the button triggers a CustomEvent show-project-announcement that can be listened by implementers. You can test the change by going into the folder and running `pnpm run dev`. Part of request #23465 Publish a project sidebar custom element Change-Id: Id48c01058214e55d766f9cb3423fe45a64338fdf

Modified Files

Name
M src/scripts/lib/project-sidebar/dev-loader.ts +6 −0 Go to diff View file
A src/scripts/lib/project-sidebar/src/Header/ProjectAnnouncement.test.ts +62 −0 Go to diff View file
A src/scripts/lib/project-sidebar/src/Header/ProjectAnnouncement.vue +47 −0 Go to diff View file
M src/scripts/lib/project-sidebar/src/Header/SidebarHeader.vue +2 −0 Go to diff View file
M src/scripts/lib/project-sidebar/src/Header/__snapshots__/SidebarHeader.test.ts.snap +1 −0 Go to diff View file
M src/scripts/lib/project-sidebar/src/ProjectSidebar.vue +9 −2 Go to diff View file
M src/scripts/lib/project-sidebar/src/configuration.ts +3 −0 Go to diff View file
M src/scripts/lib/project-sidebar/src/injection-symbols.ts +3 −0 Go to diff View file
M src/scripts/lib/project-sidebar/src/project-sidebar-example-config.ts +3 −0 Go to diff View file