Commit 19aba83
fix(setup): M10.33 — drop legacy top-level views; schema listViews is the source of truth
plugin-auth registered six top-level ListView entries (UsersView,
OrganizationsView, RolesView, SessionsView, AuditLogsView,
PackageInstallationsView) via the manifest service. These predate
M10.30b–c which moved listViews onto each schema's `listViews` map.
Both sets flowed into /api/v1/meta/view?objectName=X, causing duplicate
tabs in the console (e.g. `Users` *and* `All Users` on sys_user) where
the legacy view sometimes referenced fields that no longer exist
(phone/status/active on sys_user) and rendered empty grids. One view
(package_installations) targeted a sys_package_installation object
that no longer exists at all.
- Remove the views: [...] block from plugin-auth's manifest registration.
- Delete packages/platform-objects/src/apps/views/ and its barrel
re-export from apps/index.ts.
Verified in browser: sys_user/sys_organization/sys_role/sys_audit_log
pages on the Setup app now show only the schema-defined tabs.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 44a4e3c commit 19aba83
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
10 | 25 | | |
11 | 26 | | |
12 | 27 | | |
| |||
0 commit comments