This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Apr 12, 2021
-
-
Nemanja Glumac authored
-
Howon Lee authored
Popover movement is with reference to #15502 but also with reference to #15277 and #15534 and #15502 but not #15445, except for the mutation movement portion of #15445 which is not a whole fix. Confusingly, the overlap portion of #15502 is almost a completely separate bug but a fix is in here anyways.
-
Alexander Lesnenko authored
* support both 0 and null values in a dimension for X-axis
-
Nemanja Glumac authored
-
Dalton authored
* Backend feature flag for new field filters * Feature flag new parameter options When the "field-filter-operators-enabled?" flag is disabled we do the following: 1. Replace new operator options with old category and location/city, etc., options in the PARAMETER_OPTIONS list found in metabase/meta/Parameter.js 2. Hide numbers section in the PARAMETER_SECTIONS list found in metabase/meta/Dashboard.js 3. Return args as-is in the mapUIParameterToQueryParameter function found in metabase/meta/Parameter.js React/UI code handles both old options and new options so doesn't need to change. Old parameter types like "category" and "location/city" are treated like "string/=" in the UI but retain their own parameter type when used to send a new query. * Fix FE issues caused by meta/Parameter refactor * mock the field operator param flag to make tests pass * add/fix cypress tests * fix import in ParametersPopover * update widget tag type * Enable field filter operators for cypress tests * Question marks are questionable * Conditionally use category or string/= if field filters are enabled * rmv mocks where we don't need them * rmv mock from chained-filters test * env vars as string in project.clj, alignment Co-authored-by: dan sutton <dan@dpsutton.com>
-
Cam Saul authored
-
Jeff Evans authored
* Various improvements to version update checks *************************** * Release project changes * *************************** Updating version_info.clj code to build version-info-ee.json file for Enterprise Edition build Adding test for both oss and ee version info file generation logic Decoupling GitHub milestone from version and setting it to be the OSS value for :ee release build Adding nREPL alias for release deps.edn project and usage note ************************ * Core product changes * ************************ Adding new :ee version of :mb-version-info-url (:mb-version-info-ee-url) with default value to match the file name generated by the release code Making enterprise-edition? public from core.clj, since it's now needed from the upgrade check code to switch between the URLs Adding new setting to store when updates were last checked (since it's on a 12-hour interval) Changing update check code to both set this new timestamp setting (always) to the current time, and set version-info itself to nil if the update check fails (so that users won't see "latest and greatest" if the update check succeeded at some point in the past, but then started failing Frontend changes: Showing the "last checked" timestamp (in user's browser timezone) when we show the "Sorry" text because of being unable to check for updates, so they know when the last check was made Removing custom implementation of MetabaseSettings.versionInfo from EE frontend code since it's no longer needed (and never worked), because the EE backend will now be hitting a different URL with the version info specifically for EE releases Linking to https://www.metabase.com/docs/<newVersion>/operations-guide/upgrading-metabase.html URL instead of simply /start
-
Dalton authored
-
Nemanja Glumac authored
-
- Apr 10, 2021
-
-
Cam Saul authored
* datetime fields in nested queries should get auto-bucketed the same way as top-level ones * Test fix
🔧
-
- Apr 09, 2021
-
-
Cam Saul authored
* Revert name case changes * Test fix
🔧 * Test fix🔧 -
Jeff Bruemmer authored
-
Ariya Hidayat authored
This restores the behavior just like before MBQL field refactoring (back when the specialized class JoinedDimension and FKDimension still existed): the subdimensions for a joined/FK dimension are exactly those of the parent class, Dimension.dimensions(), and not more. Also, each subdimension must still carry the join alias/source field option.
-
- Apr 08, 2021
-
-
Nemanja Glumac authored
- Fixes a flake in scatter.cy.spec.js that started appearing after throttle was introduced to the ExplicitSize component in #15235 - Also fixes a flake with brush filter that apparently wasn't fully fixed in the previous attempt ## Additional Info: - Stress testing this fix in isolation with GitHub actions shows 20/20 runs passing
✅ - Stress testing "brush date filter" revealed that it still fails approximately 4-5x out of 20! - The reason seems to be that `mouseup` event doesn't always happen at the same time so the resulting filter doesn't have the same ending month every time (for example I've seen: "Created At between May, 2016 September, 2016", "Created At between May, 2016 July, 2016" and even "Created At between May, 2016 May, 2016") - It is more than enough that we assert that this filter exists in the first place so I changed the assertion to: `cy.contains(/^Created At between May, 2016/);` since the beginning of this string is the only thing we care about
-
- Apr 07, 2021
-
-
Dalton authored
* fix subscription cy test * wait for PUT completion for checking string
-
Dalton authored
* Don't normalize template-tag default values * treat location/category as string under the hood and rmv them from native query builder * unskip cy test * fix tests * rmv unused type import Co-authored-by: dan sutton <dan@dpsutton.com>
-
Nemanja Glumac authored
-
Dalton authored
* hide field search when using non-exact operator * Use parameter's combinedName when setting initial widget name * Hide search for lists
-
Alexander Lesnenko authored
* normalize serialized adhoc questions to support old syntax * JS version of normalize should preserve keyword namespaces * #15372 Repro: Visiting old hash results in a blank screen (#15512) Co-authored-by: Cam Saul <github@camsaul.com> Co-authored-by: Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
-
Nemanja Glumac authored
* Add Cypress custom command `isInViewport` * Add repro for #15502 (2 variants)
-
Nemanja Glumac authored
* Add repro for #15445 * Add custom command `isVisibleInPopover` * Refactor the test to use new custom command
-
- Apr 06, 2021
-
-
Jeff Bruemmer authored
-
dpsutton authored
* (#15460) Correct field names in native field filters ```sql select p.created_at, products.category from products left join products p on p.id=products.id where {{category}} ``` field filter is a string/= on category, a column in this twice due to the self join. Just mimic how the rest of this emits a column name * Unskip tests added in #15468 * Include fully qualified names in tests
-
Tim Macdonald authored
* Backend for dashboard sub filters, including EE implementation * Fix pulse/update-notification! to respect parameters * Add some tests * add FE EE parameter section to dashboard subscriptions * fix improper filter counting for label * hide parameters section when dashboard has none * fix thrown errorin pulses list sidebar * fix linting error * add cypress tests * rmv describe.only from test * refactor FE code a little * Merge pulse/dashboard parameters correctly for dashboard subs * fix issues with getting list of active pulse parameters * update formatting of multi value parameters * fix cypress test * tweak pulse details styling * move ParametersSection to enterprise tree Co-authored-by: Dalton Johnson <daltojohnso@users.noreply.github.com>
-
Nemanja Glumac authored
* Quarantine possible offenders behind CI timeouts * Fix brush date filter test (#15505)
-
Nemanja Glumac authored
-
Tim Macdonald authored
-
Tim Macdonald authored
-
- Apr 05, 2021
-
-
Cam Saul authored
* Repro for #15118 * Revert demo tests
-
Cam Saul authored
* Send email when a user logs in from a new device for the first time * Test fixes
🔧 * Remove stray printlns * Test fix🔧 * Don't send email on the very first login. * Test fix🔧 * Update src/metabase/email/login_from_new_device.mustache Co-authored-by: Walter Leibbrandt <23798+walterl@users.noreply.github.com> * Remove unused u/prog1 * PR feedback * Add IP address geocode timeout * Geocode all IP addresses at once * Update tests for updated email template * Use built-in localized DateTimeFormatters per @walterl suggestion * Test fixes🔧 * Remove extra is Co-authored-by: Walter Leibbrandt <23798+walterl@users.noreply.github.com> -
Nemanja Glumac authored
-
Nemanja Glumac authored
-
Paul Rosenzweig authored
This reverts commit c34fa2c0.
-
Cam Saul authored
-
Nemanja authored
-
Nemanja authored
-
Nemanja authored
-
Nemanja authored
-
Nemanja Glumac authored
-
- Apr 04, 2021
-
-
Luis Paolini authored
* Fix EE Dockerhub for once and for all * Try to overload the ARG attribute * Kick the CI
-