Skip to content

feat: Implement TreeView command handlers (expand, select, persist, restore) #37

@NikolaRHristov

Description

@NikolaRHristov

Context

Command/TreeView.rs has 4 stub command handlers that return {"success": false, "error": "not implemented"}.

Stubs to Implement

  • OnTreeViewExpansionChanged — Notify registered TreeViewProviders of expansion state changes
  • OnTreeViewSelectionChanged — Forward selection events to providers
  • PersistTreeView — Serialize tree state to storage for workspace persistence
  • RestoreTreeView — Deserialize and restore tree state on workspace open

Expected Behavior

Each handler should route through the TreeViewProvider trait to Cocoon gRPC RPCs.

Priority

High — File explorer tree and extension tree views depend on this.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions