Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Jun 13, 2023
    • Denis Berezin's avatar
      [Milestone] Add action edit in action execute modal (#31171) (#31478) · 3f35c0d9
      Denis Berezin authored
      * Add action edit modal call (#31171)
      
      * Add action edit from action call form modal
      
      * Code review, unit tests
      
      * Add e2e test
      
      * fixup! Code review, unit tests
      
      * Code review, more tests
      
      * Add edit action trigger tooltip
      
      * Possible fix for read only model
      
      * Fix e2e tests
      Unverified
      3f35c0d9
    • Cal Herries's avatar
    • Nemanja Glumac's avatar
      [E2E] Fix 18630 repro flake (#31548) · 63027880
      Nemanja Glumac authored
      * Remove unnecessary intercept
      
      * Add limit (3) to the source query
      
      Adding limit to the source query doesn't affect the reproduction
      confidence, but it greatly improves performance.
      
      * Fix eslint warning
      
      * Improve assertions
      Unverified
      63027880
    • Noah Moss's avatar
      Fix sandbox table migrations for invalid perms table (#31508) · 4e6e48c3
      Noah Moss authored
      * fix migrations and add new test
      
      * fix migration IDs in test
      
      * dont fail migration if FK already exists
      
      * rewrite without table aliases to try to fix error on mysql/mariadb
      
      * try to rewrite again
      
      * revert to prior version of query
      
      * another attempt at a rewrite
      
      * fix typo
      
      * fix typo
      
      * bump ci
      
      * replace LIKE with =
      Unverified
      4e6e48c3
    • Ngoc Khuat's avatar
    • Oisin Coveney's avatar
    • Tim Macdonald's avatar
      Restrict uploading to people with data access to DB (#31427) · dfcfe5e0
      Tim Macdonald authored
      * Restrict uploading to people with correct perms
      
      [Fixes #30322]
      Unverified
      dfcfe5e0
    • Kamil Mielnik's avatar
      Respect alphabetical order of collections in "Move" modal (#31355) · 750f1cfe
      Kamil Mielnik authored
      * Remove unused openCollection prop
      
      * Preserve collection sorting given by API in getExpandedCollectionsById
      - Fixes #31294
      
      * Use Collections.getListStatePath() to unhardcode the object path
      
      * Use CollectionId instead of any
      
      * Extract Collections.selectors.getCollectionList
      
      * Convert Collections selectors unit tests to TypeScript
      
      * Remove redundant selector
      
      * Add a unit test for Collections.selectorsgetExpandedCollectionsById
      
      * Use createMockCollection for all test collections
      - Use Partial<Collection> instead of MockCollection type
      
      * Add a test case for non-nested collections
      
      * Rename identifiers
      
      * Add a test suite for snippet collections
      
      * Fix SnippetCollections.selectors.getExpandedCollectionsById
      
      * Refactor tests
      
      * Refactor tests
      
      * Revert unit tests for selectors
      
      * Revert convert selectors to TypeScript
      
      * Add error support to setupCollectionsEndpoints
      
      * Introduce useCollectionsQuery
      
      * Fix tests
      
      * Add unit tests for preserving order of collections in ItemPicker
      
      * Make assertions more semantic
      
      * Allow mocking root collection
      - Make ROOT_COLLECTION object match Collection type
      
      * Add tests for preserving order in snippet collections list
      - fix case with an undefined snippet collections list
      
      * Update test case with data loading necessary for ItemPicker underneath the EditSandboxModal after updating selectors
      
      * Update test case with data loading necessary for ItemPicker underneath the AddToDashSelectDashModal after updating selectors
      
      * Rename useCollectionsQuery to useCollectionListQuery
      
      * Remove leftover fetchMock
      
      * Move error out of setupCollectionsEndpoints
      
      * Fix ModelDetailPage unit tests setup
      
      * Remove leftover fetchMocks
      
      * Revert changes to ROOT_COLLECTION constant
      - use createMockCollection
      
      * Fix typing
      
      * Remove dead link to Source Sans Pro font
      - it caused markdown check to fail during CI, this fixes it
      - it seems that the font has been removed from Google Fonts
      - users can still choose this font in Metabase settings
      - removal confirmation: https://metaboat.slack.com/archives/C5XHN8GLW/p1686320576992299?thread_ts=1686319384.637909&cid=C5XHN8GLW
      
      * Fix getExpandedCollectionsById selector
      
      * Revert adding useCollectionListQuery in unit tests
      Unverified
      750f1cfe
  2. Jun 12, 2023
  3. Jun 10, 2023
  4. Jun 09, 2023
  5. Jun 08, 2023
    • Jesse Devaney's avatar
      New Dashboard Primitive - Headings (#30804) · 3287965d
      Jesse Devaney authored
      * initial prototype commit
      
      * add default value for text cards
      
      * auto focus text/heading cards on creation
      
      * remove default value - use placeholders instead
      
      * fix inability to edit when there is no heading value
      
      * remove unnecessary comment
      
      * re-word heading & text tooltip
      
      * refactor and fix draggable area bug
      
      * fix border artifacts when combined with dragging styling
      
      * fix stroke width for hovering and focused - make them the same
      
      * display placeholder value in editing mode if content is empty for text and heading dash-cards
      
      * remove duplicate placeholders
      
      * allow pointer-events anywhere on the div (not just content)
      
      * refactor styling to apply no content borders
      
      * Fix heading overflow
      
      * refactor text dash-card button
      
      - remove unnecessary redux store usage
      
      * refactor border styling to one css format
      
      * rename class names to match syntax conventions
      
      * refactor auto-preview styling for dash-card root
      
      * refactor style name
      
      * remove comment
      
      * undo unnecessary re-formatting
      
      * refactor popover styling
      
      * remove comment that was previously addressed
      
      * refactor to typescript
      
      * remove comment
      
      * remove un-used code
      
      * fix TypeScript errors in text unit spec
      
      * update button key and event description
      
      * add e2e tests for text and heading dash-cards
      
      * add e2e tests
      
      * add small heading unit tests
      
      * fix typescript error
      
      * add aria-label removed by merging with master
      
      * fix broken test
      
      * fix broken tests
      
      * fix typescript errors
      
      * align edit text with preview text
      
      * change from hover editing to click editing
      
      * update tests for click editing
      
      - remove hover tests
      - change focus tests to click tests
      - remove top-level findByText() calls
      
      * refactor to use-focus hook
      
      * add "heading" to getSupportedCardsForSubscriptions
      
      * rename showVisualizationOptions to showDashcardVisualizationSettings
      
      * add aria label to buttons and query in tests by label
      
      * refactor E2E tests to make longer flows
      
      * add existing metabase types to Heading
      
      * refactor heading and text menu to use EntityMenu
      
      * fix aria-label
      
      * [skip ci] fix css syntax error from missing semi-colon
      
      * adjust styles and use rem value standards
      
      * [skip ci] prevent drag on click to edit surface area
      
      * tweak styles for mobile resolutions
      
      * fix react import lint error
      
      * fix E2E tests
      
      * refactor e2e helper to shorthand
      
      * refactor to use e2e helper
      
      * refactor to use saveDashboard() e2e helper
      
      * refactor e2e tests
      
      * rename styling variables
      
      * null coalesce minWidth
      
      * remove unnecessary anonymous function wrapping
      
      * refactor to useToggle
      
      * improve no content check
      
      * use object creation shorthand
      
      * simplify expression
      
      * refactor empty content styling
      
      * move text-edit-container styling into heading and text components
      
      * refactor resize handle styling and abstract condition into function
      
      * refactor to use CSS function for string styling
      
      * improve Heading unit tests
      
      * improve Text unit tests
      
      * update Heading and Text unit tests
      
      * update for new Icons
      
      * fix E2E tests
      
      * refactor E2E test assertions
      
      * refactor click events to use user-event library
      
      * fix tooltip positioning
      Unverified
      3287965d
    • Ryan Laurie's avatar
      CSV upload loading messages (#31380) · d95d69df
      Ryan Laurie authored
      * update upload loading state for long uploads
      
      * add unit tests
      
      * fix fake timers
      Unverified
      d95d69df
    • Nemanja Glumac's avatar
      [E2E] Extract `actions` E2E tests to their own group (#31432) · c6993e28
      Nemanja Glumac authored
      * Move core actions E2E tests to a separate folder
      
      * Run new `actions` E2E group in CI
      
      Metabase actions deserve their own E2E group, as the test suite around
      them is expected to grow. This commit introduces `actions` E2E group to
      the CI.
      Unverified
      c6993e28
    • shaun's avatar
Loading