Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Apr 26, 2024
  2. Apr 25, 2024
    • Braden Shepherdson's avatar
      [MBQL lib] Add `column-extractions` to the top level (#41525) · dd9e126b
      Braden Shepherdson authored
      Column extractions are "canned" expressions based on a column's
      type. For example, we might extract the weekday from a temporal column,
      or the domain from an email or URL column.
      
      This logic already existed inside the `column-extract` drill; this pulls
      it out as a top-level concept, since extractions are also being
      integrated into the notebook editor apart from drills.
      
      Part of the follow-up for Extract Column epic #38964.
      Unverified
      dd9e126b
  3. Apr 23, 2024
  4. Apr 22, 2024
  5. Apr 19, 2024
  6. Apr 18, 2024
    • Denis Berezin's avatar
      Fix Embedded dashboard parameters parse runtime error (#41545) · 198ebcf5
      Denis Berezin authored
      * Fix parameters parse
      
      * Add e2e test
      
      * Add e2e test
      Unverified
      198ebcf5
    • Ryan Laurie's avatar
      Question + Model Picker (#40207) · 784c26ac
      Ryan Laurie authored
      * WIP questionpicker
      
      * use to replace dashcard content
      
      * much better stuff
      
      * question picker
      
      * values source card modal
      
      * create action form
      
      * awesome hacky fix for crashing model detail page
      
      * use entity picker in sandboxing modal
      
      * deprecate ye olde question picker
      
      * keep old question picker in add-card dashboard sidebar
      
      * better last level check
      
      * update types
      
      * make stuff better
      
      * fix rebase conflicts
      
      * better initial value handling
      
      * update e2e tests
      
      * sweet sweet unit tests
      
      * fix sandbox tests
      
      * fix tests
      
      * type fix
      
      * fixes
      
      * search style improvements
      
      * remove unused prop
      
      * safer path detection
      
      * delayed loading spinner
      
      * change confirm default
      
      * set default collection for placeholder card
      
      * address review comments
      
      * update unit tests
      
      * update e2e tests
      
      * fix re-rebase
      
      * add some happy little comments
      Unverified
      784c26ac
  7. Apr 17, 2024
  8. Apr 16, 2024
    • Romeo Van Snick's avatar
      Add most used functions to suggestions when they open (#41267) · 176f6317
      Romeo Van Snick authored
      * Add list of most popular functions and aggregations
      
      * Render 'All functions' link on expression dropdown
      
      * Suggest popular functions when no input is given
      
      * Do not return focus to search bar
      
      * Default to not matching any substring
      
      * Open suggestions when the expression editor opens
      
      * Group expressions by group
      
      * Render group titles in dropdown
      
      * Match the expression suggestions height to the design
      
      * Add tests for popular functions
      
      * Convert tests to it-style
      
      * Only return supported popular functions
      
      * Limit most used functions group to 5 items
      
      * Make the suggestion footer keyboard-accessible
      
      * Make a different group for popular aggregations
      
      * Remove padding on suggestion list
      
      * Resize list
      
      * Add test for popular functions in suggest
      
      * Move showMetabaseLinks into args
      
      * Remove unneeded optional chain
      
      * Clarify popup issue in ACE hack
      
      * Use correct target for links
      
      * Reference correct method in comment
      
      * Split up popular expressions
      
      * Remove Set around popular functions/aggregations
      
      * Do not allow interacting with suggestion header
      
      * Do not use _ prefix for variable
      
      * Add verb in test
      
      * Remove unused async in test
      
      * Test if functions are in document
      
      * Move tests for suggestWithFooter to separate file
      
      * Use correct target in link
      
      * Fix typo in key
      
      * Allow picking suggestion when textbox is empty
      
      * Remove unnecessary cast
      
      * Avoid double scroll bars
      
      * Only show link to all functions when editor is empty
      
      * Split up popular functions between expressions and filters
      
      * Fix type of popular variable
      
      * Use the same heuristic for footer as for popular expressions
      
      * Close suggestions when the editor is not focused
      
      * Add missing open prop in test
      
      * Simplify test
      
      * Add selector for expression editor widget
      
      * Fix e2e tests
      
      Fix e2e tests
      
      * Avoid non-interactive clicks from closing the dropdown
      
      * Use custom expression helpers in broken test
      
      * Fix test
      
      * Remove should exist check for selector
      Unverified
      176f6317
    • Uladzimir Havenchyk's avatar
  9. Apr 15, 2024
  10. Apr 12, 2024
    • Uladzimir Havenchyk's avatar
    • Romeo Van Snick's avatar
      Expression editor suggestion improvements (#41304) · b355cc24
      Romeo Van Snick authored
      * Add help text icon in expression editor suggestions (#41092)
      
      * Add helptext to expression suggestions
      
      * Deduplicate getDatabase calls
      
      * Allow customising popover width
      
      * Split out help text content component
      
      * Render an info icon with the help text
      
      * Remove duplicated defaults for popover
      
      * Explicitly wait for suggestion items in test
      
      * Remove commented out code
      
      * Use React imports directly
      
      * Rename e to evt
      
      * Inline getHelpText when creating suggestions
      
      * Avoid overlapping content
      
      * Remove unnecessary Fragment
      
      * Avoid selecting item when clicking link or button inside element
      
      * Allow shifting popover
      
      * Stop Popover mouse events for bubbling
      
      * Use onMouseDown instead of onMouseDownCapture to avoid clicks inside popover from triggering select
      
      * Add help text to all suggestions that are know mbql functions
      
      * Expression suggestions clean up (#41236)
      
      * Move ExpressionEditorSuggestions to tsx
      
      * Convert ExpressionEditorSuggestions to functional component
      
      * Simplify suggestion match component
      
      * Move ExpressionEditorSuggestions a separate folder
      
      * Remove default export
      
      * Use Popover instead of Tippy for suggestions list
      
      * Fix suggestions tests
      
      * Remove data-ignore-outside-clicks
      
      * Add default for suggestions
      
      * Fix e2e test
      
      * Move helptext wrapper to ExpressionEditorTextfield
      
      * Switch to metabase/ui for Button
      
      * Use arrow function
      Unverified
      b355cc24
  11. Apr 11, 2024
  12. Apr 10, 2024
  13. Apr 09, 2024
  14. Apr 08, 2024
    • Nemanja Glumac's avatar
      Preserve notebook native preview user preferences (#41064) · dd8e0728
      Nemanja Glumac authored
      * Add new user-local setting `notebook-native-preview-preferences`
      
      * Update user settings on FE
      
      * Use two distinct setting entries
      
      * Update FE types
      
      * More explicit `notebook-native-preview-sidebar-width` definition
      
      * Add selectors
      
      * Initialize QB uiControls based on the BE settings
      
      * Rename QB store entry
      
      `isNativePreviewSidebarOpen` -> `isShowingNotebookNativePreview`
      
      * Rename QB store entry
      
      `nativePreviewSidebarWidth` -> `notebookNativePreviewSidebarWidth`
      
      * Add Redux actions
      
      * Dispatch user settings on top of Redux store
      
      * Fix test title typo
      
      * Add E2E test to make sure sidebar is resizable
      
      * Expand the E2E test to cover persisting settings across sessions
      
      * Be more explicit that we're resizing along x axis
      
      * Store window breakpoint as a variable
      
      * Calculate handle's left position more explicitly
      Unverified
      dd8e0728
    • Ryan Laurie's avatar
      Make Collection Picker child-aware (#40655) · 9be788d1
      Ryan Laurie authored
      * make collectionpicker child-aware
      
      * update unit tests
      
      * add another unit test
      
      * move test some place more sensible
      
      * fix rebase
      Unverified
      9be788d1
Loading