Christian Rocha
|
6aca2f5fe7
|
Fix TUI regression where stash memo contained file path
|
2022-02-01 12:07:16 -05:00 |
|
Christian Rocha
|
11f627a132
|
Bump Bubbles to v0.10.2, update accordinly, and simplify spinners
* Remove (provisional) spinner lifetime stuff
* Remove generalized spin commands in favor of model-level commands
* Update textinput, viewport, and spinner constructors
|
2022-02-01 12:07:16 -05:00 |
|
Christian Rocha
|
2f37a2760d
|
Bump Bubble Tea to v0.19.3 and update deprecated methods
* Update deprecated altscreen methods
* Update deprecated mouse methods
|
2022-02-01 12:07:16 -05:00 |
|
Christian Rocha
|
3f423367b1
|
Updates for recent-ish charm library API changes
|
2021-10-22 13:16:49 -04:00 |
|
Christian Rocha
|
3c28cef065
|
Remove stray charm/ui/common artifacts
|
2021-10-22 13:16:49 -04:00 |
|
Christian Rocha
|
5c376d623d
|
Bump Bubble Tea, Bubbles and Lip Gloss and do related updates
This update also removes any usage of the charm/common package
|
2021-10-22 13:16:49 -04:00 |
|
Toby Padilla
|
1075f196bf
|
Initial port to Charm kv backend
|
2021-10-22 13:16:49 -04:00 |
|
Toby Padilla
|
5d30629aa8
|
Move client stubs from old charm lib, port to new keygen tui
|
2021-10-22 13:16:49 -04:00 |
|
Christian Muehlhaeuser
|
02ad6ad364
|
Simplify key event handling
|
2021-03-10 17:11:34 +01:00 |
|
Christian Muehlhaeuser
|
cfb746e66a
|
Pass through all keys when editing filter
|
2021-03-09 08:02:54 -05:00 |
|
Christian Muehlhaeuser
|
2088bac668
|
Make TUI find markdowns with a variety of file extensions
List from GitHub's supported extensions:
- .md
- .markdown
- .mdown
- .mkdn
- .mkd
Fixes #233.
|
2021-02-01 05:00:33 +01:00 |
|
Christian Rocha
|
8d0ebb7249
|
If the only arguement is a directory open a TUI at that path (see #234)
|
2021-01-19 15:18:24 -05:00 |
|
Christian Rocha
|
35f1ed21c3
|
More logging around markdown stash failures
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
025dcee3da
|
Fix case where stashDocument could erroneously return a command in a command
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
f2c3ef12ea
|
Show stash feedback optimistically
|
2020-12-24 10:29:22 -05:00 |
|
Nicolas Martin
|
8f3c5df236
|
Highlight the most recent stash item in green in the stash view
...as long as the statusMessage is `Stashed!` is present
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
3c74079669
|
In a filter, deleting stashed news removes those items from the filter
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
2a688fc71e
|
In a filter, deleting docs stashed in-session converts them to local ones
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
12f3209238
|
When stashing in a filter, turn local docs to stashed ones
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
03db9a6869
|
Put filter results in a tab
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
28ccb85b2e
|
Use ANSI-aware truncation
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
64da53ede6
|
Rename a function
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
6946f7e581
|
Rename 'common' model and associated keys for sake of clarity
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
683d2c0cf6
|
Move TUI config into its own file
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
8a6c6ef85d
|
Remove extraneous error interface implementations
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
6953c06b46
|
Improve markdown stashing and spinner logic in file listing
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
617f0980d8
|
Handle stash failures
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
03d93169f2
|
Also make news stashable from the pager
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
88806c8abc
|
Make news stashable
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
4fcf48f92a
|
Filter against local and stashed files, regardless of the current section
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
cfba912be6
|
Maintain pagination and cursor on a per-section basis
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
a67f00a813
|
Press tab/shift+tab to switch between local, stash and news
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
f1ede23b3c
|
Add logging for stash/news fetching
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
f680a9b96a
|
Correct logic for checking when we're in stashed-only-mode
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
c235780eee
|
Appease the linter
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
cffa611dfb
|
When exiting pager or filter, stay in news if we were on news prior
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
4c63c62bfa
|
Replace bit-based document type implementation with a set-based one
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
7fabcea06d
|
Make stash note editing and deletion independent of main state
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
2748e75165
|
If we're offline disable the news section
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
fc898831af
|
Now you can filter news too
Also note that the main stash state and the filter state now operate
independently.
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
40a02259fc
|
Only show news in news section
|
2020-12-24 10:29:22 -05:00 |
|
Nicolas Martin
|
537ef308d2
|
Add a menu item for only display news
|
2020-12-24 10:29:22 -05:00 |
|
Christian Rocha
|
56a9edd312
|
Filter markdowns asynchronously so filtering doesn't block
|
2020-11-25 00:33:04 +00:00 |
|
Christian Rocha
|
c16a146c00
|
Load the whole stash, page by page, automatically
|
2020-11-20 15:02:15 -05:00 |
|
Christian Rocha
|
86e581c79c
|
Add matching stash/news documents to filter results as they're loaded
|
2020-11-19 22:26:31 -05:00 |
|
Christian Rocha
|
4e6460682e
|
Consolidate common model properties to reduce duplication
|
2020-11-18 12:33:39 -05:00 |
|
Christian Rocha
|
58eca2414a
|
Match documents which were stashed in-session then renamed
Note that we've also removed field `displayPath` from struct `markdown`
as it turned out to not be necssary in the first place.
|
2020-11-17 15:57:55 -05:00 |
|
Christian Rocha
|
f9883e8f8d
|
Change 'search' to 'filter'
|
2020-11-17 15:57:55 -05:00 |
|
Christian Rocha
|
fb5a81f4d6
|
Upgrade to Bubble Tea v0.12.2 and Bubbles v0.7.5
|
2020-11-17 15:57:55 -05:00 |
|
Christian Rocha
|
464c84bb13
|
Fix a regression where esc wouldn't clear filtered results
|
2020-11-17 15:57:55 -05:00 |
|