Commit graph

22 commits

Author SHA1 Message Date
ayntgl
cd90bbadaf ui: support for bot accounts (prefix token with 'Bot ') 2022-01-20 18:25:23 +04:00
ayntgl
0d4d612111 Switch to toml for configuration 2022-01-19 23:34:18 +04:00
ayntgl
5b362d7c4f
feat(ui): implement message actions list (#111) 2022-01-16 00:01:57 +04:00
ayntgl
a6fa21b751 chore: align struct fields 2022-01-10 23:44:35 +04:00
ayntgl
2f2d0571d8 refactor: remove login form handler from ui package 2022-01-10 17:01:38 +04:00
ayntgl
d815c77c29 refactor: initialize default config when file is empty 2022-01-09 23:18:03 +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
rigormorrtiss
85c7754a18 refactor(ui): remove NewApp() 2021-08-19 17:54:15 +04:00
rigormorrtiss
9bb8dce3d0 refactor: add comments for exported functions 2021-08-18 22:15:22 +04:00
rigormorrtiss
1a2be50e14 feat: implement Threads (#25)
* main: refactor MESSAGe_CREATE event to separate function

* main: add thread channel as child to guild text channel

* main: write thread channel messages to messages TextView on select

* *: refactor to use for range loops

* main: write discord.Message.ReferencedMessage if message type is ThreadStarterMessage

* fix(util): write Message.Content if it is not an empty string

* refactor(util): remove WriteMessages

* refactor(main): defer-close websocket connection

* refactor(main): update api.UserAgent to latest

* refactor: use named return values

* fix: increase guilds TreeView fixedSize

* docs(README): update preview
2021-08-15 10:01:02 +04:00
rigormorrtiss
28964883ce refactor: remove unnecessary named function parameters 2021-08-13 21:34:16 +04:00
rigormorrtiss
c17ca03bda Add default keybindings for navigation 2021-08-03 14:07:23 +04:00
rigormorrtiss
e4fbeb1c11 refactor(ui): explicitly return values 2021-08-02 22:38:03 +04:00
rigormorrtiss
bd63810b91 Remove Application InputCapture handler 2021-07-28 20:08:23 +04:00
rigormorrtiss
a9ea2244f5 Revert "Move ui events handlers to corresponding file"
This reverts commit 585e5e26d93093c7b0ddf555a69c306f45ba0198.
2021-07-28 19:39:46 +04:00
rigormorrtiss
88614c1888 Move ui events handlers to corresponding file 2021-07-28 19:26:29 +04:00
rigormorrtiss
a400ad306f Add ui.NewMidFlex() func 2021-07-28 00:13:56 +04:00
rigormorrtiss
14fa4cca81 Rename ui.NewApplication() to ui.NewApp() 2021-07-27 23:45:33 +04:00
rigormorrtiss
3be7497ea5 Improve default colors 2021-07-21 19:56:16 +04:00
rigormorrtiss
4fac6484f4 Implement basic functionality 2021-07-20 12:07:00 +04:00