-
- Downloads
Custom expression: refactor the logic for the help text (#15897)
Use the lexical determination of enclosing function, which makes it more robust agains syntax error or incompleteness. Also, increase the test coverage. * Fix testing the operator * Offer the help text upon a complete field reference (with some tests)
Showing
- frontend/src/metabase/lib/expressions/completer.js 33 additions, 1 deletionfrontend/src/metabase/lib/expressions/completer.js
- frontend/src/metabase/lib/expressions/suggest.js 17 additions, 9 deletionsfrontend/src/metabase/lib/expressions/suggest.js
- frontend/test/metabase/lib/expressions/completer.unit.spec.js 35 additions, 1 deletion...tend/test/metabase/lib/expressions/completer.unit.spec.js
- frontend/test/metabase/scenarios/question/notebook.cy.spec.js 23 additions, 0 deletions...tend/test/metabase/scenarios/question/notebook.cy.spec.js
Please register or sign in to comment