KodiCraft
7ef0f71b7b
feat: implement keybindings for opening and downloading attachments ( #137 )
...
* Added support for opening or downloading attachments
* Removed some debug statements
* Added close statements I forgot
* Added gitignore to ignore built executables
* Removed executables I accidentally added
* Fixed opening files not working on Windows
* Updated .gitignore to ignore .vscode
Co-authored-by: ayntgl <90600421+ayntgl@users.noreply.github.com>
* Deleted launch.json that doesn't need to be included
* Implemented suggestions on #137
Co-authored-by: ayntgl <90600421+ayntgl@users.noreply.github.com>
2022-03-13 22:22: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
4fbf35fe65
fix(ui): incorrect default keybinding value for external editor
2022-03-01 20:34:09 +04:00
ayntgl
172f369838
ui: move direct messages item to end
2022-02-28 14:15:15 +04:00
ayntgl
f9a0af5433
ui: add new line after author heading if embed title exists
2022-02-26 23:25:42 +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
317867ac77
refactor: remove unused title align for messages TextView
2022-02-20 19:17:16 +04:00
ayntgl
91899b1494
feat(ui): do not display channel name in messages TextView title
2022-02-20 19:09:58 +04:00
ayntgl
bddfb173b7
refactor: divide util package
2022-02-17 12:00:46 +04:00
ayntgl
d8d9672ee8
refactor: uncuddle return statements
2022-02-09 21:52:06 +04:00
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