Skip to content

enhancement: generalize conflict resolution to every file operation #17

Closed

Description

@nextestudios

Summary

Reuse the extractor's conflict dialog (skip / keep both / replace with confirmation / apply to remaining / cancel) for copy, move, paste and rename.

Motivation

Consistent, safe conflict handling is required before shipping copy/move.

Requirements

  • Shows existing and incoming name, size and date.
  • Initial focus preserves the existing file (Skip).
  • Replace requires a second confirmation; 'apply to remaining' is scoped to the current operation only.
  • Folder-vs-file collisions are handled explicitly (merge folders only with confirmation).

Controller UX

Same dialog the extractor uses today: D-pad between options, South/A to choose, East/B = Skip.

Technical Notes

Promote AppController.ShowConflictDialog and UiConflictInteraction to serve the operation engine.

Acceptance Criteria

  • All operations share one conflict dialog and policy.
  • No operation overwrites without the explicit Replace confirmation.

Testing

Unit tests for new branches and for every bug reproduced before a fix (no trivial variations, see AGENTS.md). Journey test: copy the same file twice, choose Keep both.

Dependencies


Priority: critical · Milestone: 1 · Core File Operations

Activity

  1. added
    priority: critical
    type: enhancement
    type: ux
    area: operations
    on Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: operationspriority: criticaltype: enhancementtype: ux

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions