ayntgl
039835749a
refactor(ui): uncuddle var declarations
2022-02-09 21:45:41 +04:00
ayntgl
f4283093ad
refactor(ui): uncuddle return statement in NewApp()
2022-02-09 21:44:07 +04:00
ayntgl
4c67f93017
ui: use strings.ReplaceAll() instead
2022-02-09 21:01:08 +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
42818c4d1d
feat: set main flex as root in all message actions
2022-01-26 22:20:21 +04:00
ayntgl
b3656305cf
fix(ui): reset selected message index on guild or channel select
2022-01-25 22:53: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
82cc72caaa
fix(ui): do not forward event key on toggle message actions list keypress
2022-01-25 00:30:40 +04:00
ayntgl
7bfc12d49d
fix: return event key if message input field has focus
2022-01-25 00:26:37 +04:00
ayntgl
99481e5712
Set focus to main flex when Esc is pressed when focus on message input field
2022-01-25 00:20:37 +04:00
ayntgl
3936a6f07b
Refine and set default keybindings to sane defaults
2022-01-25 00:19:03 +04:00
ayntgl
5e0a7d57f6
Use correct key name for escape
2022-01-25 00:08:24 +04:00
ayntgl
7af3cf17cd
Remove unhandled Edit message action
2022-01-24 23:45:16 +04:00
ayntgl
e2ac04dbfd
Add support for external editor to write messages ( #118 )
2022-01-24 23:30:10 +04:00
ayntgl
da4eec7f15
Update ayntgl/discordgo
2022-01-24 12:29:40 +04:00
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