This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Jan 27, 2023
-
-
Jeff Bruemmer authored
-
Case Nelson authored
* Script to copy athena jdbc jar to our maven repo Since amazon is still not putting their athena jdbc on to maven, the easiest thing for us to do is setup a maven-y s3 repo and copy their jar into it. This script allows you to run: `./bin/athena.bb <version> [--deploy]` For example: `./bin/athena.bb 2.0.35 --deploy` Will download the 2.0.35 jar from amazon's release bucket, create and update the necessary maven repo files, then upload all those files to our maven repo. It uses the jar build WITHOUT the AWS SDK. You must have `bb` (babashka), `aws` (awscli), and `shasum` commands available. You must have aws credentials available, e.g. through `aws configure` * Add comment explaining script to script * Use iterate instead of loop for find-pred Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> * Update bin/athena.bb Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> * Update bin/athena.bb Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> --------- Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com>
-
Natalie authored
-
Luis Paolini authored
We made a mistake on the Clojure CLI version
-
- Jan 26, 2023
-
-
metamben authored
-
Mark Bastian authored
Replaced, as needed, instances of str/lower|upper-case with the -en version. Also updated rules in our kondo config.
-
Anton Kulyk authored
* Add `UserInfo` type * Use `UserInfo` for existing types * Add creator fields to action types * Show action creator in action list
-
Tim Macdonald authored
* Add actions.creator_id * Add creator_id and hydrated creator to actions * Punt on locking down time types * Workaround for DB migration issue * Move hydration down the pipe * HydratedUser -> DefaultUser
-
Jeff Bruemmer authored
-
Nemanja Glumac authored
Resolves #18301
-
Alexander Polyankin authored
-
Ariya Hidayat authored
For some reasons, snowplow/igluctl as the service container in GitHub Action workflow does not work anymore. Therefore, just invoke it directly with `docker run`.
-
- Jan 25, 2023
-
-
Aleksandr Lesnenko authored
* show new tooltip on stacked bar and area charts * update repro since it is not about stacked charts and we are changing the behavior for stacked charts * fix jsx condition in tooltip row
-
Natalie authored
-
Natalie authored
-
Mark Bastian authored
-
Anton Kulyk authored
-
- Jan 24, 2023
-
-
Ryan Laurie authored
-
Ryan Laurie authored
-
Alexander Polyankin authored
-
Ryan Laurie authored
-
Aleksandr Lesnenko authored
* stacked tooltips rows limit * fix types * review
-
Tim Macdonald authored
* Remove experimental-enable-actions setting * Ensure actions are enabled before executing custom actions
-
Ariya Hidayat authored
-
- Jan 23, 2023
-
-
john-metabase authored
* Fixes MongoDB OrderedMap encoding with nippy * Removes flatland/ordered from build-drivers deps
-
Tim Macdonald authored
This version fixes a bug where Malli was generating types unknown to Kondo and Kondo was flagging an erroneous type mismatch. See the changelog for more details: https://github.com/clj-kondo/clj-kondo/blob/master/CHANGELOG.md#20230120
-
dpsutton authored
Bigquery was checking that we can set a project-id in the db details of a bigquery database. Normally this comes from the json token: ``` export MB_BIGQUERY_CLOUD_SDK_TEST_SERVICE_ACCOUNT_JSON='{ "type": "service_account", "project_id": "metabase-bigquery-driver", // <- ordinarily source of truth "private_key_id": "keykeykeykeykeykeykeykey", "private_key": "-----BEGIN PRIVATE KEY----- ...." ``` The db details normally connects to project-id "metabase-bigquery-driver" and this test swaps out to "bigquery-public-data" with a schema filter on chicago_taxi_trips. to prove it works it selects from that dataset: ``` (mt/first-row (mt/run-mbql-query taxi_trips {:filter [:= [:field (mt/id :taxi_trips :unique_key) nil] "67794e631648a002f88d4b7f3ab0bcb6a9ed306a"]})) ``` The test fails because this row seems to no longer be in the results. The query isn't failing, it's just returning no rows (and presumably because the row with this id from 2014 is no longer in the dataset.) I ran the same with with a limit 4, see it's working and grab one of those rows and use the id as in the filter clause. old: "67794e631648a002f88d4b7f3ab0bcb6a9ed306a" ("2014-01-12T00:45:00Z") new: "ff0b96c0cada768361b1c9341e11905254644afb" ("2016-09-20T07:15:00Z")
-
Ryan Laurie authored
* add PivotTable unit tests * obey the linter * measure leftHeader cell content * test cell data width detection * extract static properties * convert to functional component * cleanup refs * extract cellRenderers * extract size and position getter functions * replace item measurement * convert rowToggleIcon to typescript * convert PivotTable to typescript * remove unused hasCustomColors * update tests to typescript * fix rebase * User Resizable Pivot Table Columns (#27692) * move column widths to state * add drag resizing * only get initial header widths on row change * better column change handling * return if there are no valid rowIndexes * address review comments * add drag resizing * address review comments * allow data/value columns to be resized * update tests * use map for value col storage
-
Alexander Polyankin authored
-
Anton Kulyk authored
* Add `router` config to `renderWithProviders` * Add tests for `EmbedFrame's` theming * Rename `router` to `initialRouterState` * Rename router state opts
-
Alexander Polyankin authored
-
Anton Kulyk authored
* Move `EmbedFrame` to its own directory * Clean up `LogoBadge` * Extract styled components * Clean up `EmbedFrame` * Replace `MetabaseSettings` with selector * Sort props * Don't check for `setParameterValue` https://github.com/metabase/metabase/pull/27746#discussion_r1081797694 * Adjust styles
-
metamben authored
* Simplify the calculation of mongo column types * Remove TODO, since driver.common/class->base-type is being used
-
metamben authored
-
Nemanja Glumac authored
-
Ryan Laurie authored
* update dashboard + card + parameters to support actions * Add ActionViz Components * add ActionParameterInputForm * Add AddActionSidebar and ActionPicker * move ActionParametersInputModal * remove page and app references * reorganize utils * update types * check dashboard eligibility for actions access * fix typos * remove reference to list viz * show all models in action picker * allow delete actions to submit with no form fields * remove unused testing functions * add ActionViz unit tests * add ActionParametersInputForm unit tests * update dashboard + card + parameters to support actions * add ActionParameterInputForm * move ActionParametersInputModal * check dashboard eligibility for actions access * Fix native query editor mock in `ActionCreator` tests (#27794) * Update `NativeQueryEditor` mock * Mock `NativeQueryEditor` before registering viz * more cleanup * add more tests * move api mock to setup function * click the correct click icons Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com>
-
dpsutton authored
We can now filter out any ns tag for tests.
-
Anton Kulyk authored
-
Mahatthana (Kelvin) Nomsawadi authored
* First draft of allowing users to hide logo on embedding * Add lotsa E2E tests * Change non-hovered side bar toggle color when hiding logo Because previously we never had an option to hide the logo. We won't see non-hovered side bar toggle on desktop, but now we can so it would make more sense to make non-hovered and hovered state have different colors * Fix failed test, not sure why this happens though * Ensure we don't show empty app bar when logo is disabled * Fix hiding app bar even when side_nav is enabled * Remove nested component selector in styled components * Moving show hide logic to JS * Address review: Make prop name easier to read * Address review: Remove more nested component selector * Address review: completely remove nested component selector From AppBarLeftContainer * Address review: Duplicate first test from E2E to unit * Make test better, fix types, remove mocks * Completely move the first test from E2E to unit * Move the 2nd test * Move the rest of the desktop E2E test to unit * Move mobile E2E tests to unit * Remove unused import * Address review: Better function name * Address feedback: Remove type casting * Address review: Don't rely on app code in metabase-types * Address feedback: Fix aria-label isn't human friendly. * Address review: Fix wrong required type property * Address feedback: follow test convention - name `setup` - mock endpoint in `setup` function * Better collection endpoint mock maybe? * Address PR comment
-
- Jan 21, 2023
-
-
Nemanja Glumac authored
This reverts commit 68dc2e0f. [The last commit had failing tests](https://github.com/metabase/metabase/actions/runs/3970718220), but the PR was merged anyway. Now the `master` branch is failing.
-