Commit graph

34 commits

Author SHA1 Message Date
ayntgl
65356499c0
fix(ui): login screen loses focus on focus keybindings (#131) 2022-03-02 23:44:29 +04:00
ayntgl
172f369838 ui: move direct messages item to end 2022-02-28 14:15:15 +04:00
ayntgl
ff5cbf7216 refactor(ui): modularize UI widgets 2022-02-26 23:00:17 +04:00
ayntgl
00173ab95f refactor: reorganize packages 2022-02-24 19:14:38 +04:00
ayntgl
bddfb173b7 refactor: divide util package 2022-02-17 12:00:46 +04:00
ayntgl
f4283093ad refactor(ui): uncuddle return statement in NewApp() 2022-02-09 21:44:07 +04:00
ayntgl
76781ed1dd Handle all errors returned by .Write() 2022-02-09 20:42:27 +04:00
ayntgl
2aed7c0209 Align Config struct fields using fieldalignment 2022-02-09 20:15:37 +04:00
ayntgl
13a07469f7 Refactor to consistent API 2022-02-09 16:22:36 +04:00
ayntgl
52490d15b6
fix(ui): check if selected channel's ID is same as received message's channel's ID (#120) 2022-01-28 10:52:44 +04:00
ayntgl
d984d087a2 refactor: remove notifications feature 2022-01-25 20:57:40 +04:00
ayntgl
3f1725c0a7 refactor: move config/* to util package 2022-01-25 20:23:10 +04:00
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