stable
Clone or download
part of request #31907 Have TypeScript typechecking in dedicated task How to test: No functional change expected in the Trackers homepage. - Trackers administrators can still create a new tracker (+ button). - With full access, when you hover a tracker card, the popover with stats still appears. - Users without full access (in tracker permissions) still do not see artifact count and tooltip popover. - Users without read access still do not see the tracker in the list. - make tests-e2e should pass Notes: - Trackers with very long names now wrap correctly in the card instead of overflowing (it was due to the flex rule). - The badge with artifact count translation now takes plural into account and does not use concatenation. - relative date element is included in the same bundle. - e2e tests do not rely on dynamic data-test attribute anymore. Why? The goal was to kill TypeScript typechecking in webpack config, but I could not leave this page like this. It now uses a Mustache template. Change-Id: Ia45a7d4df24e990f126765f5a8671248f2333fff
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/tests/e2e/cypress/cypress/e2e/computed.cy.ts | +2 | −2 | Go to diff View file |
M | plugins/agiledashboard/tests/e2e/cypress/cypress/e2e/explicit-backlog.cy.ts | +1 | −1 | Go to diff View file |
M | plugins/kanban/tests/e2e/cypress/cypress/e2e/kanban.cy.ts | +22 | −19 | Go to diff View file |
M | plugins/program_management/tests/e2e/cypress/cypress/e2e/program_management.cy.ts | +2 | −2 | Go to diff View file |
M | plugins/testmanagement/tests/e2e/cypress/cypress/e2e/test-case.cy.ts | +1 | −1 | Go to diff View file |
M | plugins/timetracking/tests/e2e/cypress/cypress/e2e/timetracking.cy.ts | +2 | −2 | Go to diff View file |
A | plugins/tracker/include/Tracker/ServiceHomepage/HomepagePresenter.php | +44 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/ServiceHomepage/HomepagePresenterBuilder.php | +75 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/ServiceHomepage/HomepageRenderer.php | +49 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/ServiceHomepage/HomepageTrackerPresenter.php | +73 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Tracker.class.php | +0 | −24 | Go to diff View file |
M | plugins/tracker/include/Tracker/TrackerManager.class.php | +35 | −108 | Go to diff View file |
A | plugins/tracker/scripts/service-homepage/package.json | +21 | −0 | Go to diff View file |
A | plugins/tracker/scripts/service-homepage/pnpm-lock.yaml | +21 | −0 | Go to diff View file |
R | plugins/tracker/scripts/tracker-homepage/src/index.ts | Go to diff View file | ||
R | plugins/tracker/themes/BurningParrot/css/includes/_homepage.scss | Go to diff View file | ||
A | plugins/tracker/scripts/service-homepage/tsconfig.json | +4 | −0 | Go to diff View file |
A | plugins/tracker/scripts/service-homepage/vite.config.ts | +37 | −0 | Go to diff View file |
M | plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po | +10 | −6 | Go to diff View file |
M | plugins/tracker/site-content/pt_BR/LC_MESSAGES/tuleap-tracker.po | +10 | −6 | Go to diff View file |
A | plugins/tracker/templates/service-homepage/service-homepage.mustache | +38 | −0 | Go to diff View file |
R | plugins/tracker/templates/tooltip/stats-tooltip.mustache | Go to diff View file | ||
M | plugins/tracker/tests/e2e/cypress/cypress/e2e/artifact_link-usage.cy.ts | +9 | −11 | Go to diff View file |
M | plugins/tracker/tests/e2e/cypress/cypress/e2e/empty_followup.cy.ts | +2 | −2 | Go to diff View file |
M | plugins/tracker/tests/e2e/cypress/cypress/e2e/tql.cy.ts | +6 | −6 | Go to diff View file |
M | plugins/tracker/tests/e2e/cypress/cypress/e2e/tracker_artifact.cy.ts | +6 | −10 | Go to diff View file |
M | plugins/tracker/tests/e2e/cypress/cypress/e2e/tracker_notifications.cy.ts | +7 | −7 | Go to diff View file |
M | plugins/tracker/tests/e2e/cypress/cypress/e2e/tracker_workflow.cy.ts | +39 | −36 | Go to diff View file |
A | plugins/tracker/tests/unit/ServiceHomepage/HomepagePresenterBuilderTest.php | +194 | −0 | Go to diff View file |
M | plugins/tracker/themes/BurningParrot/css/tracker.scss | +0 | −1 | Go to diff View file |
M | plugins/tracker/tsconfig.json | +1 | −2 | Go to diff View file |
M | plugins/tracker/webpack.common.js | +1 | −19 | Go to diff View file |
M | plugins/tracker_functions/tests/e2e/cypress/cypress/e2e/tracker_functions.cy.ts | +1 | −1 | Go to diff View file |