Skip to content
Snippets Groups Projects
  • Mahatthana (Kelvin) Nomsawadi's avatar
    9a840f92
    Add show metabase links toggle admin setting (#37076) · 9a840f92
    Mahatthana (Kelvin) Nomsawadi authored
    
    * Add show metabase links toggle admin setting
    
    * Hide Metabase links
    
    * Fix type error
    
    * Add selector tests
    
    * Hide a link in HomeHelpCard
    
    * Make test names more consistent with existing test suites
    
    * Add tests to `NewModelOptions`
    
    * Prepare `VisualizationError` for testing
    
    * Add tests to `VisualizationError`
    
    * Hide link and add tests to `PreviewQueryModal`
    
    * Extract components to make it easier to test
    
    * Move the new component into its own folder
    
    * Hide Metabase link in `ActionDashcardSettings`
    
    * Prepare `EmptyFormPlaceholder` for testing
    
    * Hide Metabase link in `EmptyFormPlaceholder`
    
    * Extract Metabase link from `FormCreator` for testing
    
    * Hide Metabase link in `FormCreator`
    
    * Extract link from `DashCardCardParameterMapper` to prepare for testing
    
    * Hide Metabase link in `DashCardParameterMapper`
    
    * Clean up the test setup function
    
    * Hide Metabase link in `ExpressionEditorHelpText`
    
    * Hide Metabase link in `TagEditorHelp`
    
    * Hide Metabase links in `MetricList`
    
    * Hide Metabase link in `SegmentList`
    
    * Prepare `CaveatMessage` for testing
    
    * Hide Metabase link in `CaveatMessage`
    
    * Hide Metabase link in `CustomMapFooter`
    
    * Hide Metabase link in `ImpossibleToCreateModelModal`
    
    * Hide Metabase link in `ExpressionWidget`
    
    * Hide Metabase link in `ExpressionWidget`
    
    * Add BE tests
    
    * Update sample database description
    
    * Fix TypeScript type-check
    
    * Fix failed unit tests
    
    * Fix wrong test names
    
    * Add missing translations
    
    * Make tests looks like tests from other components
    
    * Update enterprise/frontend/src/metabase-enterprise/whitelabel/components/MetabaseLinksToggleWidget/MetabaseLinksToggleWidget.tsx
    
    Co-authored-by: default avatarNicolò Pretto <info@npretto.com>
    
    * Simplify the change
    
    * Fix weird import directory
    
    * Fix wrapped translation copy
    
    * Fix test name
    
    * Move comment next to the component
    
    * Fix test names
    
    * Review: Make code easier to review
    
    * Fix wrong document link
    
    * Update src/metabase/public_settings.clj
    
    Co-authored-by: default avatarNoah Moss <32746338+noahmoss@users.noreply.github.com>
    
    * Update src/metabase/public_settings.clj
    
    Co-authored-by: default avatarNoah Moss <32746338+noahmoss@users.noreply.github.com>
    
    * Address review: BE changes
    
    ---------
    
    Co-authored-by: default avatarNicolò Pretto <info@npretto.com>
    Co-authored-by: default avatarNoah Moss <32746338+noahmoss@users.noreply.github.com>
    Add show metabase links toggle admin setting (#37076)
    Mahatthana (Kelvin) Nomsawadi authored
    
    * Add show metabase links toggle admin setting
    
    * Hide Metabase links
    
    * Fix type error
    
    * Add selector tests
    
    * Hide a link in HomeHelpCard
    
    * Make test names more consistent with existing test suites
    
    * Add tests to `NewModelOptions`
    
    * Prepare `VisualizationError` for testing
    
    * Add tests to `VisualizationError`
    
    * Hide link and add tests to `PreviewQueryModal`
    
    * Extract components to make it easier to test
    
    * Move the new component into its own folder
    
    * Hide Metabase link in `ActionDashcardSettings`
    
    * Prepare `EmptyFormPlaceholder` for testing
    
    * Hide Metabase link in `EmptyFormPlaceholder`
    
    * Extract Metabase link from `FormCreator` for testing
    
    * Hide Metabase link in `FormCreator`
    
    * Extract link from `DashCardCardParameterMapper` to prepare for testing
    
    * Hide Metabase link in `DashCardParameterMapper`
    
    * Clean up the test setup function
    
    * Hide Metabase link in `ExpressionEditorHelpText`
    
    * Hide Metabase link in `TagEditorHelp`
    
    * Hide Metabase links in `MetricList`
    
    * Hide Metabase link in `SegmentList`
    
    * Prepare `CaveatMessage` for testing
    
    * Hide Metabase link in `CaveatMessage`
    
    * Hide Metabase link in `CustomMapFooter`
    
    * Hide Metabase link in `ImpossibleToCreateModelModal`
    
    * Hide Metabase link in `ExpressionWidget`
    
    * Hide Metabase link in `ExpressionWidget`
    
    * Add BE tests
    
    * Update sample database description
    
    * Fix TypeScript type-check
    
    * Fix failed unit tests
    
    * Fix wrong test names
    
    * Add missing translations
    
    * Make tests looks like tests from other components
    
    * Update enterprise/frontend/src/metabase-enterprise/whitelabel/components/MetabaseLinksToggleWidget/MetabaseLinksToggleWidget.tsx
    
    Co-authored-by: default avatarNicolò Pretto <info@npretto.com>
    
    * Simplify the change
    
    * Fix weird import directory
    
    * Fix wrapped translation copy
    
    * Fix test name
    
    * Move comment next to the component
    
    * Fix test names
    
    * Review: Make code easier to review
    
    * Fix wrong document link
    
    * Update src/metabase/public_settings.clj
    
    Co-authored-by: default avatarNoah Moss <32746338+noahmoss@users.noreply.github.com>
    
    * Update src/metabase/public_settings.clj
    
    Co-authored-by: default avatarNoah Moss <32746338+noahmoss@users.noreply.github.com>
    
    * Address review: BE changes
    
    ---------
    
    Co-authored-by: default avatarNicolò Pretto <info@npretto.com>
    Co-authored-by: default avatarNoah Moss <32746338+noahmoss@users.noreply.github.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.