Skip to content

Update logic for displaying actions on projects list

Proposal

We need to adjust logic in availableGraphQLProjectActions to account for is_self_deletion_in_progress, is_self_deletion_scheduled, and markedForDeletion attributes.

Implementation guide

  1. Use similar logic in availableGraphQLGroupActions in availableGraphQLProjectActions.
  2. Consider DRYing up this logic if possible. If the abstraction makes it harder to understand consider keeping it simple with a bit more duplication.
Edited by Peter Hegman