Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Mar 24, 2023
  2. Mar 03, 2023
  3. Mar 01, 2023
    • Nemanja Glumac's avatar
      [E2E] Regroup and move all related files to the root (#28749) · f71f20e1
      Nemanja Glumac authored
      * Register new E2E path alias
      
      * Move E2E support files
      
      * Move E2E runner files
      
      * Move E2E snapshot related files
      
      * Move E2E visual regression tests
      
      * Move E2E `downloads` scenarios
      
      * Move E2E `admin` scenarios
      
      * Move E2E `auditing` scenarios
      
      * Move E2E `bining` scenarios
      
      * Move E2E `ccollections` scenarios
      
      * Move E2E `cross-version` scenarios
      
      * Move E2E `custom-column` scenarios
      
      * Move E2E `dashboard` scenarios
      
      * Move E2E `dashboard-filters` scenarios
      
      * Move E2E `dashboard` reproductions
      
      * Move E2E `embedding` scenarios
      
      * Move E2E `filters` scenarios
      
      * Move E2E `joins` scenarios
      
      * Move E2E `models` scenarios
      
      * Move E2E `native-filters` scenarios
      
      * Move E2E `native` scenarios
      
      * Move E2E `onboarding` scenarios
      
      * Move E2E `organization` scenarios
      
      * Move E2E `permissions` scenarios
      
      * Move E2E `question` scenarios
      
      * Move E2E `visualizations` scenarios
      
      * Move E2E `sharing` scenarios
      
      * Move E2E `docker-compose`
      
      * Fix commands imports
      
      * Fix helpers imports
      
      * Fix downloads reproductions imports
      
      * Fix integration imports
      
      * Move visual regression tests
      
      * Various fixes
      
      * Move `validate-e2e-files` script
      
      * Add eslint rules for E2E folder
      
      * Improve file paths
      
      * Move `cross-version` tests into scenarios
      
      * Path fixes
      
      * Register E2E alias in tsconfig
      
      * Fix failing tests after rebase
      Unverified
      f71f20e1
  4. Feb 28, 2023
  5. Feb 22, 2023
    • Nick Fitzpatrick's avatar
      26890 viz picker behavior (#28238) · 5f31a102
      Nick Fitzpatrick authored
      * behavior logic
      
      * restructure Chart Settings HTML
      
      * adjusting e2e tests
      
      * adjusting unit tests
      
      * Removing pivot-grouping column when checking isSensible
      
      * fixing footer button sizing, unit test
      
      * adjusting e2e tests
      Unverified
      5f31a102
  6. Feb 21, 2023
  7. Feb 06, 2023
    • Nick Fitzpatrick's avatar
      Show hide all table columns (#27689) · edd0faad
      Nick Fitzpatrick authored
      * rename onShowWidget
      
      * temp
      
      * POC
      
      * temp
      
      * Rework logic to use dimensions rather than pass around mbql
      
      * PR Cleanup and feedback
      
      * adjusting e2e tests
      
      * Add unit tests
      
      * cleaning up unit tests
      
      * Hiding disabled columns from sorting list
      
      * breaking down field options function
      
      * passing  to settings def and column editor component
      
      * Adding e2e tests, adjusting to fix 13455
      
      * shame
      
      * removing unneeded import
      Unverified
      edd0faad
  8. Dec 12, 2022
  9. Nov 25, 2022
  10. Oct 18, 2022
    • Cal Herries's avatar
      Open the data reference when the cursor moves to a card tag in the native query editor (#25801) · c46de9a2
      Cal Herries authored
      * Refactor DataReference
      
      * Don't show card tags in the sidebar
      
      * Refactor template tag regexes
      
      * Add models to DatabaseSchemasPane
      
      * Restyle SchemaPane
      
      * Anton's suggestions
      
      * Rename show to onItemClick
      
      * Remove another ternary
      
      * Add openDataReferenceAtCard action, but not opening the sidebar yet
      
      * Fix useEffect static analysis
      
      * Types
      
      * Get opening the sidebar at a model working, at the expense of model autocomplete
      
      * Change icon of ModelPane if it's a question
      
      * Tidy
      
      * Refactor DatabasePane
      
      * Move onItemClick and back callback logic to redux actions
      
      * Add e2e test
      
      * Add back autocomplete
      
      * Load question tables correctly
      
      * Restore autocomplete
      
      * Fix card tag autocomplete on the first character of the tag name
      
      * Update template tag editor visibility test to not test for card tags
      
      * Fix tests for cardIdFromTagName
      
      * Tidy tag editor
      
      * Typo
      
      * Fix undefined error
      
      * Tidy NativeQueryEditor.cardTagId
      
      * Tidy nextCompleters
      
      * Tidy
      
      * Update unit tests for tag editor visibility
      
      * Tidy
      
      * Tidy
      
      * Add test for models
      
      * Check fields have loaded before displaying table fields
      
      * Tidy
      
      * Rename ModelPane to QuestionPane
      
      * Rename card to question
      
      * Remove unused files
      
      * Tidy
      
      * Fix renaming
      
      * Fix renaming
      
      * Make variable template tag names non-empty
      
      * Fix test flakiness
      
      * Tidy
      
      * Tidy
      
      * Remove is_saved_questions check
      
      * Rename
      
      * Replace setDataReferenceStack action with selector and fix test
      
      * Initialize dataReferenceStack to null as an "uninitialized" state to fix the back button
      
      * Update e2e tests
      
      * Update e2e tests
      
      * Replace long ternaries
      Unverified
      c46de9a2
  11. Sep 30, 2022
  12. Sep 16, 2022
    • Cal Herries's avatar
      Use slugs for card template tags in the native query editor + autocomplete (#25319) · 2c7178ea
      Cal Herries authored
      * Allow slugs in question template tags, like `{{#123-a-question}}`
      
      * Update CardTagEditor to add slug names to the query text, instead of IDs
      
      * Fix dispatchApiErrorEvent prop for entity object loader
      
      * Ignore errors loading names of referenced questions
      
      * Fix e2e tests
      
      * Implement autocomplete for model slugs
      
      * Prioritize models above questions
      
      * Make the ace_autocomplete popup slightly wider to account for longer question names
      
      * Reorder requires
      
      * Remove unnecessary ? from endpoint string
      
      * Add e2e test for card tag autocomplete
      
      * Fix NativeQueryEditor not swapping back to standard completers
      
      * Refactor replaceCardSlug
      
      * Add e2e test for updating tags when card name is changed
      
      * Refactor updateReferencedQuestionNames
      
      * Add slug method to Question class
      
      * Use map for autocomplete API results
      
      * Rename endpoint path
      
      * Rename for consistency
      
      * Add docstrings
      
      * Update slug() to guard against undefined names
      
      * Fix read permissions for the endpoint
      
      * Add backend test
      
      * Fix unit tests
      
      * Fix permissions error
      
      * Make regex simpler
      
      * Undo change of value on QuestionPicker
      
      * Fix tests
      
      * Fix models e2e test
      
      * Simplify updateReferencedQuestionNames
      
      * Fix bugs in updateReferencedQuestionNames
      
      * Rename variable
      
      * Move NativeQuery methods to new native-query utils module
      
      * Fix typescript errors
      
      * Fix e2e tests
      
      * Fix e2e test
      
      * Fix BE tests
      
      * Actually fix BE test
      
      * Refactor updateQuestionTagNames
      
      * Align comments
      
      * Reorder autocomplete results
      
      * Refactor: move all query text tag utils in one place
      
      * Add tests for regex
      
      * Add unit tests for cardIdFromTagName
      
      * Add schema to autocomplete_suggestions endpoints
      
      * Add perms checks to autocomplete tests
      
      * Add unit test for updateCardTagNames
      
      * Rename updateQuestionTagNames -> updateCardTagNames
      
      * Tidy card-autocomplete-suggestions-test
      
      * Rename questionReference-> cardTag for consistency
      
      * Rename card-reference -> card-tag for consistency
      
      * Use ternary operator for comprehension
      
      * Fix broken swapCompleters
      
      * Use prefix match on name for 123-foo case
      Unverified
      2c7178ea
  13. Aug 22, 2022
  14. Jul 14, 2022
  15. Jul 06, 2022
  16. Jun 30, 2022
  17. Jun 26, 2022
  18. Jun 23, 2022
  19. Jun 10, 2022
  20. Jun 09, 2022
  21. Mar 30, 2022
    • Anton Kulyk's avatar
      Add global navigation sidebar (#21069) · 8b341b1a
      Anton Kulyk authored
      
      * Prototype new nav skeleton (#20875)
      
      * yarn
      
      * begin basic layout flip
      
      * rough in collections list
      
      * position query builder
      
      * remove fitViewport from QB to fix layout quirks
      
      * extract search
      
      * clean up props
      
      * position search / style
      
      * fix dashboard layout
      
      * fix search icon
      
      * move ProfileLink
      
      * tweak spacing
      
      * fix burger
      
      * add basic toggle
      
      * tweak layout for sidebar toggle
      
      * tweak style
      
      * tweak sidebar sizing
      
      * Quick fix to prototype starting points init (#20922)
      
      * fix scroll overflow on sidebar
      
      Co-authored-by: default avatarGustavo Saiani <gustavo@poe.ma>
      
      * add currentUser to profile link
      
      * move footer items out of collection sidebar
      
      * tweak footer style
      
      * fix hover style
      
      * clean up footer
      
      * fixup
      
      * remove un-needed overflow hidden
      
      * hide app bar when in admin mode
      
      * merge sidebar header into new color scheme / nav layout
      
      * clean up headers
      
      * fix root collection spacing
      
      * smaller font size for nav items
      
      * provide flex context, fixes metadata editing
      
      * fix login page
      
      * Remove console logs
      
      * Put user's personal collection under Our analytics (#21061)
      
      * Browsing | Handle long item names in the sidebar (#21063)
      
      * Handle long names in the nav sidebar
      
      * Show tooltip with a full item name if its cut
      
      * Browsing | Fix data reference & admin permissions layout (#21101)
      
      * Remove admin navbar CSS fix
      
      * Handle admin navbar in root App component
      
      * Extract styled components
      
      * Fix data reference layout
      
      * Fix main container height
      
      * Browsing | Hide sidebar for questions, models and dashboards on page open (#21064)
      
      * Manage default sidebar visibility
      
      * Handle ad-hoc questions better
      
      * Move nav elements based on feedback (#21190)
      
      * scoot buttons around
      
      * move logo to appbar, scoot search
      
      * remove user footer, home link [ci skip]
      
      * review feedback [ci skip]
      
      * fix accidental removal of links (minimalism was a fad anyway) (#21192)
      
      * add button classes to new button (#21213)
      
      * Nav visual changes (#21223)
      
      * switch nav bg + move styling to NavRoot
      
      * readable text
      
      * increase contrast
      
      * selected icon color
      
      * remove bottom padding
      
      * search bar color
      
      * restructure sidebar position
      
      * fix sidebar header color
      
      * move to fixed when small
      
      * fix multiple scrollbars
      
      * fix sidebar width
      
      * home as own item, gear below
      
      * fix admin nav
      
      * extract nav constant, fix types
      
      * remove unused constant [ci skip]
      
      * New nav - get base colors in order (#21262)
      
      * new sidebar button
      
      * nav bg to bg-light
      
      * fix link track, remove extra home link
      
      * color tweaks
      
      * swap colors
      
      * Fix E2E tests for new navigation UI (#21196)
      
      * Use `main` HTML tag for main page content
      
      * Add extra UI helpers for Cypress
      
      * Fix tests failing due to nav UI changes
      
      * Remove not needed NavBar code
      
      * Fix loading databases list
      
      * Use `navigationSidebar` helper for collections
      
      * Use `navigationSidebar` for collection tests
      
      * Close sidebar in SQL filters tests
      
      * Extract AppBar component to `metabase/nav`
      
      * Fix test
      
      * Fix test
      
      * Skip sidebar visibility control test
      
      * Fix JSON engine DB check
      
      * Fix DatasetEditor edit bar colors
      
      * Fix global containers heights
      
      * Fix tests scrolling target
      
      * Fix styles
      
      * Fix navbar cypress helpers
      
      * [ci nocache]
      
      * Fix scroll in e2e test
      
      * Browsing | Manage sidebar state with redux (#21226)
      
      * Move navbar state to redux
      
      * Hide sidbebar using CSS
      
      * Fix native E2E test
      
      * Fix native e2e test
      
      * Fix model tests
      
      * Use more accurate element getters
      
      * Fix e2e tests
      
      * Browsing | Fix dashboard UI (#21233)
      
      * Fix parameter widgets event listeners
      
      * Attach scroll events to "main" instead of window
      
      * Resize filters panel when navigation sidebar open
      
      * Reorder imports at App
      
      * Hide AppBar and NavBar when editing dashboard
      
      * Fix navbar & appbar visibility
      
      * Fix filter positions
      
      * Extract `getMainElement` helper
      
      * Update unit tests
      
      * Fix test
      
      * Browse fix bulk actions (#21320)
      
      * make bulk action bar aware of sidebar, remove extraneous layout components
      
      * clean up styling
      
      * convert BulkActionBar to tsx
      
      * Fix types
      
      Co-authored-by: default avatarKyle Doherty <5248953+kdoh@users.noreply.github.com>
      Co-authored-by: default avatarGustavo Saiani <gustavo@poe.ma>
      Co-authored-by: default avatarAleksandr Lesnenko <alxnddr@gmail.com>
      Unverified
      8b341b1a
  22. Mar 09, 2022
    • Nemanja Glumac's avatar
      Upgrade Cypress to the latest version (9.5.1) (#20483) · 036aadd5
      Nemanja Glumac authored
      
      * Upgrade Cypress to the latest version (9.4.1)
      
      * Fix collections tests failures after upgrade
      
      * Fix binning tests failures after upgrade
      
      * Fix dashboard test failures after upgrade
      
      * Fix models test failures after upgrade
      
      * Fix admin test failures after upgrade
      
      * Fix visualizations test failures after upgrade
      
      * Rewrite and fix repro for 17397
      
      Added the missing issue reference.
      
      * Fix question test failures after upgrade
      
      * Fix interception handlers in metabase-visual tests
      
      * Fix the rest of the binning tests after upgrade
      
      * rewrite cypressWaitAll helper with a simple recursion
      
      * Updating to 9.5.0
      
      * Upgrade Cypress to v9.5.1
      
      * Fix repro for 13332
      
      * Fix pinned items `collections` test failures
      
      * Speed `collection-pinned-overview` spec up using the API
      
      * Fix failing localization test
      
      Co-authored-by: default avatarAleksandr Lesnenko <alxnddr@gmail.com>
      Co-authored-by: default avatarDiogo Mendes <diogo@metabase.com>
      Unverified
      036aadd5
  23. Feb 10, 2022
  24. Jan 19, 2022
  25. Jan 10, 2022
  26. Nov 15, 2021
    • Anton Kulyk's avatar
      Cleanup QuestionDataSource and fix breadcrumb links issues (#18962) · 88cc45c4
      Anton Kulyk authored
      * Remove not used `noLink` prop
      
      * Namespace URL generators
      
      * Fix HeaderBreadcrumbs font-size in "head" mode
      
      * Add unit-tests for QuestionDataSource
      
      * Allow using react nodes in breadcrumbs
      
      * Use func declaration for QuestionDataSource
      
      * Add prop-types
      
      * Simplify query assignment expr
      
      * Don't swallow errors in QuestionDataSource tests
      
      * Add repro for #17961 (unit)
      
      * Allow passing custom divider for HeaderBreadcrumbs
      
      * Fix join tables breadcrumb links
      
      * Add extra saved question utils
      
      * Add tests for nested questions
      
      * Fix source question link
      
      * Don't show source question's schema
      
      * Fix breadcrumb colors
      
      * Fix tests
      
      * Fix breadcrumb colors
      
      * Use saved-questions lib utils for DataSelector
      Unverified
      88cc45c4
  27. Jul 06, 2021
    • Nemanja Glumac's avatar
      [SQL filters coverage] Group reproductions (#16898) · 67248552
      Nemanja Glumac authored
      * Extract repro for #12228 into a separate file
      
      * Extract repro for #15444 into a separate file
      
      * Extract repro for #15460 into a separate file
      
      * Extract repro for #15700 into a separate file
      
      * Extract repro for #15981 into a separate file
      
      * Extract repro for #16739 into a separate file
      
      * Extract repro for #13961 into a separate file
      
      * Extract repro for #14145 into a separate file
      
      * Extract repro for #12581 into a separate file
      
      * Extract repro for #14302 into a separate file
      
      * Extract repro for #15163 into a separate file
      
      * Extract repro for #11580 into a separate file
      
      * Extract repro for #11480 into a separate file
      
      * Extract repro for #9357 into a separate file
      Unverified
      67248552
  28. Jul 05, 2021
  29. Jul 01, 2021
  30. Jun 28, 2021
  31. Jun 24, 2021
  32. Jun 18, 2021
  33. Jun 16, 2021
  34. Jun 15, 2021
    • Dalton's avatar
      exclude parameters from isDirty check to avoid unnecessarily showing the "Save" button (#16579) · df02ca99
      Dalton authored
      * exclude parameters from isDirty check
      
      * prevent calling methods on null originalQuestion
      
      * rmv Save reliance in e2e test
      
      * code refactor
      
      * unskip repro
      
      * rmv #520 workaround test because bug is fixed
      
      * revert to previous sandbox.cy.spec.js
      
      * skip workaround test
      
      * add explanatory comment
      Unverified
      df02ca99
    • Nemanja Glumac's avatar
      Merge `release-x.39.x` including ae6e9d9f (#16575) · 835fba84
      Nemanja Glumac authored
      * Cleanup from dump-load-entities-test (#16281)
      
      Updating dump-load-entities-test test so that dump dir is actually deleted at the end
      
      * Revamp Cypress custom commands (#16292)
      
      * Extract UI custom commands
      
      * Extract user related custom commands
      
      * Extract overwrites
      
      * Extract permissions related custom commands
      
      * Extract API custom commands
      
      * Extract helpers custom commands
      
      * Extract database related custom commands
      
      * Rename `helpers` group to `visibility`
      
      * Rename custom command `isInViewport` to `isRenderedWithinViewport`
      
      * Unskip repro for #15119 (#16297)
      
      * Create composite Cypress custom command `cy.createQuestionAndDashboard` (#16294)
      
      * Add composite Cypress custom command `createQuestionAndDashboard`
      
      * Refactor the existing test to use new Cypress custom command
      
      * Refactor repro for #13062 using the new Cypress custom command
      
      * Use the `describe` block instead of using `forEach` for complex repro
      
      * Add space between test cases
      
      * #12629 Repro: Human-readable number formatting not working properly (#16231)
      
      * Fix `nosql` user's email address (#16306)
      
      * Generate correct SQL for columns from joins inside other joins or source queries (#16254)
      
      * Fix joining a join inside a nested queries (#12928)
      
      * Code cleanup & dox
      
      * Tests for #13649
      
      * Test fixes :wrench:
      
      
      
      * Remove unit tests snapshots (#16321)
      
      * Remove snapshots from `Calendar.unit.spec.js`
      
      * Remove snapshots from `DashCard.unit.spec.js`
      
      * Remove snapshots generated for "internal" components
      
      * Remove unused import
      
      * Remove snapshot related command from `scripts`
      
      * Remove `noSnapshotTest` from internal components
      
      * Remove `react-test-renderer`
      
      * filter nulls out of histograms (#16345)
      
      * #15993 Repro: Click behavior with filter pass-thru does not show filters defined on question (#16342)
      
      * #16334 Repro: Click Behavior targeting a question with filter mapped causes the visualization type to change (#16343)
      
      * Add repro for #16334
      
      * Expand test assertion
      
      * #16327 Repro: Double binning menu for date fields when using Saved Question (Native) (#16359)
      
      * #16322 Repro: "Custom mapping" is only available, when "A list of all values" is set (and after a browser refresh) (#16361)
      
      * #16226 Repro: LDAP/Email settings gets cleared if validation fails (#16364)
      
      * Add repro for #16226
      
      * Extract email settings into a separate file
      
      * Add repro for #16226 (Email)
      
      * switch to column settings when sidebar is already open (#16368)
      
      * align labels on non-bars in combo charts (#16369)
      
      * #16378 Repro: Cannot enable JWT authentication (#16384)
      
      * Fix JS error on JWT settings form (#16394)
      
      * fix default updateSettings function in SettingsBatchForm
      
      * unskip repro
      
      * #12128 Repro: Can't change label on empty row value (#16426)
      
      * Post-merge fix
      
      * Post-merge fix 2
      I didn't solve this merge conflict properly in the original merge.
      
      Co-authored-by: default avatarJeff Evans <jeff303@users.noreply.github.com>
      Co-authored-by: default avatarCam Saul <1455846+camsaul@users.noreply.github.com>
      Co-authored-by: default avatarPaul Rosenzweig <paulrosenzweig@users.noreply.github.com>
      Co-authored-by: default avatarNoah Moss <32746338+noahmoss@users.noreply.github.com>
      Unverified
      835fba84
  35. Jun 04, 2021
  36. May 25, 2021
  37. May 24, 2021
    • dpsutton's avatar
      Parse number filter inputs (#15992) · 17aca2d3
      dpsutton authored
      
      * Parse number filter inputs
      
      The frontend feels a bit off on this. It's sending `"string/="`
      instead of `"number/="` but the backend code knows that number filters
      can ignore it. It's also sending strings from the text inputs when it
      should be sending number types.
      
      We've had a convention that the types come across as they should be:
      numbers come in as numbers and strings as strings. This seems to break
      that convention.
      
      * Unskip the "number" part of the repro for #15981
      
      * use normalized parameter values when diffing for dirtiness
      
      * update tag parameter parsing fns to handle number --> number/= types
      
      * tweak & unskip cypress repro test
      
      * wrap fn in parens to invoke it?
      
      Co-authored-by: default avatarNemanja <31325167+nemanjaglumac@users.noreply.github.com>
      Co-authored-by: default avatarDalton Johnson <daltojohnso@users.noreply.github.com>
      Unverified
      17aca2d3
Loading