mirror of
https://gitea.com/gitea/tea.git
synced 2024-09-01 04:14:18 -04:00
``` $ tea issue 230 #230 issue/pull details: show reactions (open) @6543 created 2020-10-22 16:39 since reactions are utf8 now and most terminals too, we can display them nicely :) https://gitea.com/api/v1/repos/gitea/tea/issues/230/reactions -------- 1x 🎉 | 1x 👀 | 1x| 1x 👍 | 1x 👎 | 1x 😆 | 1x 😕 | 1x ❤️ ``` caveats: - reactions are not returned as UTF8 (as was claimed in #230), so they need to be parsed. the library I use doesn't (and can't →
) support all reactions available in gitea - currently only for issues, as reactions for comments mean an additional API request for each comment.. fixes #230 Co-authored-by: Norwin <git@nroo.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/421 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Norwin <noerw@noreply.gitea.io> Co-committed-by: Norwin <noerw@noreply.gitea.io>
42 lines
1.7 KiB
Modula-2
42 lines
1.7 KiB
Modula-2
module code.gitea.io/tea
|
|
|
|
go 1.13
|
|
|
|
require (
|
|
code.gitea.io/gitea-vet v0.2.1
|
|
code.gitea.io/sdk/gitea v0.15.0
|
|
gitea.com/noerw/unidiff-comments v0.0.0-20201219085024-64aec5658f2b
|
|
github.com/AlecAivazis/survey/v2 v2.3.1
|
|
github.com/ProtonMail/go-crypto v0.0.0-20210707164159-52430bf6b52c // indirect
|
|
github.com/adrg/xdg v0.3.3
|
|
github.com/alecthomas/chroma v0.9.2 // indirect
|
|
github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de
|
|
github.com/charmbracelet/glamour v0.3.0
|
|
github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect
|
|
github.com/enescakir/emoji v1.0.0
|
|
github.com/go-git/go-git/v5 v5.4.2
|
|
github.com/hashicorp/go-version v1.3.0 // indirect
|
|
github.com/kevinburke/ssh_config v1.1.0 // indirect
|
|
github.com/mattn/go-colorable v0.1.8 // indirect
|
|
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
|
|
github.com/microcosm-cc/bluemonday v1.0.15 // indirect
|
|
github.com/muesli/reflow v0.3.0 // indirect
|
|
github.com/muesli/termenv v0.9.0
|
|
github.com/olekukonko/tablewriter v0.0.5
|
|
github.com/sergi/go-diff v1.2.0 // indirect
|
|
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
|
|
github.com/stretchr/testify v1.7.0
|
|
github.com/urfave/cli/v2 v2.3.0
|
|
github.com/xanzy/ssh-agent v0.3.1 // indirect
|
|
github.com/yuin/goldmark v1.4.0 // indirect
|
|
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5
|
|
golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d // indirect
|
|
golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf // indirect
|
|
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect
|
|
golang.org/x/text v0.3.7 // indirect
|
|
golang.org/x/tools v0.1.5 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
)
|
|
|
|
replace github.com/charmbracelet/glamour => github.com/noerw/glamour v0.3.0-patch
|