stable

Clone or download

Read-only

chore: Build lib for tracker email copy paste

How to test: No functional change expected. - As siteadmin, check the "Email gateway" tab in the Tracker plugin site administration. To test those features, set it to "Insecure email gateway". - Set up a tracker. It must have Title and Description semantics configured. - In the tracker's general options, check the checkbox that allows to create/reply artifacts by email - In FlamingParrot pages (report, create/edit, tracker admin), in the current tracker breadcrumb, there is a dropdown item that says "Create by email". When you click it, a bootstrap modal should open. You can copy the email address in it. - When editing an existing artifact, at the bottom with the follow-up comments, there is a link that says you can respond by email. The link opens a bootstrap modal. You can copy the email address in it. - In BurningParrot pages (tracker admin > workflow transitions, semantics list), in the current tracker breadcrumb, the "Create by email" dropdown item opens a TLP modal. You can copy the email address in it. Notes: The email copy paste was removed from the workflow page in 5da29228b3056f8fe53e94154dd232f1493c674a. At that time, the breadcrumb item was forgotten. It was assumed this script was only used for the Edit page, for the link near the follow-ups. This patch also fixes the semantics list page, where the script was never included and the breadcrumb item did nothing. part of request #29264 Split the build of tracker plugin frontend assets into multiple apps Change-Id: Iff4ac3fba29925007435ad33a8934333e07886de

Modified Files

Name
M plugins/tracker/include/Tracker/Semantic/Tracker_SemanticManager.class.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +12 −19 Go to diff View file
M plugins/tracker/package.json +2 −1 Go to diff View file
M plugins/tracker/pnpm-lock.yaml +6 −3 Go to diff View file
M plugins/tracker/scripts/artifact/edition/edit-view.ts +0 −1 Go to diff View file
A plugins/tracker/scripts/header/header.ts +20 −0 Go to diff View file
R plugins/tracker/scripts/artifact/tracker-email-copy-paste-fp.ts Go to diff View file
A plugins/tracker/scripts/lib/email-copy-paste/.gitignore +1 −0 Go to diff View file
A plugins/tracker/scripts/lib/email-copy-paste/package.json +28 −0 Go to diff View file
A plugins/tracker/scripts/lib/email-copy-paste/pnpm-lock.yaml +15 −0 Go to diff View file
R plugins/tracker/scripts/artifact/tracker-email-copy-paste.ts Go to diff View file
A plugins/tracker/scripts/lib/email-copy-paste/tsconfig.json +7 −0 Go to diff View file
A plugins/tracker/scripts/lib/email-copy-paste/vite.config.ts +39 −0 Go to diff View file
A plugins/tracker/scripts/tracker-admin/semantics-admin.ts +20 −0 Go to diff View file
R plugins/tracker/scripts/artifact/tracker-email-copy-paste-bp.ts Go to diff View file
M plugins/tracker/scripts/workflow-transitions/package.json +1 −0 Go to diff View file
M plugins/tracker/scripts/workflow-transitions/pnpm-lock.yaml +3 −0 Go to diff View file
M plugins/tracker/scripts/workflow-transitions/src/index.js +1 −0 Go to diff View file
A plugins/tracker/scripts/workflow-transitions/src/tracker-email-copy-paste-bp.js +26 −0 Go to diff View file
M plugins/tracker/tsconfig.json +3 −1 Go to diff View file
M plugins/tracker/webpack.common.js +2 −2 Go to diff View file