This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Apr 19, 2024
-
-
Uladzimir Havenchyk authored
-
- Apr 18, 2024
-
-
Denis Berezin authored
* Fix parameters parse * Add e2e test * Add e2e test
-
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
-
- Apr 17, 2024
-
-
Noah Moss authored
Co-authored-by:
Noah Moss <noahbmoss@gmail.com> Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com> Co-authored-by:
Nick Fitzpatrick <nick@metabase.com> Co-authored-by:
John Swanson <john.swanson@metabase.com> Co-authored-by:
Sloan Sparger <sloansparger@users.noreply.github.com> Co-authored-by:
Sloan Sparger <sloansparger@gmail.com>
-
Uladzimir Havenchyk authored
-
Oisin Coveney authored
- Apr 16, 2024
-
-
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
-
Uladzimir Havenchyk authored
-
- Apr 15, 2024
-
-
Jesse Devaney authored
* fix progress bar in query builder * add spec to verify regression fix
-
Denis Berezin authored
-
Uladzimir Havenchyk authored
-
Oisin Coveney authored
-
- Apr 12, 2024
-
-
Uladzimir Havenchyk authored
-
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
-
- Apr 11, 2024
-
-
Nick Fitzpatrick authored
* collection and db breadcrumbs * compact breadcrumbs * adding navigation keybindings * recent_views and search changes to always include collection or db name * removing breadcrumbs, display parent name * removing unneeded components * e2e and FE unit tests * waitFor * e2e tests for keybindings * help * be tests passing * PR feedback and type adjustments * unit test adjustment
-
Uladzimir Havenchyk authored
-
Uladzimir Havenchyk authored
-
Nemanja Glumac authored
* Keep the original question name in the save modal where possible Resolves #41196 * Update tests * Append "- Modified" to a suggested question name * Preserve the original question description * Address reviews - adjust the translation string * Add E2E reproduction * Remove extra space * Improve assertions
-
- Apr 10, 2024
-
-
Nick Fitzpatrick authored
* increase activation distance for dashboard parameter dragging * updating drag sensitivity for other places * adjusting e2e tests
-
- Apr 09, 2024
-
-
Mahatthana (Kelvin) Nomsawadi authored
* Remove unused CSS custom properties * Migrate .ModalContainer * Migrate .Modal * Migrate .ModalBackdrop * Migrate Modal transition classes * Migrate modal sizes * Fix tests * Add missing classes from migration * Address review: use `data-testid` * Remove unused classes * Revert the util that selects Mantine modal
-
Nemanja Glumac authored
* Improve the fetching logic in a notebook native preview * Rely on `isFetching` always * Show a disabled convert button when there's no query
-
- Apr 08, 2024
-
-
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
-
Ryan Laurie authored
* make collectionpicker child-aware * update unit tests * add another unit test * move test some place more sensible * fix rebase
-
Nemanja Glumac authored
* Display sql preview on sizes less than 1280px * Handle min notebook width using Mantine responsitve style prop * Display the resizable sidebar on sizes >= 1280px * Set sidebar width on resize * Add custom handle * Simplify window resizing with `useWindowSize` hook * Use "white" from the theme colors * Improve sidebar semantics with `aside` * Define the `NativeQueryPreviewSidebar` as `aside` * Use Mantine style props instead of CSS module * Run the E2E test again using regular browser We removed the nested media query that ReplayIO doesn't support. Now this test can run using Replay Chromium as all other tests do. * Add some breathing room between the scrollbar and the resizable sidebar
-
- Apr 05, 2024
-
-
Nicolò Pretto authored
* create ui for the full embedding homepage, without any logic (#40251) * wip ui for the full embedding homepage * adds missing link + fix keys * remove done TODO * Update frontend/src/metabase/home/components/EmbedHomepage/InteractiveTabContent.tsx Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> * destructure props in the function arguments * rename customerFacingAnalyticsDocsUrl to analyticsDocsUrl --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> * add new settings for embedding homepage (#40455) * remove old minimal version * adds new embedding homepage settings and sets them at the end of the setup * comment e2e test * add tests for embedding homepage flags * more tests * remove unit tests related to old minimal version * fixes flags descriptions * :keyword for embedding-homepage Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> * replace reloadSettings and refreshSettingsList with initializeSettings * `value => value === true` -> `Boolean` * toMatchObject -> toEqual for more strict tests * remove useless undefined check for settings, the component is conditionally rendered based on a setting so it means they're loaded anyway * fix: use :hidden as we changed the type to :keyword * specifically check for the `embedding` feature in the tokenFeatures object instead of checking if any feature is active * remove double \n Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com> --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com> * connect settings to the embed homepage and show it (#40528) * fix nested a warnings in browser console * connect settings to the embed homepage and show it * fix stories * remove localStorage.clear() as we're not using it in the logic anymore * dismiss without feedback for the embedding homepage (#40587) * feat: add dismiss functionality to the embed homepage * update setup e2e to check for the dismissal of embedding homepage * use List from metabase/ui (#40638) * set embedding-secret-key when embedding is enabled (#40813) * set embedding-secret-key when embedding is enabled * use "named" setters and getters as suggested by Noah * Fix tests for ms1 after updating on master (#41069) --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com>
-
Cam Saul authored
* Use window functions for SQL drivers for cumulative count and sum * H2/Snowflake/Redshift implementation * Test fixes
* Use SELECT expression positions as the default window function implementation * Some test fixes. * Fix bugs in add-alias-info * MongoDB fixes * Another pass * BigQuery should use positions? * Disable tests for the failing drivers, we can fix in follow-on PRs. * Extra info * Add GH issue numbers * Update more GH issue numbers * Fix SQL Server!!!! wooo * I THOUGHT WE WERE DISABLING SPARK SQL!!!!!!!!!!1 * Cleanup to get things ready for review. * Snowflake + Vertica shouldn't use output column numbers for ORDER BY in OVER * Code cleanup * Test fix? -
Uladzimir Havenchyk authored
-
Mahatthana (Kelvin) Nomsawadi authored
* Moved a CSS rule, so we could only migrate 1 CSS file * Migrate .ListSectionHeader * Migrate .ListItem * Migrate .ListItemArrow * Migrate .ListSectionHeaderCursor * Migrate .ListSectionToggleAble * Migrate .ListSectionTitle * Migrate .ListSectionExpanded * Migrate .ListSectionIcon * Migrate .ListItemCursor * Migrate .ListItemDisabled * Migrate .ListItemSelected * Migrate .ListItemTitle * Migrate .ListItemDescription * Migrate a CSS class used in tests * Fix tests from migrating global CSS classes
-
Mahatthana (Kelvin) Nomsawadi authored
* Migrate .LineAreaBarChart * Migrated .LineAreaBarChartRenderer * Migrate .mute-* * Fix tests that rely on a static class * Fix wrong DOM query selector syntax * Address review: Remove CSS comment noise
-
Mahatthana (Kelvin) Nomsawadi authored
-
- Apr 04, 2024
-
-
lbrdnk authored
* Enable not emptyable arguments for is-empty and not-empty clauses * Add review remarks * Shorten dataset name so it is usable with some drivers * Disable test for Athena * Handle possibly missing base type * Update comment * Missing base type field is treated as not emptyable * Update desugar middleware Now middleware adds base type to fields with integer id that are missing that first. This ensures correct function of is-empty expansion. * Update desugar middleware Cleanup base types necessary for desugaring is-empty * Update desugar middleware cleanup * Update test * Adjust tests * Remove now redundant e2e test * Update comment
-
Kamil Mielnik authored
* Repro #23103 - Wrong number of distinct values in a native model * Fix flake
-
Mahatthana (Kelvin) Nomsawadi authored
* Fix flaky test caused by unmounted HoverCard * Remove unused test util
-
Oisin Coveney authored
-
- Apr 03, 2024
-
-
Braden Shepherdson authored
This logic was trying to match `[name join-alias]` pairs previously, but that won't work since the later stage field doesn't have a `:join-alias` on it. This falls back to matching on only the ID or name, but only if it's unambiguous. Fixes #40252.
-
Nemanja Glumac authored
* Bump the question schema and update it with the new events * Enable snowplow tracking on the frontend * Add E2E test for tracking snowplow events related to native preview sidebar * Fix question id type in the schema
-
Mahatthana (Kelvin) Nomsawadi authored
* Fix overflow static dashboard * Fix `frame` event's height for interactive dashboards * Fix E2E tests * Fix test names to match the correct GitHub issue numbers * Use `data-element-id` for consistency * Make the test selector more consistent
-
Nick Fitzpatrick authored
* Command Palette UI adjustments * move search to end of results list * ellipsis long command palette items, min icon size and showing debounced text * setting fixed width. adjusting admin result icons and text * fixing e2e test
-
Uladzimir Havenchyk authored
* Map row id on object detail id * Add a fallback * Add e2e test * Add a limit * Provide a fix for #34070 * Simplify test
-