stable

Clone or download

Read-only

feat: Expert mode by default at XTS widget creation

Part of story #40088 Expert mode is the new default for cross tracker search The creation of a new "create" method in the CrossTrackerDao is needed to avoid breaking change when the widget is cloned in a chicld project How to test: - make dev-forgeupgrade - Go to a user's personal dashboard and create a new XTS widget => The widget is in expert mode and the dedicated default query is displayed with the result - Go to a project and create a new XTS widget => The widget is in expert mode and the dedicated default query is displayed with the result Change-Id: I883fa72adf3e0da04a28be49dc6bf2bfe471e078

Modified Files

Name
M plugins/crosstracker/db/install.sql +1 −1 Go to diff View file
A plugins/crosstracker/db/mysql/updates/2024/202410301255_expert_mode_by_default.php +46 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/CreateReport.php +28 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/CrossTrackerReportCreator.php +60 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/CrossTrackerReportDao.php +11 −3 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Widget/ProjectCrossTrackerSearch.php +8 −3 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.php +2 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/CrossTrackerReportDaoTest.php +31 −0 Go to diff View file
A plugins/crosstracker/tests/unit/CrossTracker/CreateReportStub.php +39 −0 Go to diff View file
A plugins/crosstracker/tests/unit/CrossTracker/CrossTrackerReportCreatorTest.php +67 −0 Go to diff View file