improvement(lock): lock icon next to entity#4401
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryLow Risk Overview This imports and uses the shared Reviewed by Cursor Bugbot for commit b948add. Configure here. |
Greptile SummaryThis PR adds a small Lock icon (12×12 px) next to the entity name in the sidebar for both locked folders and locked workflows, providing a clear visual indicator of the locked state. The implementation is minimal and consistent across both components: Confidence Score: 5/5Safe to merge — purely additive UI change with no logic or state impact. Both changes are small, isolated conditional renders with no effect on existing logic, state, or data flow. Accessibility attributes are present and the import pattern follows the established No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Render folder-item / workflow-item] --> B{isEditing?}
B -- Yes --> C[Show rename input]
B -- No --> D[Show name label]
D --> E{folder.locked / workflow.locked?}
E -- Yes --> F[Render Lock icon]
E -- No --> G[Skip Lock icon]
F --> H[Render Avatars / MoreHorizontal button]
G --> H
Reviews (1): Last reviewed commit: "improvement(lock): lock icon next to ent..." | Re-trigger Greptile |
Summary
Lock icon next to main entity being locked (folder vs workflow)
Type of Change
Testing
Tested manually
Checklist