stable

Clone or download

Read-only

refacto: Remove textarea from QueryEditor

Part of request #40099 Cross-Tracker search finishing touches 16.1 Closes request #40078 Bump TQL CodeMirror to version 6 *No functional changes expected* Why ? Cross-tracker search widget never needs a textarea, it "just" needs to update its report object. Tracker report still needs a textarea (because it's a form submit), so we move all the code dedicated to that in Tracker report source code. Removed the duplicated styles from tracker. Dropped the rules for <pre> tags, there are no longer any <pre> tags in CodeMirror editor rendering. Change-Id: I360140209840b48893572fb858139b9ff579966b

Modified Files

Name
M plugins/crosstracker/scripts/cross-tracker/src/components/writing-mode/QueryEditor.test.ts +43 −19 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/components/writing-mode/QueryEditor.vue +23 −56 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/themes/_query-edition.scss +0 −4 Go to diff View file
M plugins/tracker/scripts/lib/TQL-CodeMirror/src/allowed-field-inserter.ts +12 −12 Go to diff View file
M plugins/tracker/scripts/lib/TQL-CodeMirror/src/builder.ts +12 −25 Go to diff View file
M plugins/tracker/scripts/lib/TQL-CodeMirror/src/index.ts +4 −3 Go to diff View file
M plugins/tracker/scripts/lib/TQL-CodeMirror/src/language.ts +3 −3 Go to diff View file
M plugins/tracker/scripts/report/src/expert-mode.js +23 −17 Go to diff View file
M plugins/tracker/scripts/report/themes/main.scss +24 −8 Go to diff View file
M plugins/tracker/themes/default/css/style.scss +0 −55 Go to diff View file