Commit graph

138 commits

Author SHA1 Message Date
ayntgl
3f124bebec
feat(ui): implement guild folders (#182) 2022-08-19 17:15:07 +05:30
ayntgl
b046babeb3 refactor(ui): modularize message actions list 2022-08-19 15:55:14 +05:30
ayntgl
46aa968f7f
feat(config): add configurable timestamp format with time_format field (#181) 2022-08-19 14:49:56 +05:30
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
7813d7914d
feat: timestamps now respect local timezone by default (#177)
Closes #154
2022-08-18 16:34:56 +00:00
Matheus Fillipe
05fb80f889
feat: add vi-like keybindings for guilds list (#161)
* Make guild list have vi like shortcuts

* Fix for g for guild

* use the short variable declaration operator

* Remove ifs

Co-authored-by: ayntgl <90600421+ayntgl@users.noreply.github.com>
2022-08-12 14:12:42 +05:30
ayntgl
73e7eecd81
fix: MFA form not set as application root (#170)
Closes #158
2022-08-12 14:08:20 +05:30
ayntgl
205c9dacd6
feat: add action to delete selected message (#164) 2022-07-12 17:18:25 +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
f9f61fdfe0 ui: remove selected func for actions list 2022-03-25 22:17:30 +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
6d13eed2b0 Remove extra 'Copy ID' message action from list 2022-03-25 13:53:31 +04:00
ayntgl
f9ed9a7a12 Add channel name and topic as MessagesTextView title on channel select 2022-03-25 10:45:25 +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
86c7adcac7
feat(ui): use open-golang pkg (#142) 2022-03-15 21:10:26 +04:00
ayntgl
312e18911b
feat(ui): add "Open Link" message action (#141) 2022-03-15 21:05:23 +04:00
ayntgl
999aff93a4 feat: add attachment-related actions to message actions list 2022-03-14 15:05:52 +04:00
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