Skip to content

Add search URL edit modal (colon key) #83

Description

@Jason-Abbott
  • Add textinput import
  • Add modalSearchURL enum value
  • Add searchURLInput and searchURLErr fields to Model
  • Initialize textinput in New()
  • Route non-key messages to textinput when modal active
  • Handle : key in handleKey()
  • Handle Enter/Esc/typing in handleModalKey()
  • Render modal in View()
  • Add : to help content
  • Build, test, lint

Summary of Changes

Added search URL edit modal to TUI, triggered by : key. Uses bubbles/v2 textinput with validation (must be http(s) URL containing %s). Persists to DB via existing SetSetting.

👾 This issue is managed by Jig. Edits made here will be overwritten.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions