Skip to content

refactor: deduplicate PaneLeafView and ContentView shared logic #696

@batonogov

Description

@batonogov

Summary

Follow-up from PR #645. ~300 lines duplicated between PaneLeafView and ContentView (git diff/blame, close confirmation, gutter accept/revert).

Motivation

Code duplication leads to bugs when one copy is updated but not the other.

Implementation ideas

  • Extract shared logic into a helper/protocol
  • Or use a shared ViewModel

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions