diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-11-24 14:49:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-24 14:49:38 -0500 |
commit | 4582c37a9daf9ef644805b110defea898fd4b0e3 (patch) | |
tree | 27f35f1fbb3b238f3ec52719ade84055874f8f51 | |
parent | 5d5e0fa96bcda46c86eeccfe9c9b918f8c1ace00 (diff) |
fix: update roadmap + small help message update (#8)
-rw-r--r-- | README.md | 12 | ||||
-rw-r--r-- | internal/picker/keys.go | 3 |
2 files changed, 8 insertions, 7 deletions
@@ -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()) } |