stable

Clone or download

Read-only

Add codemirror with autocomplete

Part of story #10678 define a query for title and description semantics How to test: In cross-tracker-widget writing mode: - When loading an existing report, the query is set in the editor - You can enter a query with TQL highlighting - You can select @title or @description to be inserted in the editor (by clicking in the selectbox) - You can autocomplete with Ctrl+Space - Ctrl+Enter triggers the search Change-Id: Ifd4ce1b357e042e270d521c7053421f16f3544da

Modified Files

Name
M plugins/crosstracker/build-manifest.json +2 −1 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/po/fr.po +12 −9 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/po/template.pot +9 −6 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/CrossTrackerWidget.spec.js +4 −2 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/CrossTrackerWidget.vue +3 −0 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/writing-mode/QueryEditor.vue +64 −9 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/writing-mode/WritingMode.vue +11 −1 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/writing-mode/selected-tracker.mustache +1 −1 Go to diff View file
A plugins/crosstracker/www/scripts/cross-tracker/src/app/writing-mode/tql-configuration.js +37 −0 Go to diff View file
M plugins/crosstracker/www/scripts/package-lock.json +6 −0 Go to diff View file
M plugins/crosstracker/www/scripts/package.json +1 −0 Go to diff View file
M plugins/crosstracker/www/scripts/webpack.config.js +18 −7 Go to diff View file
M plugins/crosstracker/www/themes/BurningParrot/css/_cross-tracker.scss +0 −1 Go to diff View file
M plugins/crosstracker/www/themes/BurningParrot/css/_query-edition.scss +30 −5 Go to diff View file
M plugins/crosstracker/www/themes/BurningParrot/css/_writing-mode.scss +4 −4 Go to diff View file
M plugins/tracker/www/scripts/report/TQL-CodeMirror/autocompleter.js +7 −3 Go to diff View file
M plugins/tracker/www/scripts/report/TQL-CodeMirror/configuration.js +25 −11 Go to diff View file
M plugins/tracker/www/scripts/report/expert-mode.js +2 −1 Go to diff View file