Commit graph

322 commits

Author SHA1 Message Date
ayntgl
7fab952886 docs: segregate additional info using quotes 2021-11-28 21:07:10 +04:00
ayntgl
c5a378a1c8 docs(README): use shields.io for badges 2021-11-25 21:58:01 +04:00
ayntgl
834d7342af refactor: move util/{discord,ui} to main pkg 2021-11-25 16:35:38 +04:00
ayntgl
2b3066f7c7
ui: remove borders and switch with focus borders by default (#103) 2021-11-20 21:54:09 +04:00
ayntgl
b8d09403e7 refactor: remove ui pkg 2021-11-20 20:11:33 +04:00
Canis Li
c82acc2121
fix: remove occurence of ReplySelectedMessage twice (#102) 2021-11-18 09:28:50 +04:00
ayntgl
e8a2f33e07
feat: implement multiple keybindings for a command (#101) 2021-11-17 12:28:34 +04:00
ayntgl
fc25402615
fix: unselect message after reply message send (#99) 2021-11-16 16:00:42 +04:00
ayntgl
be46288500 refactor: rename LoadConfig to NewConfig 2021-11-13 21:16:29 +04:00
ayntgl
5361e412ae
ui: align channels tree title to left (#94) 2021-10-30 19:33:16 +04:00
ayntgl
1c63b18d8a refactor: move utility functions to independent package 2021-10-30 19:11:05 +04:00
ayntgl
30dffbaa83
refactor: move UI components to ui package (#93) 2021-10-30 18:35:50 +04:00
ayntgl
7271146485
docs: add Discord guild badge (#91) 2021-10-30 13:19:15 +04:00
ayntgl
9eede1a547 refactor: move config.go to util pkg 2021-10-29 21:20:37 +04:00
ayntgl
0dbc7d3fd5
fix: do not scroll to end if any message is selected (#90) 2021-10-29 16:00:39 +04:00
ayntgl
db764b3cef build: upgrade tview to latest 2021-10-29 15:50:43 +04:00
ayntgl
2be06ef4cd
feat: lazy-load channels on guild select (#89)
* feat: set channels tree title to 'Channels'

* feat: lazy-load channels on guild select
2021-10-29 15:26:01 +04:00
ayntgl
78f75db905 refactor: cleanup 2021-10-29 13:31:38 +04:00
ayntgl
207a4d43bd refactor: move utility functions into separate package 2021-10-29 12:53:40 +04:00
ayntgl
2a7206b6a3 docs(README): Token -> token 2021-10-28 22:05:31 +04:00
ayntgl
cc45f6b6bf
feat: select selected message's referenced message using keybinding (#87)
* feat: jump to referenced message using keybinding

* Rename JumpToSelectedMessageReference to JumpSelectedMessageReference

* Remove 'to' from toml tag

* Rename JumpSelectedMessageReference to SelectMessageReference
2021-10-28 22:03:05 +04:00
ayntgl
cfee278be8
fix: scroll to end of text on channel select (#85) 2021-10-28 17:10:48 +04:00
ayntgl
5c6d596ac3 docs: go build -> make build 2021-10-27 18:42:20 +04:00
ayntgl
931922b5f5 build: create Makefile 2021-10-27 18:29:54 +04:00
ayntgl
089e6b0b40
docs: remove default config path for plan9 (#83) 2021-10-26 18:14:57 +04:00
ayntgl
98575d2dc7
docs: add xclip installation for fedora (dnf) (#82) 2021-10-26 18:13:16 +04:00
ayntgl
ef130918a6 ci: pass -d -e -s flags to gofmt 2021-10-25 21:25:01 +04:00
ayntgl
5acd62e228 style: format code 2021-10-25 21:21:08 +04:00
chromium
f6061df298
feat: copy message to clipboard using keybinding (#80)
* copy message

* default keybinding

Co-authored-by: chromium <chromium@chromium.codes>
2021-10-25 21:19:28 +04:00
ayntgl
e4f0812bd1 docs(README): update ci badge 2021-10-25 21:18:00 +04:00
ayntgl
89dd7221ab ci: add gofmt step to github workflow 2021-10-25 21:16:44 +04:00
ayntgl
7499e83492
feat(ui): display user string representation in box title when replying (#79) 2021-10-24 22:30:11 +04:00
ayntgl
1a6ce2e42f feat: add graphics field to config 2021-10-23 14:19:01 +04:00
ayntgl
18b94450e2 feat: refine and simply config fields 2021-10-23 13:09:18 +04:00
ayntgl
4510d190cf feat: change Focus keybindings to sensible defaults 2021-10-23 12:46:43 +04:00
ayntgl
012a0b2855 fix: return nil for *inputCapture events to overwrite existing handlers 2021-10-20 20:11:39 +04:00
ayntgl
685cd7d5e7 refactor: check if ref is nil to determine TreeNode is channel or not 2021-10-18 15:59:36 +04:00
ayntgl
a62e179d80 build: upgrade ayntgl/discordgo@next to latest 2021-10-17 19:06:28 +04:00
ayntgl
58457ea309 docs(README): add xclip installation instructions 2021-10-17 13:43:53 +04:00
ayntgl
b88fb82172 docs: token -> Token 2021-10-17 13:34:58 +04:00
ayntgl
508a4249e6
feat: render message type CALL (3) & GUILD_MEMBER_JOIN (7) (#78) 2021-10-17 13:25:02 +04:00
ayntgl
ceae56bca3 refactor: move isUnread to util.go 2021-10-17 13:02:19 +04:00
ayntgl
b04e5df2fa docs: update README preview 2021-10-16 23:40:08 +04:00
ayntgl
8001a530aa refactor: reduce onMessagesViewInputCapture() cyclomatic complexity 2021-10-16 21:21:38 +04:00
ayntgl
f486f54f1c refactor: modularize func to reduce cyclomatic complexity 2021-10-16 18:50:57 +04:00
ayntgl
2d95068ded
Fix embed fields and footer parsing (#77) 2021-10-16 16:31:05 +04:00
ayntgl
2bd2017f37
Add Borders field to configuration (#76) 2021-10-16 16:03:38 +04:00
ayntgl
62215312f0 Refactor 2021-10-16 13:57:16 +04:00
ayntgl
97ac92301c
Fix mouse highlights not handled (#75) 2021-10-16 13:07:20 +04:00
ayntgl
3ef4574e03
Unhighlight selected message on Escape event key (#74) 2021-10-16 12:45:29 +04:00