ayntgl
ee08cd9593
feat: save token to default keyring if passed via flag ( #180 )
2022-08-19 14:27:58 +05:30
ayntgl
c5be3b3c86
refactor: switch to Arikawa ( #178 )
...
* Basic
* nav
* remove discord pkg
* fix guild delete handler
* misc
* remove ioutil
* remove astatine, press f to pay respect
* panic bad, log.Fatal good
* add preview
2022-08-19 02:31:39 +05:30
ayntgl
39923074f2
refactor!(config): use os.OpenFile() instead
2022-05-22 21:31:32 +04:00
ayntgl
0fba737c12
ui: add GUILD_DELETE event handler
2022-03-25 23:34:35 +04:00
ayntgl
cb0f2ce803
ui: move direct messages item to top
2022-03-25 22:35:25 +04:00
ayntgl
d3001a97c0
Switch to urfave/cli ( #152 )
2022-03-25 19:46:02 +04:00
ayntgl
339dd3b41e
Upgrade astatine to latest
2022-03-25 18:33:30 +04:00
ayntgl
e4d9332eff
Switch to astatine
2022-03-23 21:22:17 +04:00
ayntgl
5cd28f6347
main: use default flag pkg
2022-03-17 21:45:27 +04:00
ayntgl
252548606b
refactor: merge CLI struct into Config
2022-03-17 19:57:19 +04:00
ayntgl
a7cb969fc6
feat: add command-line flags for token and config ( #144 )
...
* feat: add command-line flags for token and config
* docs(README): mention token and config command-line flag
* Remove env var
2022-03-17 16:00:10 +04:00
ayntgl
89b622ec0d
feat(config): add identify field
2022-03-06 13:27:53 +04:00
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