Skip to content

feat: add lightweight text editing from preview #62

Closed

Description

@nextestudios

Summary

Edit small text files from the text preview using the virtual keyboard.

Motivation

Fix a config value or rename a line without a desktop editor.

Requirements

  • Explicit Edit mode; save writes to a temp file then replaces atomically; never edits binaries; size limit.

Controller UX

Preview → North → Edit → keyboard; Start = Save; East/B = cancel with confirmation if modified.

Technical Notes

Reuses VirtualKeyboard (multi-line mode) and safe-write helpers.

Acceptance Criteria

  • Saving is atomic; cancelling discards changes after confirmation.

Testing

Unit tests for new branches and for every bug reproduced before a fix (no trivial variations, see AGENTS.md).

Dependencies


Priority: low · Milestone: 5 · Preview & Editing

Activity

  1. added
    priority: low
    type: feature
    area: keyboard
    area: preview
    on Sep 27, 2026
  2. added
    moscow: could
    and removed
    priority: low
    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: keyboardarea: previewmoscow: couldtype: feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions