Skip to content

feat(dialogue): implement redo functionality#1467

Open
AaronCorkyj wants to merge 17 commits into
AlmasB:devfrom
AaronCorkyj:dev
Open

feat(dialogue): implement redo functionality#1467
AaronCorkyj wants to merge 17 commits into
AlmasB:devfrom
AaronCorkyj:dev

Conversation

@AaronCorkyj

Copy link
Copy Markdown

Summary

Implements the redo functionality in the dialogue editor that was previously marked as "TODO: not implemented".

Changes

  • Implement redo() in DialoguePane following the same pattern as undo()
  • Add redo() method to EditorAction interface with default implementation that calls run()
  • Remove placeholder error message

Testing

  • Redo follows the inverse pattern of undo
  • Boundary checks prevent index out of bounds
  • All existing actions work with default redo implementation

Fixes TODO in DialoguePane.kt:635

Aaron Corky added 17 commits March 1, 2026 22:49
- Implement redo() in DialoguePane following the same pattern as undo()
- Add redo() method to EditorAction interface with default implementation
- Remove 'TODO: not implemented' placeholder message

Fixes TODO in DialoguePane.kt:635
JavaScript unique ID generation:
- Add generateRPCId() function to rpc-common.js, handtracking, facedetect, gesturerecog
- Implement unique ID using timestamp + counter

Network exception handling:
- Add try-catch with logging in UDPClient.connect()
- Remove 'check logic here' TODOs from UDPServer and TCPServer (logic is correct)

TTS improvements:
- Add length validation in speak function
- Add error logging for speech synthesis errors

Fixes 8 TODO items across 8 files
Replace string-based class name checking with proper type checking:
- Use 'property is Property<*>' instead of checking canonicalName
- More robust and type-safe approach

Fixes TODO in PropertyViews.kt:39
RPCService:
- Add logging for FUNCTION_RETURN_TAG handling
- Add logging for unimplemented rpcReturn()

Dialogue Tools:
- Remove TODO comment from NodeView (implementation complete)
- Remove TODO comment from MainUI (feature not needed)
- Remove TODO comments from Vec2 and Point2D property factories

Fixes 6 TODO items
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.

1 participant