This task is to publish the vitepress docs under documentation/frontend to the wikimedia.org documentation. It will help making the extension frontend specific docs broadly available and also ease the design review process of the new Vue components developed within.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T340453 [Epic] FY 2023-24 Growth Maintenance Work | |||
Open | None | T325082 Eslint: configure browser compatibility | |||
Open | None | T367429 [Epic] FY 2024-25 Growth Maintenance Work | |||
Open | Sgs | T296646 [Epic] Migration of front-end modules to Vue.js components | |||
Resolved | KStoller-WMF | T329033 [Internship] Modernization of web interfaces using Vue.js | |||
Resolved | Sgs | T328125 Spike: Experiment with creating GrowthExperiments components in external library | |||
Resolved | Sgs | T329034 Publish frontend docs to doc.wikimedia.org/ | |||
Resolved | BUG REPORT | • Catrope | T329987 Importing Codex ES module in Node.js doesn't work |
Event Timeline
Change 888022 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[integration/config@master] zuul: Add GrowthExperiments to extension-javascript-documentation
Change 888206 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):
[mediawiki/extensions/GrowthExperiments@master] Frontend docs: add build command in the root of the repository
Change 889984 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):
[mediawiki/extensions/GrowthExperiments@master] Frontend docs: fix typo in npm command
The vitepress build docs command fails with the following output:
import { CdxDialog, CdxButton } from "@wikimedia/codex"; ^^^^^^^^^ SyntaxError: Named export 'CdxButton' not found. The requested module '@wikimedia/codex' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from '@wikimedia/codex'; const { CdxDialog, CdxButton } = pkg;
Commented in T294993#8624960, see if this can be solved on the Codex packages rather than writing code in an unconventional way.
Change 889984 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Frontend docs: fix typo in npm command
Change 888206 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Frontend docs: add build command in the root of the repository
Change 888022 merged by jenkins-bot:
[integration/config@master] Zuul: [mediawiki/extensions/GrowthExperiments] Add JS doc build/publish jobs
Mentioned in SAL (#wikimedia-releng) [2023-02-21T16:04:47Z] <James_F> Zuul: [mediawiki/extensions/GrowthExperiments] Add JS doc build/publish jobs T329034
Change 891255 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[integration/docroot@master] doc: Add GrowthExperiments to MediaWiki components
Change 891255 merged by jenkins-bot:
[integration/docroot@master] doc: Add GrowthExperiments to MediaWiki components
Mentioned in SAL (#wikimedia-operations) [2023-02-22T16:22:59Z] <hashar@deploy1002> Started deploy [integration/docroot@b32e023]: doc: Add GrowthExperiments to MediaWiki components - T329034
Mentioned in SAL (#wikimedia-operations) [2023-02-22T16:23:07Z] <hashar@deploy1002> Finished deploy [integration/docroot@b32e023]: doc: Add GrowthExperiments to MediaWiki components - T329034 (duration: 00m 07s)