stable

Clone or download

Read-only

refactor: move card-fields lib to cardwall

"@tuleap/plugin-agiledashboard-card-fields" is used by both planning and kanban. Since we are moving kanban in a dedicated plugin, we have to move card-fields lib to a dedicated place. Since the semantic card fields is managed by cardwall plugin, it seems logical to have the lib card-fields also managed by cardwall. This forces us to move the build of cardwall.js to be moved in a legacy folder with an independant build. BTW the unused Tracker_CardFields class that was coming from planning v1 is deleted. No functional changes: * Card fields are still displayed in pv2 and kanban * Cardwall cards can still be moved/stacked/… Part of request #32645: Extract kanban from agiledashboard Change-Id: Ia9d566c882bda0fed98d18ce7046b923c36e4175

Modified Files

Name
M plugins/agiledashboard/scripts/kanban/package.json +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/pnpm-lock.yaml +3 −3 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/kanban-item/kanban-item.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/themes/_kanban-item.scss +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/themes/main.scss +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/package.json +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/pnpm-lock.yaml +3 −3 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/app.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/themes/_backlog-item-details.scss +1 −1 Go to diff View file
M plugins/cardwall/include/cardwallPlugin.php +7 −3 Go to diff View file
A plugins/cardwall/scripts/legacy/package.json +16 −0 Go to diff View file
A plugins/cardwall/scripts/legacy/pnpm-lock.yaml +6 −0 Go to diff View file
R plugins/cardwall/scripts/CardsEditInPlace.js Go to diff View file
R plugins/cardwall/scripts/ajaxInPlaceEditorExtensions.js Go to diff View file
R plugins/cardwall/scripts/cardwall.js Go to diff View file
R plugins/cardwall/scripts/custom-mapping.js Go to diff View file
R plugins/cardwall/scripts/fullscreen.js Go to diff View file
R plugins/cardwall/scripts/script.js Go to diff View file
A plugins/cardwall/scripts/legacy/webpack.common.js +43 −0 Go to diff View file
A plugins/cardwall/scripts/legacy/webpack.dev.js +23 −0 Go to diff View file
A plugins/cardwall/scripts/legacy/webpack.prod.js +23 −0 Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/.gitignore Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/jest.config.js Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/package.json Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/pnpm-lock.yaml Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/card-computed-field/card-computed-field-directive.js Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/card-computed-field/card-computed-field.tpl.html Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/card-fields-controller.js Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/card-fields-directive.js Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/card-fields-service.js Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/card-fields.tpl.html Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/card-text-field/CachedPurifier.test.ts Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/card-text-field/CachedPurifier.ts Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/card-text-field/PurifyHTML.ts Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/card-text-field/WatchHandler.test.ts Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/card-text-field/WatchHandler.ts Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/card-text-field/card-text-field-directive.js Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/card-text-field/dom-modifier.test.ts Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/card-text-field/dom-modifier.ts Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/highlight-filter-template.test.ts Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/highlight-filter-template.ts Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/highlight-filter.js Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/highlight-filter.test.js Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/highlight/Classifier.test.ts Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/highlight/Classifier.ts Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/highlight/HighlightedText.test.ts Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/highlight/HighlightedText.ts Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/index.js Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/tuleap-card-link-directive.js Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/src/tuleap-simple-field-directive.js Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/tests/stubs/PurifyHTMLStub.ts Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/themes/_highlight.scss Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/themes/main.scss Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/tsconfig.json Go to diff View file
R plugins/agiledashboard/scripts/lib/card-fields/vite.config.ts Go to diff View file
M plugins/cardwall/tests/unit/Cardwall_CardControllerTest.php +2 −2 Go to diff View file
M plugins/cardwall/webpack.common.js +4 −11 Go to diff View file
D plugins/tracker/include/Tracker/CardFields.class.php +0 −69 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +0 −2 Go to diff View file