tanishqgandhi1908 opened a new pull request, #8068: URL: https://github.com/apache/texera/pull/8068
### What changes were proposed in this PR? Adds the **Models** page: list, search, create, rename, delete. To get there without adding a third `type === "..."` arm everywhere, each resource kind now supplies a **descriptor** — icon, routes, ownership, rename, description, filter sources — aggregated by `ResourceRegistryService`. `card-item`, `list-item` and `filters` read that instead of branching on the entry type. Workflow, dataset, project and file behave exactly as before; models are just one more descriptor. The page lists from `/model/list` and filters client-side, so models stay out of global search until the hub backend lands. <img width="675" height="557" alt="Screenshot 2026-08-27 at 9 22 16 PM" src="https://github.com/user-attachments/assets/ef331440-d217-4737-9e4e-1c9ac9f72f92" /> <img width="1018" height="614" alt="Screenshot 2026-08-27 at 9 22 03 PM" src="https://github.com/user-attachments/assets/4fa71f9a-0b96-4e64-b321-1f4af6cd1ff0" /> <img width="1433" height="685" alt="Screenshot 2026-08-27 at 9 12 56 PM" src="https://github.com/user-attachments/assets/ba6908e6-a411-4e7e-ab7f-4927078b22e7" /> ### Any related issues, documentation, discussions? Groundwork for #6499; does not close it. `models_enabled` ships **false** — model cards link to `/user/model/:mid`, which has no route until the detail page. It is toggleable live in Admin → Settings, and hides the sidebar entry, not the route, same as `datasets_enabled`. ### How was this PR tested? 53 new tests across the registry, `ModelService`, the Models page and the create modal. ```bash cd frontend && npx ng test \ --include src/app/dashboard/service/user/resource-registry/resource-registry.service.spec.ts \ --include src/app/dashboard/service/user/model/model.service.spec.ts \ --include src/app/dashboard/component/user/user-model/user-model.component.spec.ts \ --include src/app/dashboard/component/user/user-model/user-model-creator/user-model-creator.component.spec.ts ``` Regression: 417 tests across 15 spec files covering card/list items, filters, search and the sidebar, plus `tsc --noEmit`, eslint and prettier. Three spec edits, all fixture or tab-count updates — no assertion about existing behavior changed. Manual: Admin → Settings → Models on, create a model, search it by framework, switch card/list views, rename inline, delete. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code Opus 5 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
