Skip to content
Snippets Groups Projects
Open Group and project deletion improvements
  • Group and project deletion improvements

  • Group and project deletion improvements

    Open Epic created by Christina Lohr

    Goals of this epic

    1. Standardize and unify the deletion experience:
      • Align the user interface and workflow for deleting projects, groups, and organizations across all areas of GitLab (including the admin area).
      • Migrate all deletion-related components to Vue and use standardized GitLab UI components to ensure consistency.
      • Implement a uniform style and messaging for deletion actions, confirmation modals, and pending deletion states.
    2. Improve the delayed deletion and recovery process:
      • Ensure delayed deletion works consistently for both groups and projects, including at the organization level.
      • Implement better visibility and management of items pending deletion, such as adding recovery options to the group overview and admin area.
      • Address issues related to the creation of new records with the same name as soft-deleted records.
    3. Enhance deletion logic and performance:
      • Implement the ability to cancel existing CI/CD jobs and prevent new pipelines from being created during the deletion process.
      • Address bugs related to projects never being deleted or deletion failing when there are too many artifacts.
      • Improve the handling of deletion permissions, especially for soft-deleted records when the user who initiated the deletion no longer has the necessary permissions.

    Benefits for users

    1. Improved user experience:
      • A standardized and unified deletion experience across projects, groups, and organizations will reduce confusion and make the process more intuitive.
      • Consistent UI components and messaging will help users understand the deletion process better, regardless of where they are in the GitLab interface.
    2. Enhanced control and management:
      • Better visibility and management of items pending deletion will give users more control over their data.
      • Improved recovery options for soft-deleted items will provide a safety net for accidental deletions.
    3. Increased reliability:
      • Consistent delayed deletion for both groups and projects will ensure users have time to reconsider or recover accidentally deleted items.
    4. Improved performance:
      • Enhancing deletion logic, such as canceling existing CI/CD jobs during deletion, will lead to faster and more efficient deletion processes.

    Benefits for the product

    1. Reduced technical debt:
      • Migrating deletion-related components to Vue and using standardized GitLab UI components will make the codebase more maintainable and easier to update in the future.
      • Unifying the deletion experience across different areas of GitLab will reduce complexity in the long run.
    2. Improved system performance:
      • Addressing issues with deletion failures and optimizing the deletion process will lead to better overall system performance and resource utilization.
    3. Enhanced customer satisfaction:
      • A more consistent and reliable deletion process will likely lead to fewer support tickets and improved customer satisfaction.
      • Addressing bugs related to failed deletions or projects never being deleted will increase trust in the system.
    4. Better alignment with premium features:
      • Improving the delayed deletion and recovery process aligns well with GitLab's premium features.
    5. Easier implementation of future features:
      • A standardized deletion process will make it easier to implement new features or improvements related to data management and organization structures (like the new Organizations feature).
    6. Improved security and compliance:
      • Better handling of deletion permissions and consistent delayed deletion processes can help improve overall security and compliance with data protection regulations.

    Overview of deletion interactions

    Action Project Group Admin Project Admin Group Organization project Organization group Status
    Deletion action (first) Screenshot_2024-02-23_at_16.37.08 Screenshot_2024-02-23_at_16.49.58
    Deletion action (second) Screenshot_2024-02-23_at_16.46.08 Screenshot_2024-02-23_at_16.50.53
    Pending deletion confirmation Screenshot_2023-03-17_at_13.19.35 Screenshot_2023-03-17_at_13.22.57
    Deletion confirmation modal Screenshot_2023-03-17_at_13.19.16 Screenshot_2023-03-17_at_13.24.07 Screenshot_2024-02-22_at_10.25.42_AM gitlab#460211 (closed) Screenshot_2024-02-22_at_10.26.10_AM gitlab#460211 (closed) Screenshot_2024-02-22_at_10.27.16_AM Screenshot_2024-02-22_at_10.28.05_AM
    Deletion confirmation image :white_check_mark: Screenshot_2024-05-29_at_10.27.46 :white_check_mark: image :white_check_mark: Screenshot_2024-05-29_at_10.27.46 :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    Restore action Screenshot_2024-02-23_at_11.40.22 Screenshot_2024-02-23_at_11.41.15
    Restore confirmation Screenshot_2024-05-29_at_10.49.21 :white_check_mark: Screenshot_2024-05-29_at_10.49.30 :white_check_mark:
    0 of 9 checklist items completed · Edited by Christina Lohr

    Linked items 0

  • Link items together to show that they're related or that one is blocking others.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first