Skip to content

Conversation

@gtryus
Copy link
Contributor

@gtryus gtryus commented Dec 14, 2025

This update modifies the logic for determining if a user can modify the workflow in the ProjectsScreen component. The check for personal team status has been removed, streamlining the conditions under which workflow modifications are allowed. This change enhances code clarity and maintains the intended functionality.

Key Changes:

  • Removed the isPersonal check from the canModifyWorkflow logic
  • Updated dependencies in the useMemo hook accordingly

…on logic

This update modifies the logic for determining if a user can modify the workflow in the ProjectsScreen component. The check for personal team status has been removed, streamlining the conditions under which workflow modifications are allowed. This change enhances code clarity and maintains the intended functionality.

Key Changes:
- Removed the isPersonal check from the canModifyWorkflow logic
- Updated dependencies in the useMemo hook accordingly
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the canModifyWorkflow logic in the ProjectsScreen component by removing the isPersonal check and its associated dependency. This changes the behavior to now allow workflow modification for personal teams/projects, whereas previously personal teams were explicitly excluded from workflow modification capabilities.

Key Changes:

  • Removed the isPersonal condition from the canModifyWorkflow check (line 197)
  • Updated the useMemo dependency array to remove isPersonal (line 202)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gtryus gtryus merged commit 26ef325 into develop Dec 14, 2025
1 check passed
@gtryus gtryus deleted the TT-6985-personal-workflow branch December 14, 2025 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants