Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Sep 15, 2022
    • Howon Lee's avatar
      Coerce all the static viz charts that could be a combo to be a combo (#24696) · abca737f
      Howon Lee authored
      
      * thinking
      
      * killing it
      
      * lab image bundle for lines proper
      
      * linter shutting up
      
      * get rid of viz-settings binding at all
      
      * Remove accidentally re-added categorical-area
      
      * Merged master, and temporarily comment out some tests
      
      * Simplify conditional for detecting chart type
      
      * Remove a few old fns/symbols
      
      * Clean up the detect-chart a bit
      
      * Remove sparkline. It's an old concept that's not used
      
      We can acheive similar results with :line directly. If we care about a trend, we can use a :smartscalar.
      
      * Fix up tests that now also use combo charts
      
      * Missed a key change for area test
      
      * Get rid of deprecated sparkline stuff
      
      * Remove commented out sparkline tests
      
      * Delete this function. I was using it in the REPL, it's not needed
      
      Co-authored-by: default avatarAdam James <adam.vermeer2@gmail.com>
      abca737f
    • Benoit Vinay's avatar
      Convert Variable to TypeScript (#23560) · 3925f1b4
      Benoit Vinay authored
      * Move Variable in its own package
      
      * TemplateTagVariable package created
      
      * memoizeClass return type
      
      * Renaming Query to QueryInner to follow standards
      
      * Constants added to TemplateTagVariable
      
      * Fixed Query typing
      
      * Misc
      3925f1b4
    • Ryan Laurie's avatar
      add simple dev actions page (#25434) · 26d869d1
      Ryan Laurie authored
      26d869d1
    • Braden Shepherdson's avatar
      Serdes v2: Fix a missing case in the deps for a Card (#25392) · 077d8e36
      Braden Shepherdson authored
      Cards can depend on other Cards as their `:source-table`, but the code
      to extract `serdes-dependencies` from the MBQL query did not
      capture that case.
      077d8e36
    • Braden Shepherdson's avatar
      Serdes v2: Handle missing User refs by synthesizing dummy users (#25391) · f2981efc
      Braden Shepherdson authored
      Many entities have `creator_id` and similar fields. `User`s are not
      serialized. Foreign keys to users are serialized as email addresses.
      
      During deserialization in a different instance (eg. a local dev instance
      importing a dump from a prod instance) many such users may not exist.
      This change creates new `User` entities on the fly with empty names,
      generated passwords, and the email set.
      f2981efc
    • Anton Kulyk's avatar
      Respect data app nav items (#25416) · 7667c334
      Anton Kulyk authored
      * Allow overwriting `SidebarLink` name styles
      
      * Add `DataAppPageSidebarLink` component
      
      * Render data app sidebar page tree
      
      * Hide pages marked as hidden
      
      * Add `getParentDataAppPageId` helper
      
      * Highlight parent page when hidden page is selected
      
      * Extract `getSelectedItems` and add tests
      
      * Fix messed up ordering bug
      7667c334
    • Anton Kulyk's avatar
      Implement scaffolding new pages for existing apps (#25402) · 54afeea9
      Anton Kulyk authored
      * Remove `DataAppNewButton`
      
      * Add new item menu
      
      * Fix missing click handler
      
      * Use "pencil" icon for new page
      
      * Fix action buttons look
      
      * Extract `DataAppDataPicker` component
      
      * Rename `scaffold` action
      
      * Add `scaffoldNewPages` action
      
      * Add `ScaffoldDataAppPagesModal` component
      
      * Add `DataAppNavItem` type
      
      * Allow building page URLs out of nav items
      
      * Implement "Add data" flow
      54afeea9
    • Anton Kulyk's avatar
      Implement implicit actions for data apps (#25393) · f4d2f588
      Anton Kulyk authored
      * Add implicit action click behavior types
      
      * Add `isImplicitActionButton` helper
      
      * Extract `ActionButtonView` component
      
      * Separate implicit and default action buttons
      
      * Use `DashboardOrderedCard` instead of `DashCard`
      
      * Use `Value` type for PK argument
      
      * Fix type error
      
      * Extract `ImplicitActionClickBehavior` type
      
      * Add `ImplicitInsertModal`
      
      * Add `DashCardDataMap` type
      
      * Add dashboard selectors for implicit update/delete
      
      * Add `ImplicitUpdateModal`
      
      * Add `ImplicitDeleteModal`
      
      * Validate implicit actions in `clickBehaviorIsValid`
      
      * Reload page on action instead of a single dash card
      
      * Tweak successful insert toast message
      
      * Fix eslint error
      f4d2f588
  2. Sep 14, 2022
  3. Sep 13, 2022
  4. Sep 12, 2022
    • Ryan Laurie's avatar
      Enforce import order in ESLint/import (#25123) · d9b0b652
      Ryan Laurie authored
      * enforce import order
      
      * reorder all imports
      
      * more import updates
      d9b0b652
    • Case Nelson's avatar
      [Apps] exclude is_write cards from virutal tables (#25367) · 5f478d10
      Case Nelson authored
      When creating a new question, you can choose an existing saved question
      as your starting point. However, we want to exclude is_write cards from
      that list.
      5f478d10
    • Ryan Laurie's avatar
      Action Creator 5: Use Action Form Settings In Dashboard Modal Forms (#25344) · 4824543c
      Ryan Laurie authored
      * derive parameter types from form settings on save
      
      * update template tag types with parameter types
      
      * improve tests
      
      * pass action visualization settings to actionParametersInputForm
      4824543c
    • Alexander Polyankin's avatar
    • Dalton's avatar
      Normalize virtual card table fields using its `table_id` and `id` (#25267) · 223708bd
      Dalton authored
      * Update FieldSchema to store virtual card table fields using both table_id and field id
      
      * Update the metadata selector to look use field's uniqueId property
      
      * Add tableId arg to Metadata.prototype.field method
      
      * Normalize fields in sample_database_fixture
      
      * Fix incorrect e2e test
      
      * Make the second arg of field optional
      
      * Pull out small fn
      
      * Refactoring + clean up + mocks & tests
      
      * Update metadata.field(...) usage in a few places
      
      * Revert FieldDimension change
      
      * Move complex FieldDimension `field` logic to the instantiation of "virtual" fields by the associated query's `table` method (#25109)
      
      * Add merge method to Field
      
      * add new virtual table utils + tests
      
      * Use new utils in implementation of Structured/NativeQuery table methods + remove unneeded Dimension logic
      
      * let all Questions return dependentMetadata
      
      * Fix types related to query.table() potentially returning null
      
      * Fix updateQuestion tests
      
      * Remove unused Dimension imports
      
      * Fix issue resolving rootTable on queries based on virtual tables
      
      * Fallback to the nested card table stored in the Metadata instance
      
      * Make the nested card Table the main driver in returning fields for nested cards + other misc fixes
      
      * more tweaks related to cloned Tables, source queries
      
      * Don't clobber metadata if something is already there (like a method named 'metadata')
      
      * Fix for nested native query
      
      * Don't use real table for source query
      
      * Update table code to use the actual nested card table fields instead of doing merge logic
      
      * Skip an e2e test
      
      * Workaround for getting Dimensions from joins
      
      * Update arg name
      
      * Try removing the Table fetch from Question's dependentMetadata method
      
      * Don't rerun query when converting question to model
      
      * Fix for source query not showing 'previous results'
      
      * Fix unit tests
      
      * Update models e2e tests not to wait on query
      
      * Unskip repro for #23449
      
      * make sure a join's joinedQuery is not a dataset/model
      
      * use createQuestion in e2e test
      
      * don't use Question redux dispatch method for updating
      
      * split test cases
      
      * Add comment
      223708bd
    • Anton Kulyk's avatar
      Respect data app homepage setting (#25368) · aaf93a0b
      Anton Kulyk authored
      aaf93a0b
    • Anton Kulyk's avatar
      Group nav sidebar files (#25359) · fdaa759a
      Anton Kulyk authored
      * Move `DataAppNavbar` to its own directory
      
      * Move `MainNavbarContainer` to its own directory
      
      * Move `BookmarksList` to `MainNavbarContainer`
      
      * Extract `getSelectedItems`
      
      * Extract `DataAppActionPanel`
      fdaa759a
    • Nick Fitzpatrick's avatar
      24840 reordering breakouts (#25318) · 1284079b
      Nick Fitzpatrick authored
      1284079b
    • Jeff Bruemmer's avatar
      fix links (#25358) · 49622d7e
      Jeff Bruemmer authored
      49622d7e
Loading