This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Oct 07, 2022
-
-
Mahatthana (Kelvin) Nomsawadi authored
* Basic static gauge chart * Add gauge segment min max labels * Add gauge segment label * Cleanup code * Fix React list key error * Remove hard-coded colors * Make the everything calculates at the gauge center * Make gauge segment data easier to understand * Example scaling chart to avoid label overflow * Avoid long labels overflow by scaling the gauge chart down * Match gauge needle color with the design * Fix hard coded gauge segment label anchor calculation * Fix static gauge chart not rotate gauge needle correctly * Add E2E for static gauge chart * Fix `transform-origin: center` not working with BE static chart * Truncate long segment label so charts can never be too small * Fix gauge segment not connected to each other * Static chart refactor part 1 * Final static gauge chart refactoring * Simplify clojure chart render function * Fix relative imports * Make overlapping gauge labels more legible * Make GaugeLabelData property orders consistent * Make a function easier to read * Make the calculation more correct though the behavior would still be the same * Separate presentational component out of the Gauge component * Remove unused tap> * Fix gauge chart not working on chart tester in internal static viz page * Fix gauge chart not rendered with Lato font * Improve internal page static chart tester option clarity * Support column settings in gauge charts * Add unit tests for static gauge chart utils * Address review * Fix unittest failure
-
Gustavo Saiani authored
-
Dalton authored
* Move some constants in schema_metadata to metabase-lib * Rename isFK and isPK to isTypeFK, isTypePK to handle name conflicts * Move type logic in schema_metadata.js to metabase-lib * Move unit test over to isa.unit.spec.js
-
- Oct 06, 2022
-
-
Nemanja Glumac authored
* Remove duplicated tests * Use the existing test to reproduce 12972 * Merge tests together Do not write tiny, unit-like E2E tests! * Fix the misleading test title * Tidy up caching tests * Use the existing helper function * Move helpers to the bottom of the file * Type less * DRY code
-
Dalton authored
* Move metabase/lib/types to metabase-lib * Move TYPES to constants file
-
Kyle Doherty authored
-
Alexander Polyankin authored
-
Gustavo Saiani authored
-
- Oct 05, 2022
-
-
Gustavo Saiani authored
-
Dalton authored
* Move utils to date-filters.ts * Move ExcludeDatePicker utils over to metabase-lib * Update import path * Fixes
-
Kyle Doherty authored
-
Gustavo Saiani authored
-
Alexander Polyankin authored
-
- Oct 04, 2022
-
-
Ryan Laurie authored
* better action-adding behavior * use viz settings lib
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
Cal Herries authored
* Refactor DatabaseTablesPane and convert TablePane to tsx * Remove redundant <> * Undo .toUpperCase() * Display table.table_name * Display table.table_name as the title of the TablePane * Fix e2e
-
Dalton authored
* Move mbql date filter utils out of DatePicker * Use fn declarations for consistency * Fix dep import
-
Nemanja Glumac authored
* Replace deprecated `cy.server` with `cy.intercept` * Replace stubbed `cy.route` calls * Fix failed tests * Spy on intercepted routes
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
- Oct 03, 2022
-
-
Nick Fitzpatrick authored
* Adding columnHasSettings function to ChartSettingFieldPicker * PR Feedback
-
Dalton authored
-
Nick Fitzpatrick authored
* Adding placeholder and footer to Viz Settings Map Region * PR Feedback * Adding Component Display Name for CustomMapFooter
-
Nemanja Glumac authored
-
Dalton authored
-
Dalton authored
* Trigger a query run on tab change if the query is dirty * Ensure field is focused after a query run
-
Mahatthana (Kelvin) Nomsawadi authored
-
Alexander Polyankin authored
-
Cal Herries authored
* Remove the title from all panes and put it in the sidebar header component, next to the back button * Return cards with db metadata * Load all questions into DatabaseTablesPane * Only load questions from the selected database * Create ModelPane * remove mapDispatchToProps * Style ModelPane and reuse FieldPane for model fields * Use FieldList for TablePane and ModelPane * Load connected tables * Create ConnectedTablesList * Restyle DatabaseTablesPane * Adjust styles * smaller ModelPaneIcon * ModelPaneText font weights * description spacing * icon colors and spacing * appease the linter for real * Only load models for a given database * Add model ID next to each model * Remove TODO * Undo changes to database api * Refactor files * Add _target="blank" for model "See it" link * Pluralize copy * Fix i18n * Change back TablePane from tsx -> jsx * Tidy * Don't show models if there aren't any * Tidy (consistency) * Add BE tests * Do a read-check for the database * Revert "Add BE tests" This reverts commit 8d18f4e12636e32fda2b5b670124d69237fce5bd. * Revert "Only load models for a given database" This reverts commit 028ba43f20d55fef0aaf484d3557e75ae5501758. * Change endpoint to database/:id/models * Tidy * Use name in SQL, not display name * Add e2e test for models pane * Tidy * Fix e2e test - no more "back" text after redesign * Convert SchemaPane to tsx * Revert "Do a read-check for the database" This reverts commit 550fc0eb31268d204b6dc7c853b9d2fc7ad50ecc. * Fix endpoint for nil edit info * Fix listQuestions path * Rename test * Remove prn * Batch of suggested changes * Convert ModelPane to typescript * Convert to tsx * Replace any * Tidy * Add permissions tests for GET api/database/:id/models * Remove redundant code * Fix typecheck error for getQuestionFromCard * Rename models -> sortedModels * Remove comment * Use useMemo * Remove /api/database/:id/models endpoint, use api/search instead * Correct docstring * Remove separate listModelsForDatabase endpoint Co-authored-by:
Maz Ameli <maz@metabase.com>
-
Alexander Polyankin authored
-
- Sep 30, 2022
-
-
Cal Herries authored
-
Kyle Doherty authored
-
Cal Herries authored
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
Nemanja Glumac authored
* Remove unused `underscore` imports from `.ts` files * Remove unused `underscore` imports from `.tsx` files * Remove unused `underscore` imports from `.jsx` files * Remove unused `underscore` imports from `.js` files
-
Nemanja Glumac authored
-
- Sep 29, 2022
-
-
Dalton authored
* Fix/refactor QB dirty results selector * Don't clobber query results & last run card when canceling model changes * Always rerun updated questions if they have a dirty query * Add action that only reruns dirty question queries * Stop rerunning model queries in a few scenarios where they don't need to run * Fix e2e tests * Add e2e tests to ensure reruns when necessary
-