Skip to content

Remove project routing from the user dashboard #5172

Open

Description

@Ma77Ball

Task Summary

This task is to remove project routing and the related now-dead code:

  • Remove the project routing test case in frontend/src/app/dashboard/component/user/list-item/list-item.component.spec.ts (lines 145–149) that asserts project entries route to [USER_PROJECT, "200"].
  • Remove the corresponding project-routing logic in list-item.component.ts (the initializeEntry / entryLink handling for type: "project").
  • Remove the user/project and user/project/:pid route definitions from routing.module.ts, along with any now-unused component references (UserProjectComponent, UserProjectSectionComponent).
  • Clean up any other now-orphaned imports or references to those routes/components.

Task Type

  • Refactor / Cleanup
  • DevOps / Deployment / CI
  • Testing / QA
  • Documentation
  • Performance
  • Other

Activity

  1. added theissue type on May 24, 2026
  2. Ma77Ball commented on May 24, 2026

    @Ma77Ball
    ContributorAuthor

    /take

  3. Yicong-Huang commented on May 24, 2026

    @Yicong-Huang
    Contributor

    Did we decide to remove project yet?

    cc @apache/texera-committers

  4. aglinxinyuan commented on May 24, 2026

    @aglinxinyuan
    Contributor

    It's removed.

  5. Yicong-Huang commented on May 24, 2026

    @Yicong-Huang
    Contributor

    It's removed.

    is it deprecated or removed? can you help me locate the related issue/PRs as I could not find them...

  6. aglinxinyuan commented on May 24, 2026

    @aglinxinyuan
    Contributor

    It's removed.

    is it deprecated or removed? can you help me locate the related issue/PRs as I could not find them...

    I was wrong. It's deprecated instead of removed. It's hidden by default on the frontend, but related code is still in the codebase.

  7. Yicong-Huang commented on May 24, 2026

    @Yicong-Huang
    Contributor

    thanks. So it is deprecated. I think we should

    1. hide by default on frontend
    2. disable frontend routing by default,
    3. disable backend endpoints by default.

    I don't know if we want to remove the codebase yet... I am not saying we should not remove it, just hope we can discuss before doing so. @Ma77Ball can we hold of on the removal for now?

  8. Ma77Ball commented on May 24, 2026

    @Ma77Ball
    ContributorAuthor

    Yes, I will hold off. Should I remove the issue or keep it for later?

  9. Ma77Ball commented on Jun 4, 2026

    @Ma77Ball
    ContributorAuthor

    /take

  10. zuozhiw commented on Jun 5, 2026

    @zuozhiw
    Contributor

    We need to have a deprecation timeline, when was it deprecated? if it's more than 6 months then it's subject for removal

  11. Ma77Ball commented on Jun 16, 2026

    @Ma77Ball
    ContributorAuthor

    @zuozhiw @Yicong-Huang @aglinxinyuan

    The project feature was deprecated (hidden by default) in PR #3343, merged 2025-04-02, which set projectEnabled: false by default with the note that "the project feature hasn't been actively maintained." That puts it at ~14 months since deprecation, past the 6-month window.

    Full timeline from introduction to deprecation:

    Date PR Author Milestone
    2022-02-04 #1360 Ethan Wong Introduced the project management feature: create/rename/delete projects, add workflows & files, UserProjectComponent / UserProjectSectionComponent + backend ProjectResource
    2022-05-13 #1461 Ethan Wong Refactored the user project section workflows
    2022-05-13 #1489 Ethan Wong Added exporting workflow result CSVs to user projects
    2022-06-02 #1528 Ethan Wong Added color tagging to projects (filter workflows/files by color)
    2022-06-08 #1536 Zuozhi Wang Fixed persisting a workflow without a project
    2022-07-12 #1580 Ethan D. Added delete-confirmation prompts for projects/workflows/etc.
    2022-12-20 #1767 Ethan Wong Added editable descriptions to projects
    2023-02-02 #1827 Xinyuan Lin Renamed user_project table to project
    2023-02-06 #1802 Ethan Wong Refined the project description feature
    2023-06-09 #1974 Xinyuan Lin Renamed UserProject to DashboardProject (frontend)
    2023-06-09 #1975 Xinyuan Lin Project sharing DDL (schema for sharing)
    2023-06-15 #1938 Xinyuan Lin Implemented project sharing via email (ProjectAccessResource)
    2023-07-12 #2044 Xinyuan Lin Introduced public projects
    2023-07-19 #2064 Xinyuan Lin Refactored public projects
    2024-02-07 #2365 Xinyuan Lin Migrated project modals from Bootstrap NgbModal to NzModal
    2024-04-01 #2536 Xinyuan Lin Fixed public project modal lifecycle
    2024-04-07 #2581 Xinyuan Lin Fixed read-only projects
    2025-04-02 #3343 Jiadong Bai Deprecated: added projectEnabled: false by default ("the project feature hasn't been actively maintained")
    2025-06-09 #3458 Jiadong Bai Moved the gui config (incl. project flag) into core/config
    2025-07-18 #3533 Xuan Gu Renamed flag to projects_enabled = false under gui.tabs (current state)
  12. Yicong-Huang commented on Jun 16, 2026

    @Yicong-Huang
    Contributor

    let's have a discussion on this, not simply judged by timeline. If we were to remove it, as we have releases now it's better to adhere with release cycles.

    I'm supportive either way: remove or not. Just hope we can have a group decision on whether we need this feature or not, or do we want to have a substitution such as label/tag to replace project.

  13. aglinxinyuan commented on Jun 17, 2026

    @aglinxinyuan
    Contributor

    I support removing it. It's not being maintained or used.

  14. zuozhiw commented on Jun 18, 2026

    @zuozhiw
    Contributor

    seems like it's dead for a long time, removing it makes sense to me, also since it's hidden by default for quite a long time, it's also not used by anyone, so removing it makes perfect sense. Also I won't consider replacements for now, if no one uses the old feature it doesn't make sense to force a replacement.

  15. chenlica commented on Jun 18, 2026

    @chenlica
    Contributor

    Originally we wanted to use a "project" as a collection of workflows. Gradually we added more resources to a workflow, such as data sets, computing unit, and possibly more in the future (e.g., ML models and data warehouses). These resources make the scope of a project harder to define. Plus we haven't seen any requests from users for this feature.

    So I support removing it from the codebase.

  16. Yicong-Huang commented on Jun 18, 2026

    @Yicong-Huang
    Contributor

    sg, seems we have reached consensus. Let's remove project support.

    Shall we target it in 1.2.0?

  17. aglinxinyuan commented on Jul 13, 2026

    @aglinxinyuan
    Contributor

    @Ma77Ball, you can work on this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions