ayntgl
3fe05ad40f
Change message InputField default placeholder background
2022-01-23 22:30:09 +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
3a7e0b4c82
Change focus back to messages TextView when Escape is pressed
2022-01-19 22:05:20 +04:00
ayntgl
fa8d01d5fc
Fix message actions list rune
2022-01-19 22:03:07 +04:00
ayntgl
867f87f2bc
feat: implement message timestamps ( #113 )
2022-01-17 13:23:14 +04:00
ayntgl
a10732bc25
fix(ui): append messages in sent order
2022-01-16 00:56:05 +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
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
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
ayntgl
16f49a9c34
Refactor into packages
2021-12-14 19:25:31 +04:00
ayntgl
b8d09403e7
refactor: remove ui pkg
2021-11-20 20:11:33 +04:00
ayntgl
5361e412ae
ui: align channels tree title to left ( #94 )
2021-10-30 19:33:16 +04:00
ayntgl
30dffbaa83
refactor: move UI components to ui package ( #93 )
2021-10-30 18:35:50 +04:00
ayntgl
f945fbf4f8
Switch to a flat project structure ( #48 )
2021-09-19 19:56:51 +04:00
ayntgl
cfbee6c2f1
refactor(util): remove HasPermission()
2021-09-15 00:09:50 +04:00
ayntgl
3dd7b852d3
build: use ayntgl/discordgo instead of bwmarrin/discordgo
2021-09-14 23:31:34 +04:00
ayntgl
7a9d0e066e
refactor(ui): pass event handlers in main func
2021-09-14 14:28:29 +04:00
rigormorrtiss
fa8b590d9c
refactor(ui): remove newBaseLoginForm()
2021-09-13 10:23:06 +04:00
rigormorrtiss
9c3e390b33
refactor(ui): move *LoginForm to ui/misc.go
2021-09-07 20:45:31 +04:00
rigormorrtiss
58cd88ce7a
refactor(ui): update directory structure
2021-09-07 20:27:38 +04:00
rigormorrtiss
23afb2ecef
feat: implement reply to selected message functionality ( #39 )
...
* feat: implement reply to selected message functionality
* docs: add keybinding for reply
2021-08-31 15:56:03 +04:00
rigormorrtiss
5d19c768fe
feat: implement selectable messages ( #38 )
...
* feat: implement selectable messages
* style: shorten long lines
* feat: handle key down event for message select functionality
* feat: add handlers for top and bottom navigation
* style: shorten long lines
* docs: add 's' to singular verb
* docs: add missing period
* fix: if selectedChannel is not initialized, do not handle key event
* fix: prepend message to .Messages slice
* fix: if selectedChannel is nil, do not handle events
* feat: better default keybindings
* fix: use != comparison operator
2021-08-31 15:18:02 +04:00
rigormorrtiss
4bd98d596d
style: shorten long lines (>80 characters)
2021-08-31 13:03:12 +04:00
rigormorrtiss
6e27a46404
feat(ui): enable regions for message selection
2021-08-31 10:33:36 +04:00
rigormorrtiss
93a422bc9e
feat: merge channels & guilds TreeView for ease-of-use ( #37 )
...
* feat: merge channels & guilds TreeView for ease-of-use
* docs: update README preview
2021-08-30 13:57:35 +04:00
rigormorrtiss
efb9097eda
Modify right Flex proportion to 4
2021-08-24 15:58:54 +04:00
rigormorrtiss
464551cc98
Add doc comment for ui.CreateCategoryChannelsTreeNodes()
2021-08-23 22:39:10 +04:00
rigormorrtiss
04b6ddc599
Hide non-permissible channels from channels TreeView ( #35 )
...
* Add discord.HasPermission()
* Exclude disallowed channels from TreeView
* Update README preview
2021-08-23 22:35:39 +04:00
rigormorrtiss
e1a88777a7
Change Config.Theme type to tview.Theme
2021-08-23 08:21:46 +04:00
rigormorrtiss
f8b8b5a144
Switch to discordgo
2021-08-22 19:29:37 +04:00
rigormorrtiss
85c7754a18
refactor(ui): remove NewApp()
2021-08-19 17:54:15 +04:00
rigormorrtiss
097b96f841
refactor: modularize into multiple functions to reduce complexity
2021-08-19 17:08:23 +04:00
rigormorrtiss
7eac041b80
Add doc comment for GetTreeNodeByReference
2021-08-19 15:58:48 +04:00
rigormorrtiss
5f8d6f1399
Switch to TreeView from List for guilds
2021-08-19 15:45:08 +04:00
rigormorrtiss
ea837bac89
ui/flex: decrease proportionate fixed size to 2x of channels TreeView
2021-08-19 13:53:38 +04:00
rigormorrtiss
9bb8dce3d0
refactor: add comments for exported functions
2021-08-18 22:15:22 +04:00
rigormorrtiss
4cf3fff3fe
ui: separate guilds from TreeView ( #33 )
...
* feat(ui): add NewGuildsList()
* fix(ui): remove redundant \n from guilds list
* feat(ui): add guilds List to main Flex
* refactor(ui): rename TreeView to channels TreeView
* feat: separate guilds from TreeView
* ui/flex: increase proportionate size of TreeView
* main: sort guild channels according to channel positions
* docs: update README preview
* main: add keybinding for guilds List
2021-08-18 21:33:41 +04:00
rigormorrtiss
4bf8085239
refactor(util): remove *{Background,Foreground} in favor of Background & Foreground
2021-08-18 19:48:32 +04:00
rigormorrtiss
5ff13fac2e
feat: add support for MFA (2FA) login ( #29 )
...
* feat(ui): add ui.NewMfaLoginForm()
* feat: add support for MFA
2021-08-17 19:03:55 +04:00
rigormorrtiss
d9fc27e5ed
feat(ui): set right border padding to 0 for TextView
2021-08-16 13:57:19 +04:00
rigormorrtiss
772e915c61
feat(ui): set right border padding to 0 for Form, InputField, TextView, TreeView
2021-08-15 19:06:32 +04:00
rigormorrtiss
6f8d9cca1c
feat(ui): modify message InputField fixedSize to 25
2021-08-15 19:04:12 +04:00