fix(review): address code review findings — tool conflicts, dual inputs, pin animation

1. TEXT and ERASER tool clicks now suppressed during review mode via
   reviewMode flag on ToolContext (read from ref for live value)
2. Object-comment input hidden when draftPin is active — only one
   creation input visible at a time
3. PinOverlay entrance animation removed — focus styling (scale 1.15x,
   alpha changes) no longer fights with fade-in animation loop
This commit is contained in:
Hiren Kangad
2026-03-12 22:09:12 +05:30
parent 16a677dc89
commit 318b7358e1
4 changed files with 14 additions and 28 deletions
@@ -323,7 +323,7 @@ export default function FeedbackPanel({
onFilterChange={setFilter}
onSelectThread={updateExpandedThread}
onCollapse={() => setCollapsed(true)}
selectedObjectId={selectedObjectId}
selectedObjectId={draftPin ? null : selectedObjectId}
selectedObjectLabel={selectedLabel}
newCommentText={newCommentText}
onNewCommentChange={setNewCommentText}