Commit graph

136 commits

Author SHA1 Message Date
Christian Rocha
6543979ed1 fix: performance scrolling
This update fixes performance scrolling by way of the latest Bubbles
release: v0.15.0.
2023-01-20 11:55:40 -05:00
Maas Lalani
071783d907
feat: copy contents of document (#439)
* feat: copy contents of document

Co-authored-by: bashbunni <bash@charm.sh>

* fix: use atotto/clipboard for copying

Co-authored-by: bashbunni <bash@charm.sh>
2023-01-20 11:06:02 -05:00
dependabot[bot]
b9f519e1ea feat(deps): bump github.com/charmbracelet/bubbletea
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.23.0 to 0.23.1.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.23.0...v0.23.1)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 13:19:12 -05:00
dependabot[bot]
5b43697cb3 feat(deps): bump golang.org/x/text from 0.4.0 to 0.6.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.4.0 to 0.6.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.4.0...v0.6.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 13:18:06 -05:00
Carlos A Becker
60d98a01e5 feat: bump deps 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
Carlos A Becker
d2870afb3d chore: go 1.16
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-11 02:14:26 +01:00
Ayman Bagabas
dec59a2199
feat(ci): use config files from meta repo (#389)
* chore: bump cobra & viper

* feat(ci): use config files from meta repo

* publish docker images
* generate shell completions
* generate man pages

* feat(ci): use shared workflows from meta repo
2022-10-26 16:05:52 -03:00
Carlos Alexandro Becker
c75609322f
feat(deps): update cobra and viper (#346)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-05-26 16:35:24 -03:00
Tobias Klauser
1f2b3671c7 Use golang.org/x/term
The golang.org/x/crypto/ssh/terminal package is deprecated and merely a
wrapper around golang.org/x/term. Use the latter directly and avoid a
direct dependency on the former.
2021-04-29 15:34:10 +02:00
Christian Muehlhaeuser
4863f57cea
Bump bubbletea, glamour, and go-runewidth deps 2021-04-08 16:31:00 +02:00
Christian Muehlhaeuser
92b86072a4
Bump termenv to v0.8.1 2021-04-03 01:47:38 +02:00
Christian Muehlhaeuser
4f9ad6721c
Bump bubbletea dependency to v0.13.1 2021-03-13 04:38:54 +01:00
Christian Muehlhaeuser
0333e88252
Bump bubbletea dependency 2021-03-12 12:57:45 +01:00
Christian Muehlhaeuser
b6ec7ae14c
Bump glamour dependency 2021-03-11 16:39:18 +01:00
Christian Muehlhaeuser
5b29a023bf
Bump charm, babyenv, termenv, cobra, and viper dependencies 2021-03-11 16:33:53 +01:00
Christian Rocha
dedf7967b0 Bump Bubble Tea dependency 2021-03-02 13:18:14 -05:00
Christian Muehlhaeuser
08a8d4b5ed Bump gitcha to v0.2.0 2021-03-01 14:01:27 +01:00
Christian Rocha
542133c42b Bump Bubble Tea and Bubbles dependencies 2021-01-19 15:30:44 -05:00
Christian Rocha
28ccb85b2e Use ANSI-aware truncation 2020-12-24 10:29:22 -05:00
Christian Rocha
8d7b614688 Fine tuning + subtle behavioral adjustments to spinners + status messages 2020-12-24 10:29:22 -05:00
Christian Rocha
88806c8abc Make news stashable 2020-12-24 10:29:22 -05:00
Nicolas Martin
d9242c9a72 Expand the path for a specified style file 2020-12-16 17:04:35 +01: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
Nicolas Martin
d98e3c11ba Switch to sahilm/fuzzy for fuzzy-filtering and text highlighting 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
Nicolas Martin
e985f96dc4 Add fuzzy filtering for stash notes 2020-11-17 15:57:55 -05:00
Christian Muehlhaeuser
d5446bfddd Add config file support
The combination of Viper & go-app-paths lets us detect a config file
'glow.yml' in various default config paths (XDG-compliant), across all
platforms.

Currently there are only two configuration values:

local: true
style: "/some/style.json"

Additionally, this introduces mapping environment variables to config
values:

GLOW_LOCAL="true"
GLOW_STYLE="/some/style.json"

The values will be used in this order:

CLI-arg > ENV-var > config file > default
2020-10-24 05:16:00 +02:00
Christian Rocha
cde8999cf6
Bump Bubble Tea and Bubbles deps for keybinding improvements 2020-10-22 15:59:22 -04:00
Christian Rocha
0949a6656b Update to bubbletea 0.12.0; minimum required changes 2020-10-19 15:50:50 +00:00
Christian Rocha
90499914a8
Bump bubbletea dependency for arrow key support on Windows 2020-10-13 15:50:43 -04:00
Christian Rocha
5f9c5b708d
Windows support + bump termenv dependency 2020-10-12 23:23:38 -04:00
Christian Muehlhaeuser
66caa28d64
Bump bubbletea, bubbles, charm & glamour dependencies 2020-10-06 18:34:39 +02:00
Christian Rocha
b30bf4cf6f Bump bubbletea for post-panic terminal restoration 2020-10-05 13:54:50 +02:00
Christian Rocha
21eccfd2c3 Hop back to Muesli's gitcha repo at master 2020-10-05 13:54:38 +02:00
Christian Rocha
26b3292f57 Don't allow stashing until authed + introduce "offline mode" in UI 2020-10-05 13:54:24 +02:00
Christian Rocha
17ea86e3ed Bump charm lib for stash-on-first-run fix 2020-10-05 13:54:24 +02:00
Christian Rocha
485774d0f9 Bump charm lib to fix crash if user data dir doesn't exist 2020-10-05 13:54:24 +02:00
Christian Rocha
a3a05fde9c Move ignore stuff to gitcha (and temporarily use the meowgorithm fork) 2020-10-05 13:54:23 +02:00
Christian Muehlhaeuser
a0ddc315de Bump gitcha dep 2020-10-05 13:54:01 +02:00
Christian Rocha
912c80651a Apply fine-grained spinner display rules to file listing view 2020-10-05 13:54:01 +02:00
Christian Rocha
cdc55a4b28 Always show spinner for a minimum amount of time when stashing 2020-10-05 13:53:49 +02:00
Christian Muehlhaeuser
b29f172c80 Bump gitcha dep 2020-10-05 13:53:26 +02:00
Christian Rocha
4b732ada50 Bump Termenv to 0.7.2 2020-10-05 13:53:26 +02:00
Christian Rocha
5bdf7649b0 Set ID of newly stashed markdowns so we can operate on them 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 Muehlhaeuser
be478cbaf3 Adapt to upstream gitcha API 2020-10-05 13:53:26 +02:00
Christian Muehlhaeuser
df15d81dbb Bump gitcha dependency 2020-10-05 13:53:26 +02:00
Christian Rocha
d34a687ddc Pin charm, glamour, and bubbles deps at master 2020-10-05 13:53:17 +02:00
Christian Rocha
881504e603 Bump Charm and Bubble Tea + de-bump Termenv to 0.7.0 2020-10-05 13:52:51 +02:00