Commit graph

344 commits

Author SHA1 Message Date
ayntgl
a6fa21b751 chore: align struct fields 2022-01-10 23:44:35 +04:00
ayntgl
282fb1b6a7 build: update tview to latest 2022-01-10 22:04:14 +04:00
ayntgl
3bbebd5388 ci: add go test 2022-01-10 21:30:23 +04:00
ayntgl
e7f335ebf0 test(util/discord): add test for ParseMarkdown() 2022-01-10 21:02:08 +04:00
ayntgl
e18dbd94f6 refactor: move discord to util/discord.go package 2022-01-10 17:12:37 +04:00
ayntgl
2f2d0571d8 refactor: remove login form handler from ui package 2022-01-10 17:01:38 +04:00
ayntgl
1bc81111e8 feat: add default navigation shortcut for guilds list 2022-01-10 14:29:00 +04:00
ayntgl
d815c77c29 refactor: initialize default config when file is empty 2022-01-09 23:18:03 +04:00
ayntgl
61cf6f7383 chore(Makefile): add clean task 2022-01-09 20:04:26 +04:00
ayntgl
87a073d827 refactor: remove unused functions 2022-01-09 16:32:21 +04:00
ayntgl
e6ec288975 feat: implement config package 2022-01-09 16:21:54 +04:00
ayntgl
d0b47b2588 refactor: modularize into packages 2022-01-09 14:29:25 +04:00
ayntgl
548c9f0007 refactor: modularize into packages 2022-01-08 21:04:02 +04:00
SoopaKhell
2a40b68648
fix: replies to messages selected via mouse (#108) 2022-01-05 20:24:06 +04:00
ayntgl
64df4929d9
docs: remove Discord server link 2021-12-25 18:43:12 +04:00
ayntgl
16f49a9c34 Refactor into packages 2021-12-14 19:25:31 +04:00
ayntgl
fd24fa453e 2021-12-12 17:06:14 +04:00
ayntgl
f8ed8a70b1 docs: add wl-clipboard installation instructions 2021-12-12 16:50:50 +04:00
ayntgl
f884202317 fix: remove new unread messages differentiation 2021-12-12 14:53:59 +04:00
ayntgl
313a754ade refactor: move ChannelToString() and GetNodeByReference() to util/ui.go 2021-12-02 21:10:17 +04:00
ayntgl
88600de318 refactor: remove new* UI functions 2021-11-29 20:17:14 +04:00
ayntgl
4ac65d3cd7 refactor: rename NewConfig to LoadConfig 2021-11-29 20:10:37 +04:00
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