Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Jul 21, 2020
    • Robert Roland's avatar
      Adds a is-empty/not-empty for strings (#12947) · 33403173
      Robert Roland authored
      
      * Adds a is-empty/not-empty for strings
      
      What the UI calls "is empty" / "not empty" right now is a null check,
      not a null and "" string check.
      
      This adds is-empty / not-empty operators in the query processor, and
      reworks the UI to use those. Any existing query that previously used the
      is-null / not-null operators will show (as "Is null" / "Not null") but
      any newly made queries will not be able to select "Is null" / "Not null"
      for text type fields.
      
      This will allow backwards compatibility with existing questions, while
      promoting use of the new "is-empty"/"not-empty" operators.
      Added Cypress test to make sure the proper operators show up when asking
      questions
      
      Update memoize util to allow variable number of args
      
      Resolves #5299
      
      Co-authored-by: default avatarPaul Rosenzweig <paul.a.rosenzweig@gmail.com>
      Unverified
      33403173
  2. Jul 20, 2020
    • Robert Roland's avatar
      Update eslint (#12951) · d86b85ce
      Robert Roland authored
      
      * Update eslint
      
      Updates eslint, babel and plugins to the latest compatible versions
      
      Drops the 'no-color-literals' parameter which doesn't exist (looks like
      it's actually part of eslint-plugin-react-native which we don't use)
      
      adding a dirlocal to make sure js2-mode doesn't confuse you with type
      errors that aren't actually errors because of flowtype and such
      
      * update generated css classes in snapshots
      
      Co-authored-by: default avatarPaul Rosenzweig <paul.a.rosenzweig@gmail.com>
      Unverified
      d86b85ce
  3. Mar 06, 2020
    • Tom Robinson's avatar
      Expressions: filter expressions, case statements, string extracts, and share aggregations (#11868) · 09001d6c
      Tom Robinson authored
      
      * Upgrade Chevrotain to v6.5.0
      
      * Switch from embedded actions to visitor
      
      * rename tokens to lexer, remove no-longer needed Chevrotain hack from webpack.config.js
      
      * get tests passing again
      
      * progress converting syntax parser
      
      * got intermediate Sum(A) test passing
      
      * more progress on parsing expressions
      
      * get complex expression passing
      
      * prettier
      
      * linting
      
      * Add TokenizedExpression snapshot test
      
      * Add support to parser for recovering whitespace tokens
      
      * Add case clause [ci all]
      
      * fix test [ci all]
      
      * Harden test [ci all]
      
      * More tests [ci all]
      
      * Correctly infer case return type [ci all]
      
      * Fix test [ci all]
      
      * Fix tests [ci all]
      
      * Improved syntax parser
      
      * More parser cleanup + start adding filters and functions
      
      * Add CASE and partial filter support, cleanup tests
      
      * Add string extracts [ci all]
      
      * Typo [ci all]
      
      * Make linter happy [ci all]
      
      * Add regex-match-first [ci all]
      
      * Fix arglist [ci all]
      
      * Fix test [ci all]
      
      * Add sum-where count-where and share support. Refactor aggregation tokens
      
      * Fix tests [ci all]
      
      * Add ns prefixes [ci all]
      
      * Add ns qualifiers [ci all]
      
      * Fix trim [ci all]
      
      * Tests: ensure stable ordering of results [ci all]
      
      * Fix trim [ci all]
      
      * Support only 1-arg trim [ci all]
      
      * Fix ns prefixes [ci all]
      
      * Fix psql [ci all]
      
      * Fix redshift [ci redshift]
      
      * Refactor/simplify grammer to consolidate aggregation, expression, and filter functions
      
      * Add isCase to isExpression
      
      * Directly splice regex pattern for psql & redshift [ci all]
      
      * Fix schema [ci all]
      
      * Redshift: splice replace args [ci redshift]
      
      * Add ns prefix [ci redshift]
      
      * Typo [ci redshift]
      
      * Filter expressions
      
      * Add metrics and segments back in to expressions
      
      * Disable tokenized editing
      
      * Update tests to clojure.test [ci all]
      
      * Add concat to sqlite [ci all]
      
      * Add length [ci all]
      
      * Add missing ns [ci all]
      
      * Fix test [ci all]
      
      * Fix messed up multimethods [ci all]
      
      * Fix mssql [ci all]
      
      * Fix sqlite concat [ci all]
      
      * sqlite: correctly qoute literal strings [ci all]
      
      * Misc improvements to syntax highlighting etc
      
      * Cleanup tests [ci all]
      
      * Reoder defs [ci all]
      
      * Make linter happy [ci all]
      
      * Mongo: add case [ci mongo]
      
      * mongo: fix switch [ci mongo]
      
      * typo [ci mongo]
      
      * Improve syntax highlighter and suggestions
      
      * Mongo: always have default fallback in case [ci mongo]
      
      * Rearrange test to split out ones using expressions [ci mongo]
      
      * Remove uneeded merge [ci all]
      
      * misc
      
      * Much improved syntax highlighting using recovery mode and partial CST
      
      * Improved suggestions
      
      * try monospace font for expressions
      
      * Better typing in parser, various other fixes
      
      * Avoid parsing multiple times
      
      * Fix tests
      
      * Fix tests
      
      * More test fixes
      
      * Special case for UnderlyingRecords drill with sum-where/count-where/share
      
      * switch back to square brackets for identifiers
      
      * change extract to regexextract
      
      * Lift expressions to subselect [ci all]
      
      * Commit on enter
      
      * rename extract to substitute, fix tests
      
      * Refactor [ci all]
      
      * Fix normalization [ci all]
      
      * Correctly handle joins [ci all]
      
      Co-authored-by: default avatarDaniel Higginbotham <daniel@flyingmachinestudios.com>
      Co-authored-by: default avatarSimon Belak <simon@metabase.com>
      Co-authored-by: default avatarMaz Ameli <maz@metabase.com>
      Unverified
      09001d6c
  4. Jan 21, 2020
  5. Jan 17, 2020
  6. Jan 09, 2020
  7. Dec 18, 2019
  8. Dec 12, 2019
  9. Dec 11, 2019
  10. Dec 05, 2019
  11. Nov 25, 2019
  12. Nov 07, 2019
  13. Nov 04, 2019
  14. Oct 30, 2019
  15. Oct 28, 2019
    • Paul Rosenzweig's avatar
      Timezone aware scale (#11111) · 3b6f8871
      Paul Rosenzweig authored
      * copy over code from pr
      
      * remove chronological
      
      * remove tick formatting
      
      * remove chronological
      
      * use reporting_timezone
      
      * remove unneeded tests
      
      * remove import
      
      * add timeseriesScale tests/fixes
      
      * eslint
      
      * more timeseriesScale tests
      
      * remove now unneeded rangeFn
      
      * more timeseriesScale tests
      
      * report_timezone to actual_timezone
      
      * display warning if timezones are mismatched
      
      * extract getTimezone
      
      * don't error if series doesn't have a card (in tests)
      
      * move expected/actual timezones into data, add warning when series have different timezones
      
      * fixes
      
      * make sure getTimezone works on transformed series
      
      * update actual/expected to results/requested
      
      * call getTimezone from LAB renderer rather than apply axis
      
      * include timezone as part of a timeseries interval
      
      * missed variable
      
      * include timezone when updating timeseries interval
      
      * remove "report_timezone"
      
      * add timezone fields to DatasetData flow type
      
      * make the fields optional
      
      * Fill data using timezone scale (#11143)
      Unverified
      3b6f8871
  16. Oct 07, 2019
  17. Sep 05, 2019
  18. Sep 02, 2019
  19. Aug 06, 2019
  20. Jul 30, 2019
  21. Jun 19, 2019
  22. Jun 14, 2019
  23. Jun 05, 2019
  24. Jun 03, 2019
  25. May 07, 2019
  26. Apr 09, 2019
  27. Feb 05, 2019
  28. Jan 08, 2019
  29. Nov 05, 2018
  30. Oct 30, 2018
  31. Oct 25, 2018
  32. Oct 18, 2018
    • Kyle Doherty's avatar
      Show task history in the admin section (#8692) · 790da3cd
      Kyle Doherty authored
      * init task history app
      
      * task details modal
      
      * add simple task endpoint
      
      * individual task display
      
      * clean up task api based on feedback
      
      * troubleshooting section name and urls
      
      * Add tests for the task history endpoint and support for paging
      
      * handle paginated endpoint response on entity list
      
      * Add pagination to EntityListLoader, use in TaskApp
      
      * tweak pagination ui
      
      * Fix flow
      
      * ui tweaks
      Unverified
      790da3cd
  33. Oct 04, 2018
  34. Oct 03, 2018
  35. Sep 13, 2018
  36. Aug 20, 2018
  37. Jul 25, 2018
Loading