-
- Downloads
Custom expression: display only one error message (#15818)
It's terrifying to see lots of error messages when the expression is invalid or not completed yet. To overcome this, we display only one, the highest-priority and most friendly one. The rank is: * tokenization error, e.g. mismatched parentheses * type-checking error, e.g. incorrect count of function arguments * syntax error (from the parser) * Fix coding style issue * Robust against non-Array compileError
Showing
- frontend/src/metabase/query_builder/components/expressions/ExpressionEditorTextfield.jsx 17 additions, 21 deletions...lder/components/expressions/ExpressionEditorTextfield.jsx
- frontend/test/metabase/scenarios/question/notebook.cy.spec.js 12 additions, 0 deletions...tend/test/metabase/scenarios/question/notebook.cy.spec.js
Please register or sign in to comment