Commit graph

103 commits

Author SHA1 Message Date
ayn2op
aa58ee2a8a Revert "refactor(state): rename openState to newState & return *state.State instead of modifying discordState in-place"
This reverts commit b784d6ccb0.
2025-03-19 16:12:22 -04:00
ayn2op
b784d6ccb0 refactor(state): rename openState to newState & return *state.State instead of modifying discordState in-place 2025-03-17 16:21:53 -04:00
ayn2op
1547b9cb02 refactor: redundant access 2025-03-17 15:54:39 -04:00
ayn2op
34158b2f9e refactor: layout -> app 2025-02-28 17:29:03 -05:00
Ayyan
bad44a4490
feat(config): add keys.guilds_tree.yank (#508)
Co-authored-by: ayn2op <ayn2op@mac.local>
2025-02-25 19:42:17 -05:00
Ayyan
2b151ca029
feat(config): add status field (#506)
Co-authored-by: ayn2op <ayn2op@mac.local>
2025-02-22 21:57:51 -05:00
ayn2op
edb0c255d4 feat: set OS-specific user agents
Closes #495
2025-02-10 18:33:40 -05:00
ayn2op
1783361d5f refactor: do not propagate login error 2025-01-26 19:58:53 -05:00
Ayyan
f2e8a05bac
feat(config): add user_agent field (#486)
Co-authored-by: ayn2op <ayn2op@mac.local>
2025-01-23 20:26:05 -05:00
ayn2op
f2d12b6a26 fix(cmd): check if state is nil (login screen) 2025-01-11 12:18:50 -05:00
ayn2op
24e2f65c44 login: display login error in login form
Closes #481
2025-01-10 22:57:22 -05:00
ayn2op
e141cb97d0 Revert "Initialize Go workspace (#483)"
This reverts commit ea0206aed6.
2025-01-10 20:36:10 -05:00
Ayyan
ea0206aed6
Initialize Go workspace (#483) 2025-01-10 20:33:18 -05:00
ayn2op
9f15a63424 feat: add navigation keys configuration for guilds tree and messages text widget 2024-12-21 21:11:53 -05:00
ayn2op
e372cf4bc0 fix: manually move the guilds tree for select_{first,next} keybindings 2024-12-21 15:33:36 -05:00
ayn2op
b4e24bf113 feat: close websocket connection gracefully on quit 2024-12-20 18:35:09 -05:00
ayn2op
e386077b96 refactor: move token retrieval login to run.go 2024-12-20 18:15:47 -05:00
ayn2op
07d2df31a7 refactor: logging 2024-12-11 23:46:04 -05:00
ayn2op
4b47c68962 Revert "feat: replace slog with charmbracelet/log"
This reverts commit a5c5540147.
2024-12-11 23:22:21 -05:00
ayn2op
f5df6fc092 Revert "fix: do not send message twice"
This reverts commit 0d886c34c2.
2024-12-11 23:22:11 -05:00
ayn2op
0d886c34c2 fix: do not send message twice 2024-12-11 23:05:27 -05:00
ayn2op
a5c5540147 feat: replace slog with charmbracelet/log 2024-12-11 22:59:16 -05:00
Ayyan
9a53487453
fix: clear guilds tree on READY event (#463) 2024-11-21 03:33:18 +05:30
ayn2op
6a4b983c29 feat: distinct guild stage voice channel from others 2024-11-09 11:32:46 -05:00
ayn2op
91b92b9c14 refactor: rename mainFlex to layout 2024-10-13 11:36:39 -04:00
ayn2op
37a8be5885 refactor: remove constants package 2024-10-13 11:34:19 -04:00
ayn2op
4164ee3f0c fix: pass cfg 2024-10-12 20:15:33 -04:00
ayn2op
6a476e612d fix: pass cfg to Layout while initialization 2024-10-12 20:12:24 -04:00
ayn2op
1e4d22fb77 refactor: dependency injection :) 2024-10-12 19:37:39 -04:00
ayn2op
9d05f2999c refactor: merge Application with Layout 2024-10-12 19:28:35 -04:00
ayn2op
1769fa97e1 refactor: initialize mainFlex in (*cmd.Application).show 2024-10-02 23:28:14 +05:30
ayn2op
cc5fe0620d Remove timestamps_before_author field (timestamps are before author by default) 2024-09-27 21:04:50 +05:30
Retropaint
a6e6388322
Color-coded attachements & link toggling (#438)
Co-authored-by: Ayyan <119342035+ayn2op@users.noreply.github.com>
2024-09-25 18:02:04 +05:30
Thomas Baag
54c55eb69b
fix: highlight messages using mouse (#441) 2024-09-25 13:41:11 +05:30
ayn2op
431c40f220 fmt 2024-09-23 23:52:25 +05:30
ayn2op
f0e2f02b40 Refactor login_form.go 2024-09-23 23:45:10 +05:30
Retropaint
501cdf3aa4
cmd: add quit keybinding (#437)
Co-authored-by: ayn2op <ayn2op@gmail.com>
2024-09-23 13:48:14 +05:30
Retropaint
0baadff870
Store ID instead of index of message (#436)
Co-authored-by: ayn2op <ayn2op@gmail.com>
2024-09-22 22:44:04 +05:30
ayn2op
6dd60ed0e9 perf: replace for-range funcs
https://github.com/lunemec/go-rule-of-thumb?tab=readme-ov-file#range-over-func
2024-09-22 03:44:40 +05:30
Retropaint
6e694458d7
feat: render pinned messages (#430)
Co-authored-by: Thomas Baag <b2ag@users.noreply.github.com>
Co-authored-by: Ayyan <119342035+ayn2op@users.noreply.github.com>
Co-authored-by: ayn2op <ayn2op@gmail.com>
2024-09-22 03:27:18 +05:30
ayn2op
e4d9a3fb0a feat(config): add link_color field
Closes #432
2024-09-21 19:57:06 +05:30
ayn2op
8a6392bace refactor(config): rename emote_color field to emoji_color 2024-09-21 19:22:42 +05:30
Ayyan
33fedd6785
feat: better markdown parsing (#433) 2024-09-21 19:18:40 +05:30
Thomas Baag
7af3035e5a
feat(config): add more theme configuration for UI elements (#424)
Co-authored-by: Ayyan <119342035+ayn2op@users.noreply.github.com>
2024-09-21 11:58:02 +05:30
Retropaint
d9026d3dd8
feat: color-coded & formatted emotes (#428) 2024-09-20 20:10:48 +05:30
ayn2op
9d001a522e refactor: clarify what orphan guild is 2024-09-20 01:40:49 +05:30
ayn2op
5a01e54627 refactor: create app.go 2024-09-20 01:26:38 +05:30
ayn2op
e56edc7caf Merge branch 'slog' 2024-09-20 01:12:33 +05:30
ayn2op
5ccd4cd679 feat: replace log with slog 2024-09-20 01:11:51 +05:30
Retropaint
328a9c9a8b
fix: hide non-existent folders (#426) 2024-09-19 23:40:40 +05:30