From 4582c37a9daf9ef644805b110defea898fd4b0e3 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sun, 24 Nov 2024 14:49:38 -0500 Subject: fix: update roadmap + small help message update (#8) --- README.md | 12 +++++++----- internal/picker/keys.go | 3 +-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 26f9e54..ab11cbe 100644 --- a/README.md +++ b/README.md @@ -12,15 +12,17 @@ Here is a quick demo of what has been done so far: Here is my roadmap to reach what I would consider a finished state: -- [x] Implement copying to clipboard for various formats (rgb, hex, hsl, cymk, etc...) +- [ ] Add a "cmd" mode to manually input colors +- [ ] Allow to pass a starting color as an argument when launching the program - [ ] Make the tabs interface prettier with [lipgloss][1] (similar to tabs in [soft-serve][2]) +- [ ] Notify user of successful copy to clipboard (or failure) +- [ ] Unit-test color conversions near edge case colors +- [ ] Warn the user if the terminal is too small (and refuse to render) - [x] Add a [help bubble][3] at the bottom of the interface to show available keybindings -- [ ] Add some form of stdout cli flag to output to stdout instead of copying colors -- [ ] Auto-adjust geometry on terminal resize (+ warn the user if the terminal is too small) -- [x] Make the preview windows prettier (perhaps same width as the sliders) - [x] Add Box-drawing to the picker and the previewer -- [ ] Add more color conversion unit-tests around edge case colors +- [x] Implement copying to clipboard for various formats (rgb, hex, hsl, cymk, etc...) - [X] Make sliders reach the correct length on init/tab without pressing `j`,`k` +- [x] Make the preview windows prettier (perhaps same width as the sliders) [1]: https://github.com/charmbracelet/lipgloss diff --git a/internal/picker/keys.go b/internal/picker/keys.go index 26b7e80..e219878 100644 --- a/internal/picker/keys.go +++ b/internal/picker/keys.go @@ -10,7 +10,7 @@ func newKeybinds() keybinds { return keybinds{ next: key.NewBinding( key.WithKeys("j", "down"), - key.WithHelp("j", "prev. slider"), + key.WithHelp("j", "prev slider"), ), prev: key.NewBinding( key.WithKeys("k", "up"), @@ -29,5 +29,4 @@ func (m Model) AllKeys() [][]key.Binding { keys[0] = Keys() copy(keys[1:], m.sliders[m.active].AllKeys()) return keys - // return append(m.sliders[m.active].AllKeys(), Keys()) } -- cgit v1.2.3