Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

Settings Screen #36

Open
ghalestrilo opened this issue Jan 8, 2021 · 0 comments
Open

Settings Screen #36

ghalestrilo opened this issue Jan 8, 2021 · 0 comments
Labels
core Stuff seg can't go without
Projects

Comments

@ghalestrilo
Copy link
Owner

Create a settings screen where users can update and save their preferences.

Requires: Small input component, YAML lib

Def.: A :settings view, a rendering component (container), a state field (I think opts is working for now), a YAML lib and a startup routine.

  • Before reading flags, seg should stat ~/.seg/config.yml (in the future, this path can be an env var)
    • If a file was found, seg should read it onto opts
  • opts are then overridden by command-line args
  • Pressing Alt+S (or something) switches to :settings
    • Pressing Esc returns to :home
    • Pressing Enter triggers an input for changing the value
      • Pressing Enter validates value, updates and saves settings file
@ghalestrilo ghalestrilo created this issue from a note in Features (To do) Jan 8, 2021
@ghalestrilo ghalestrilo added the core Stuff seg can't go without label Jan 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
core Stuff seg can't go without
Projects
Development

No branches or pull requests

1 participant