-
- Downloads
New Recents API Format (#42239)
* wip * adds more collection-touch events * remove sneaky dep that slipped in * cleaning up, and adding tests * respond to review comments + mini bug reports * make it official * double official * cleanup + return recent-views/Item for `GET activity/popular_items` * get popular_items returning the proper shape * compare doesn't what I thought * add display_name to tables * table.database.name should be the db name, not the table name * add table.database.initial_sync_status * improve call to toucan2 * light renaming + many text fixes * include moderated_status in cards and datasets * look up Dashboard permissions for Dashboards * stop double-querying for `can-write?` checks - also include some debug logging * fix card <-> model dispatching also gets tests passing locally * let the test runner run the tests * fix gc test * adds description * description can be null * better tests no more nils passed through the app * debugging test * fix tests and skip archived * mysql finesse * ellide inactive tables * wip * adds more collection-touch events * remove sneaky dep that slipped in * cleaning up, and adding tests * respond to review comments + mini bug reports * make it official * double official * cleanup + return recent-views/Item for `GET activity/popular_items` * get popular_items returning the proper shape * compare doesn't what I thought * add display_name to tables * table.database.name should be the db name, not the table name * add table.database.initial_sync_status * improve call to toucan2 * light renaming + many text fixes * include moderated_status in cards and datasets * look up Dashboard permissions for Dashboards * stop double-querying for `can-write?` checks - also include some debug logging * fix card <-> model dispatching also gets tests passing locally * let the test runner run the tests * fix gc test * adds description * description can be null * better tests no more nils passed through the app * debugging test * fix tests and skip archived * mysql finesse * New Recents + Popular API Format - Frontend (#42305) * fix tests * new API payload format for recents and populars * update url generation * update recents components * update tests * only show 5 recents in command palette * remove unused types * update tests * obey the linter * type updates * fix unit test * change where we filter recents --------- Co-authored-by:Bryan Maass <bryan.maass@gmail.com> * fix modelToUrl types * respond to review comments * post merge test fix --------- Co-authored-by:
Ryan Laurie <30528226+iethree@users.noreply.github.com> Co-authored-by:
Ryan Laurie <iethree@gmail.com>
Showing
- enterprise/frontend/src/metabase-enterprise/upload_management/UploadManagementTable.tsx 8 additions, 1 deletion...se-enterprise/upload_management/UploadManagementTable.tsx
- frontend/src/metabase-types/api/activity.ts 38 additions, 22 deletionsfrontend/src/metabase-types/api/activity.ts
- frontend/src/metabase-types/api/dashboard.ts 1 addition, 1 deletionfrontend/src/metabase-types/api/dashboard.ts
- frontend/src/metabase-types/api/mocks/activity.ts 32 additions, 21 deletionsfrontend/src/metabase-types/api/mocks/activity.ts
- frontend/src/metabase/api/activity.ts 12 additions, 3 deletionsfrontend/src/metabase/api/activity.ts
- frontend/src/metabase/api/tags/utils.ts 1 addition, 1 deletionfrontend/src/metabase/api/tags/utils.ts
- frontend/src/metabase/home/components/HomeContent/HomeContent.tsx 9 additions, 2 deletions.../src/metabase/home/components/HomeContent/HomeContent.tsx
- frontend/src/metabase/home/components/HomeContent/HomeContent.unit.spec.tsx 8 additions, 8 deletions...ase/home/components/HomeContent/HomeContent.unit.spec.tsx
- frontend/src/metabase/home/components/HomePopularSection/HomePopularSection.tsx 2 additions, 5 deletions...home/components/HomePopularSection/HomePopularSection.tsx
- frontend/src/metabase/home/components/HomePopularSection/HomePopularSection.unit.spec.tsx 17 additions, 29 deletions...nents/HomePopularSection/HomePopularSection.unit.spec.tsx
- frontend/src/metabase/home/components/HomeRecentSection/HomeRecentSection.tsx 8 additions, 6 deletions...e/home/components/HomeRecentSection/HomeRecentSection.tsx
- frontend/src/metabase/home/components/HomeRecentSection/HomeRecentSection.unit.spec.tsx 7 additions, 5 deletions...ponents/HomeRecentSection/HomeRecentSection.unit.spec.tsx
- frontend/src/metabase/lib/urls/index.ts 1 addition, 0 deletionsfrontend/src/metabase/lib/urls/index.ts
- frontend/src/metabase/lib/urls/misc.js 0 additions, 34 deletionsfrontend/src/metabase/lib/urls/misc.js
- frontend/src/metabase/lib/urls/modelToUrl.ts 36 additions, 0 deletionsfrontend/src/metabase/lib/urls/modelToUrl.ts
- frontend/src/metabase/lib/urls/modelToUrl.unit.spec.ts 64 additions, 0 deletionsfrontend/src/metabase/lib/urls/modelToUrl.unit.spec.ts
- frontend/src/metabase/lib/urls/questions.ts 3 additions, 1 deletionfrontend/src/metabase/lib/urls/questions.ts
- frontend/src/metabase/nav/components/search/RecentsList/RecentsList.tsx 6 additions, 6 deletions...etabase/nav/components/search/RecentsList/RecentsList.tsx
- frontend/src/metabase/nav/components/search/RecentsList/RecentsList.unit.spec.tsx 23 additions, 39 deletions...v/components/search/RecentsList/RecentsList.unit.spec.tsx
- frontend/src/metabase/nav/components/search/RecentsList/RecentsListContent.tsx 11 additions, 8 deletions.../nav/components/search/RecentsList/RecentsListContent.tsx
Loading
Please register or sign in to comment