stable

Clone or download

Read-only

Closes request #31165: Extract Vue strictInject pattern in a re-usable library

No functional changes. Change-Id: I777afac53ea90db9f13fde13887b23359fc3a61e

Modified Files

Name
M lib/frontend/project-sidebar-internal/package.json +1 −0 Go to diff View file
M lib/frontend/project-sidebar-internal/pnpm-lock.yaml +2 −0 Go to diff View file
M lib/frontend/project-sidebar-internal/src/Header/LinkedProjects.test.ts +8 −15 Go to diff View file
M lib/frontend/project-sidebar-internal/src/Header/LinkedProjects.vue +1 −1 Go to diff View file
M lib/frontend/project-sidebar-internal/src/Header/PrivacyBadge.test.ts +6 −8 Go to diff View file
M lib/frontend/project-sidebar-internal/src/Header/PrivacyBadge.vue +1 −1 Go to diff View file
M lib/frontend/project-sidebar-internal/src/Header/ProjectAnnouncement.test.ts +22 −14 Go to diff View file
M lib/frontend/project-sidebar-internal/src/Header/ProjectAnnouncement.vue +1 −1 Go to diff View file
M lib/frontend/project-sidebar-internal/src/Header/ProjectFlags.test.ts +10 −15 Go to diff View file
M lib/frontend/project-sidebar-internal/src/Header/ProjectFlags.vue +1 −1 Go to diff View file
M lib/frontend/project-sidebar-internal/src/Header/SidebarHeader.test.ts +8 −16 Go to diff View file
M lib/frontend/project-sidebar-internal/src/Header/SidebarHeader.vue +1 −1 Go to diff View file
M lib/frontend/project-sidebar-internal/src/SidebarCollapseButton.test.ts +8 −17 Go to diff View file
M lib/frontend/project-sidebar-internal/src/SidebarCollapseButton.vue +1 −1 Go to diff View file
M lib/frontend/project-sidebar-internal/src/SidebarFooter.test.ts +12 −16 Go to diff View file
M lib/frontend/project-sidebar-internal/src/SidebarFooter.vue +1 −1 Go to diff View file
M lib/frontend/project-sidebar-internal/src/SidebarLogo.test.ts +10 −23 Go to diff View file
M lib/frontend/project-sidebar-internal/src/SidebarLogo.vue +1 −1 Go to diff View file
M lib/frontend/project-sidebar-internal/src/Tools/ToolList.test.ts +6 −9 Go to diff View file
M lib/frontend/project-sidebar-internal/src/Tools/ToolList.vue +1 −1 Go to diff View file
M lib/frontend/project-sidebar-internal/src/injection-symbols.ts +4 −3 Go to diff View file
A lib/frontend/vue-strict-inject/.gitignore +1 −0 Go to diff View file
A lib/frontend/vue-strict-inject/README.md +17 −0 Go to diff View file
A lib/frontend/vue-strict-inject/package.json +30 −0 Go to diff View file
A lib/frontend/vue-strict-inject/pnpm-lock.yaml +186 −0 Go to diff View file
R lib/frontend/project-sidebar-internal/src/strict-inject.test.ts Go to diff View file
R lib/frontend/project-sidebar-internal/src/strict-inject.ts Go to diff View file
A lib/frontend/vue-strict-inject/tsconfig.json +7 −0 Go to diff View file
R plugins/pullrequest/scripts/pullrequest-overview/src/helpers/strict-inject.ts Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/package.json +1 −0 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/src/components/App.test.ts +25 −29 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/src/components/App.vue +1 −1 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/src/components/CsrfToken.vue +1 −1 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/src/components/Servers/AddServerModal.test.ts +18 −24 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/src/components/Servers/AddServerModal.vue +1 −1 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/src/components/Servers/ListOfServers.vue +1 −1 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/AllowAllProjectsCheckbox.vue +1 −1 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/ProjectAllower.test.ts +17 −16 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/ProjectAllower.vue +1 −1 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/RestrictServerButton.vue +1 −1 Go to diff View file
D plugins/onlyoffice/scripts/siteadmin/src/helpers/strict-inject.test.ts +0 −65 Go to diff View file
D plugins/onlyoffice/scripts/siteadmin/src/helpers/strict-inject.ts +0 −33 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/src/injection-keys.ts +3 −3 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/vite.config.ts +3 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/package.json +3 −2 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/OverviewTabs.test.ts +12 −5 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/OverviewTabs.vue +1 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/ReadOnlyInfo/PullRequestCIStatus.test.ts +5 −5 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/ReadOnlyInfo/PullRequestCIStatus.vue +1 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/ReadOnlyInfo/PullRequestRelativeDate.test.ts +14 −7 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/ReadOnlyInfo/PullRequestRelativeDate.vue +1 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Threads/OverviewNewCommentForm.test.ts +19 −9 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Threads/OverviewNewCommentForm.vue +1 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Threads/OverviewThreads.test.ts +23 −11 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Threads/OverviewThreads.vue +1 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/constants.ts +14 −12 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/vite.config.ts +3 −0 Go to diff View file