-
- Downloads
[MS2] Better Onboarding UX: Expanded CSV upload permissions (#48475)
* Use more granular permissions * Simplify the "upload spreadsheet" button logic * Simplify the "add database" button logic * Go back to using the existing `databases` prop * Conditionally display `UploadInput` * Refine `canUpload` logic * Reduce prop drilling * Make visual logic more "reader-friendly" * Fix and expand tests * Pass down the existing prop `hasDataAccess` * Remove the Metabase "learn" link * Move sub-components out of the render
Showing
- frontend/src/metabase/nav/containers/MainNavbar/MainNavbar.unit.spec.tsx 245 additions, 69 deletions...tabase/nav/containers/MainNavbar/MainNavbar.unit.spec.tsx
- frontend/src/metabase/nav/containers/MainNavbar/MainNavbarContainer/MainNavbarContainer.tsx 2 additions, 5 deletions...rs/MainNavbar/MainNavbarContainer/MainNavbarContainer.tsx
- frontend/src/metabase/nav/containers/MainNavbar/MainNavbarContainer/MainNavbarView.tsx 6 additions, 3 deletions...tainers/MainNavbar/MainNavbarContainer/MainNavbarView.tsx
- frontend/src/metabase/nav/containers/MainNavbar/SidebarItems/SidebarOnboardingSection/SidebarOnboardingSection.tsx 77 additions, 54 deletions...ems/SidebarOnboardingSection/SidebarOnboardingSection.tsx
- frontend/src/metabase/nav/containers/MainNavbar/SidebarItems/SidebarOnboardingSection/types.ts 5 additions, 1 deletion...MainNavbar/SidebarItems/SidebarOnboardingSection/types.ts
Please register or sign in to comment