Page MenuHomePhabricator

🚧[QS-GUI] Convert application code to use Javascript Modules
Closed, ResolvedPublic

Description

The existing code for the QueryService GUI uses plain Javascript files without any module support and requires the packaging system to individually import and run all script files. To use the code with a more modern build system it would be helpful if the code were using Javascript Modules so that the entrypoint in a single Javascript file automatically pulls in all the other application source.

Convert the codebase to use Javacsript Modules.

Acceptance Criteria

  • The application can be loaded by importing the init.js or embedInit.js file, without referencing all other application source files in the HTML page.

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Fix bogus and non-working @class tagsrepos/wmde/wikidata-query-gui!74thiemowmdeclassNamesmain
Restore eslint linting of source filesrepos/wmde/wikidata-query-gui!63arthurtaylorbugfix/restore-eslint-20260715main
Include the config tests in the QUnit test suiterepos/wmde/wikidata-query-gui!62arthurtaylorbugfix/run-config-tests-20260715main
Use node-modules grunt instead of system gruntrepos/wmde/wikidata-query-gui!60arthurtaylorfeat/use-npm-grunt-20260715main
Upgrade node docker images to current versionsrepos/wmde/wikidata-query-gui!59arthurtaylorfeat/upgrade-node-version-20260714main
Refactor to use Javascript Modulesrepos/wmde/wikidata-query-gui!52arthurtaylorfeat/use-javascript-modules-20260710main
Customize query in GitLab

Event Timeline

Change #1311027 had a related patch set uploaded (by Arthur taylor; author: Arthur taylor):

[operations/deployment-charts@master] wikidata-query-gui: Bump query-gui image version

https://gerrit.wikimedia.org/r/1311027

Change #1311027 merged by jenkins-bot:

[operations/deployment-charts@master] wikidata-query-gui: Bump query-gui image version

https://gerrit.wikimedia.org/r/1311027

ArthurTaylor updated Other Assignee, removed: ArthurTaylor.
ArthurTaylor added a subscriber: thiemowmde.