-
- Downloads
Fix apps and pages in search and recent/popular items (#25214)
* Add `DataAppSearchItem` type * Handle app search item type in `Urls.dataApp` * Add `getUrl` method to data apps entity * Support apps and pages in `entityTypeForModel` * Properly display page icons in search * Fix apps and pages labels * Temporary use dash URL for pages * Handle data apps in `Urls.collection` * Add apps and pages filters to the `/search` page
Showing
- frontend/src/metabase-types/api/collection.ts 3 additions, 1 deletionfrontend/src/metabase-types/api/collection.ts
- frontend/src/metabase-types/api/data-app.ts 7 additions, 1 deletionfrontend/src/metabase-types/api/data-app.ts
- frontend/src/metabase/entities/dashboards.js 4 additions, 1 deletionfrontend/src/metabase/entities/dashboards.js
- frontend/src/metabase/entities/data-apps/data-apps.ts 5 additions, 1 deletionfrontend/src/metabase/entities/data-apps/data-apps.ts
- frontend/src/metabase/home/containers/SearchApp.jsx 10 additions, 0 deletionsfrontend/src/metabase/home/containers/SearchApp.jsx
- frontend/src/metabase/lib/schema/schema.js 12 additions, 2 deletionsfrontend/src/metabase/lib/schema/schema.js
- frontend/src/metabase/lib/urls/collections.ts 22 additions, 2 deletionsfrontend/src/metabase/lib/urls/collections.ts
- frontend/src/metabase/lib/urls/dataApps.ts 8 additions, 4 deletionsfrontend/src/metabase/lib/urls/dataApps.ts
- frontend/src/metabase/lib/urls/misc.js 2 additions, 0 deletionsfrontend/src/metabase/lib/urls/misc.js
- frontend/src/metabase/nav/utils/model-names.ts 2 additions, 0 deletionsfrontend/src/metabase/nav/utils/model-names.ts
- frontend/src/metabase/search/components/InfoText.jsx 4 additions, 0 deletionsfrontend/src/metabase/search/components/InfoText.jsx
- frontend/test/metabase/lib/urls.unit.spec.js 50 additions, 0 deletionsfrontend/test/metabase/lib/urls.unit.spec.js
Please register or sign in to comment