Carlos Alexandro Becker
fce3edf7db
feat!: cleanup and updated ( #619 )
...
* feat!: cleanup
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* more cleanup
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* fix: more cleanup
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* fix: more cleanup
---------
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-03 12:11:29 -03:00
Kian-Meng Ang
442bc281c3
docs: fix typos
...
Found via `typos --format brief`
2023-03-02 22:22:16 -05:00
Christian Rocha
db7f49b445
Bump Bubbles to v0.14.0, update accordingly, and simplify spinners
...
* Re-implement spinner min/max lifetimes in pager
* Remove generalized spin commands in favor of model-level commands
* Update textinput, viewport, and spinner constructors
2022-11-11 02:14:26 +01:00
Christian Rocha
9c9b3e6087
Bump Bubble Tea, Bubbles, Glamour, Lip Gloss, and Termenv and do related updates
...
This update also removes any usage of the charm/common package
Co-authored-by: Christian Rocha <christian@rocha.is>
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-11 02:14:26 +01:00
Christian Rocha
dd936ac1cd
Adjust "secondary" green color in stash highlight + help
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
70a155ee30
Only underline matched chars in filter section when a filter is applied
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
28ccb85b2e
Use ANSI-aware truncation
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
cfba912be6
Maintain pagination and cursor on a per-section basis
2020-12-24 10:29:22 -05:00
Christian Rocha
c235780eee
Appease the linter
2020-12-24 10:29:22 -05:00
Christian Rocha
d21802dbc6
Style detailed help view and re-style mini help view
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
dd9179a9ae
Remove "News:" prefix from news items
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
Christian Rocha
56a9edd312
Filter markdowns asynchronously so filtering doesn't block
2020-11-25 00:33:04 +00:00
Christian Rocha
4e6460682e
Consolidate common model properties to reduce duplication
2020-11-18 12:33:39 -05:00
Christian Rocha
de09997fdb
Normalize strings during filtering
...
This makes it easier to match characters with diacritics (i.e. you can type 'o'
and match an 'ö').
2020-11-17 15:57:55 -05:00
Christian Rocha
6cf1152f87
Also highlight filtered characters on selected filter results
2020-11-17 15:57:55 -05:00
Nicolas Martin
d98e3c11ba
Switch to sahilm/fuzzy
for fuzzy-filtering and text highlighting
2020-11-17 15:57:55 -05:00
Christian Rocha
43a5ac1b64
Highlight relevant characters in filter results
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
4b121593d4
Mop up styling big time
2020-11-17 15:57:55 -05:00
Christian Rocha
2e1579542e
Don't highlight filtered items until search is blurred
2020-11-17 15:57:55 -05:00
Christian Rocha
d717b7e330
Add dimmed colors for light backgrounds
2020-11-17 15:57:55 -05:00
Nicolas Martin
356cd57c0e
Only dim items when starting a new search
2020-11-17 15:57:55 -05:00
Christian Rocha
8d03dd5731
Adjust dimmed colors for dark backgrounds; light colors outstanding
2020-11-17 15:57:55 -05:00
Nicolas Martin
56847c1b01
Dim search results during filtering
2020-11-17 15:57:55 -05:00
Christian Rocha
ae0c747a4b
Remove unused variables and members, fix ineffectual assignment
2020-10-05 13:54:01 +02:00
Christian Rocha
c1496854a8
Remove newline
2020-10-05 13:54:01 +02:00
Christian Rocha
06cbbd7b6b
Use lock emoji for stashed item in pager
2020-10-05 13:54:01 +02:00
Christian Rocha
d7974f035c
When stashing, replace local file with stashed file in the file listing
2020-10-05 13:53:26 +02:00
Christian Rocha
651683cd21
Treat Markdown.CreatedAt as values per the updates in the charm lib
2020-10-05 13:53:26 +02:00
Christian Rocha
f52311af88
Rework/cleanup styling in stash/file listing
2020-10-05 13:49:47 +02:00
Christian Rocha
dbb32354a3
Flag stashed items with a little dot
2020-10-05 13:49:47 +02:00
Christian Rocha
1d6341f970
Use strings.Builder to build pager view
2020-10-05 13:45:22 +02:00
Christian Rocha
77ba75d680
Migrate from Boba to Bubble Tea and Bubbles
2020-10-05 13:45:22 +02:00
Christian Rocha
21b1a2822f
Render stash view with a strings.Builder
2020-10-05 13:44:20 +02:00
Christian Rocha
56ab8e5309
Rework stash design and simplify code
2020-10-05 13:44:20 +02:00