Skip to content

Hide Archive/Unarchive quick actions for groups and projects pending deletion

Summary

We should use the same logic as in Settings -> General -> Advanced (app/helpers/projects_helper.rb#L582) and not show the Archive/Unarchive quick actions when a project is pending deletion.

Screenshot_2025-08-20_at_12.11.47_PM

Implementation guide

  1. Check !project.isSelfDeletionScheduled in app/assets/javascripts/vue_shared/components/projects_list/utils.js#L22
    • I wonder if we should change this to !project.markedForDeletion (scheduled_for_deletion_in_hierarchy_chain? behind the scenes). I would think you shouldn't be able to archive a project that is pending deletion because of it's parent.
Edited by Peter Hegman