This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Feb 16, 2024
-
-
Ryan Laurie authored
-
Jesse Devaney authored
-
Ryan Laurie authored
* add bookmarks fetching hook * hookify collections content * refactor to make everything much prettier
-
Sloan Sparger authored
* impl feature * makes use of existing form components and deletes custom widget * e2e tests * fix lints * fixes lint around Metabase name usage * removed the select keys line to allow for whatever setting to be updated * fix defaulting logic for ldap and jwt, fixes unit test * snip snap snip snap * fix unit and maybe lint tests * fix ldap code * fixes trimming null * fixes e2e ldap tests * e2e progress * breaking local e2e in hopes of fixing ci... --------- Co-authored-by:
Jerry Huang <jhuang37050@gmail.com>
-
Mark Bastian authored
* Add per viz-type card template sizes in x-rays Previously, any card without a size (width or height) set in their yaml definition was set to a default of `default-card-width` or `default-card-width`, respectively. This PR adds a map of default and min dimensions per viz type (the `:display`) key and fills that in for each template. The template is merged into this result, keeping anything that already existed in the yaml file. Before merging this we should consider if we want to use the min values and where this data should be stored. It is currently in `metabase.automagic-dashboards.dashboard-templates`, but was lifted from [sizes.ts](https://github.com/metabase/metabase/blob/master/frontend/src/metabase/visualizations/shared/utils/sizes.ts ). * Moving card sizing constants to cljc The default card sizes were found in `sizes.ts` and were duplicated into `metabase.automagic-dashboards.dashboard-templates`. This PR consolidates those changes into `metabase.shared.automagic-dashboards.constants`. Note that @kulyk and @JesseSDevaney might want to consider further consolidation of dashboard related constants into this namespace. * Incorporating Feedback Changes - Explicitly defined two constants in the shared file that are clj and js friendly - Set case to CARD_SIZE_DEFAULTS_JSON - Updated `metabase.automagic-dashboards.dashboard-templates/set-default-card-dimensions` to use a helper * Update src/metabase/shared/automagic_dashboards/constants.cljc Co-authored-by:
Jesse Devaney <22608765+JesseSDevaney@users.noreply.github.com> * Updating ns name per Jesse --------- Co-authored-by:
Jesse Devaney <22608765+JesseSDevaney@users.noreply.github.com>
-
Anton Kulyk authored
* Convert `dashboard/actions/ui` to TypeScript * Extract `setDashboardWidth` action
-
Anton Kulyk authored
* Make filters sticky * Fix hidden parameters still taking vertical space * Bump z-index * Conditional sticky filters on small screens * Don't render `ParametersWidgetContainer` without parameters * Add border to filters panel when scrolling * Fix e2e tests * Fix filter panel background color * Disable sticky filters for "transparent" embed theme
-
Chris Truter authored
-
Chris Truter authored
-
Nemanja Glumac authored
* Remove unused `breakout` parameter * Evaluate `clear()` inline * Evaluate `getBreakoutClause([])` inline * Simplify `clearBreakouts` query helper 1. The second argument of `setBreakoutClause` is aways `undefined` which means that we can remove it. 2. No need to export this helper since it's used only within this file * Remove unused `clearBreakouts` helper from breakout helpers * Simplify `clearFields` helper * Simplify `clearOrderBy` helper * Remove unused `clear` util
-
Nemanja Glumac authored
* Remove unused `StructuredQuery.prototype.topLevelQuery` * Remove unused `StructuredQuery.prototype.lastSummarizedQuery` * Remove unused `StructuredQuery.prototype._keyForFK` * Remove unused `isSegmentOption` helper
-
Alexander Solovyov authored
-
lbrdnk authored
* Remove duplicate definition * Extend server side relative datetime generation to Snowflake * Cleanup
-
lbrdnk authored
* Update test * Remove driver exclusions
-
Alexander Polyankin authored
* Migrate legacyQueryTable * Migrate legacyQueryTable * Load missing data * Remove virtual tables * Remove the test
-
Braden Shepherdson authored
We do this for our JS and TS code. This change configures shadow-cljs to emit the source maps in release mode, and bumps the versions of shadow-cljs and the transitive dependency `source-maps-js` to enable webpack to consume these source maps correctly. (The output source maps have some quirks, and broke some consumers. Mainly that inlining of CLJS functions can result in empty namespaces, and while the file contents were correctly inlined, `sourceContents: ""` looks falsy in JS. Webpack would try to read the nonexistent source files and fail to build.)
-
- Feb 15, 2024
-
-
Raphael Krut-Landau authored
* In browse, move ModelGroup and associated components to a separate file * Improve look of Browse tabs and SchemaBrowser crumbs
-
Cam Saul authored
* QP enterprise middleware should use `defenterprise` * Test fix?
* Remove `:rff` from the Query Processor context map * Sort namespaces * Simplify QP entrypoints part 1 * Test fixes * Test fixes * Make sure defenterprise dispatch is done for every QP run * B I G QP context overhaul * WIP * Remove qp.context.default * Test fix * PR feedback * QP context overhaul [WIP] [ci skip] * QP context overhaul [WIP] [ci skip] * Fix duplicate preprocesses * Some test fixes. * More test fixes [ci skip] * Source card resolution middleware should be preprocessing middleware, not around [ci skip] * Test fixes [WIP] [ci skip] * Remove `test-qp-middleware` * Remove `qp/compile` * Fix Kondo warnings/cleanup * Remove `mt/compile` * Fix most tests * Mostly everything working? * 4 failures, 1 error * Eliminate QP context `reducedf` * 3 failures, 0 errors <3 * All tests are passing <3 * Remove dead debug-qp code * Fix test failure * Remove async context * Remove raisef * Forget it, just remove context entirely [ci skip] * Fix Kondo errors * Fix Kondo warnings * Fix Kondo warnings * Fix Kondo warnings * Remove empty namespace * Fix some reflection warnings * Update dox [ci skip] * Test fix * Fix pivot QP * Misc improvements * Test fix * Improvements and test fixes * More test fixes * Test fixes * Address PR feedback * Test fixes * More test fixes and docstring improvements * Appease Eastwood * Test fixes * More test fixes * Test fixes * Revert test parallelization in metabase.models.params.chain-filter-test * Update src/metabase/async/util.clj Co-authored-by:metamben <103100869+metamben@users.noreply.github.com> --------- Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com>
-
Case Nelson authored
* Extend param substitution to handle datetimes Prior to this only dates were supported as values for native timestamp field parameters. * Check for exclusion filter when determining alignment unit
-
Sloan Sparger authored
-
Sloan Sparger authored
-
Oleg Gromov authored
-
Nicolò Pretto authored
* test: adds tests for localStorage flag * Apply suggestions from code review Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
-
Nemanja Glumac authored
-
Alexander Polyankin authored
-
- Feb 14, 2024
-
-
Mark Bastian authored
This just updates the `grid-width` parameter in `metabase.automagic-dashboards.populate` to be consistent with new FE work.
-
metamben authored
Fixes #37626.
-
Jeff Bruemmer authored
-
Mark Bastian authored
The `19889-native-query-export-column-order.cy.spec.js` test hasn't flaked in over 30 days per [replay.io](https://app.replay.io/team/dzoyNTM4ZjRmOC05YmFlLTRiYjYtYjljYi1jOGYzOWUyMjRhZWY=/tests/dHJ0OjEyMDIwNjkzMWYyMDExMmUzZmMxNDE0MmMxMWFiY2I3NjlmZTliNDE=?param=dzoyNTM4ZjRmOC05YmFlLTRiYjYtYjljYi1jOGYzOWUyMjRhZWY%3D¶m=tests¶m=dHJ0OjEyMDIwNjkzMWYyMDExMmUzZmMxNDE0MmMxMWFiY2I3NjlmZTliNDE%3D) and I can't make it fail locally after several repeated attempts. At this point I'm just removing the flaky flag and closing until we can get it to flake again. Fixes #36682
-
Cal Herries authored
-
Ryan Laurie authored
-
Alexander Polyankin authored
-
Uladzimir Havenchyk authored
* [Parameters] Cleanup wrong tests * fixup! [Parameters] Cleanup wrong tests
-
Cal Herries authored
-
Raphael Krut-Landau authored
Add an "only show verified models" filter to Browse models
-
Kyle Doherty authored
-
Nicolò Pretto authored
-
Uladzimir Havenchyk authored
* Do not show Unknown field in parameter mappings if there is mapping * Rework to MLv2 * handle virtual cards separately * WIP * fixup * Rework the approach * cleanup * Fix unit test * fixup! Fix unit test * keep only one -1 * Add a test * Split tests into groups * Migrate DashcardCardParameterMapper to TS * Add more types * Add additional check * Improve tests * Move code to utils * Make types more flexible * Better types * Test * Test * Normalize target * Add more tests * Attempt to fix types * Cleanup * Address review * revert unneeded change * Correct types * fixup! Correct types * rely on types :crossfingers:
-
Nicolò Pretto authored
* refactor: extract language step helper * refactor: convert test and util to typescript * fillUserAndContinue and skipWelcomePage * test events sent via snowplow * adds last step "completed" + add step_number in the assertions * adds comment clarifying why we expect 1 event even though we block snoplow * findByTextEnsureVisible().click() can just be findByText.click() as we can't click invisibile things * remove default parameters to fillUserAndContinue * refactor: use findByRole for "Next" button
-
Alexander Polyankin authored
-