ayn2op
39222f1073
ci: add golangci-lint
2026-10-15 21:00:02 -04:00
ayn2op
1c62b37bc6
refactor(cmd): parse log level with slog.Level.UnmarshalText
2026-09-29 01:13:48 -04:00
ayn2op
24342490e5
refactor(ui)!: make models immutable values
2026-09-27 20:33:19 -04:00
ayn2op
30810afde2
refactor(ui): migrate to declarative tview
2026-09-27 18:12:18 -04:00
ayn2op
811c5e4418
refactor(ui): move focus ownership to containers ( #834 )
2026-08-29 01:10:17 -04:00
ayn2op
f00a66835c
refactor(ui): adopt message-driven focus
2026-08-09 23:23:37 -04:00
ayn2op
93a137d982
feat(cmd): add version flag ( #822 )
2026-07-30 23:37:01 -04:00
ayn2op
e6c7f26fcd
refactor: use forked arikawa and ningen
2026-06-19 18:00:39 -04:00
ayn2op
b3fe7e3453
Revert "fix: limit mouse handling to button events"
...
This reverts commit ef3924db6b .
2026-04-30 02:04:03 -04:00
ayn2op
fdd2ec97db
fix: disable terminal focus events
2026-04-28 22:55:48 -04:00
ayn2op
ef3924db6b
fix: limit mouse handling to button events
2026-04-28 22:54:45 -04:00
ayn2op
3d03359078
fix(cmd): close the log file on shutdown
2026-04-18 14:02:05 -04:00
ayn2op
77f21369b4
refactor(cmd): use non-*Var funcs for cli
2026-04-13 19:08:05 -04:00
ayn2op
df7e3d0220
build(deps): upgrade tview to latest
2026-04-13 13:12:53 -04:00
ayn2op
5917a460d3
feat(ui/login): switch to tabs for token and qr login methods
2026-03-10 18:05:36 -04:00
ayn2op
41a6833b81
refactor(ui): use event-driven startup and logout
2026-03-04 00:25:33 -05:00
ayn2op
aa6845949f
refactor: set terminal title when InitEvent arrives
2026-03-03 22:55:46 -05:00
ayn2op
d215c48574
refactor(ui/root): wire startup through init event
2026-03-03 22:28:50 -05:00
ayn2op
63fef0b13e
build(deps): upgrade tview to latest
2026-02-24 20:24:13 -05:00
Ayyan
607b5486de
feat(cmd)!: remove token flag ( #704 )
2026-01-14 10:42:19 -05:00
ayn2op
c8790a63d1
refactor(cmd): replace cobra with stdlib flag
2025-12-31 16:09:12 -05:00
Ayyan
91ca816ea0
refactor: move app and chat UI out of cmd ( #680 )
2025-12-31 04:35:00 -05:00
ayn2op
9450fb124b
feat: add footer configuration support to message input and theme
2025-12-30 18:27:34 -05:00
ayn2op
552250a355
fix(cmd/application): prevent duplicate application Run() calls
...
Closes #679
2025-12-30 18:10:22 -05:00
Andrej Novikov
ed0dc8e553
feat(guilds_tree): support for forum channels ( #612 )
...
Co-authored-by: Ayyan <ayn2op@gmail.com>
2025-12-24 21:16:44 -05:00
ayn2op
99be800e98
refactor: replace tview application methods with direct screen initialization
...
- Replace EnableMouse, SetInputCapture, EnablePaste with direct screen setup
- Add explicit screen creation and initialization in run method
- Move mouse enablement, title setting, and focus/paste features to screen level
- Update SetRoot calls to remove fullscreen parameter
2025-12-24 19:49:54 -05:00
Vara Rahul Rajana
6f7381df9d
feat(config): add toggleable auto focus on channel select ( #671 )
...
Co-authored-by: Ayyan <ayn2op@gmail.com>
2025-12-21 20:00:20 -05:00
ayn2op
88c7a75222
fix(state): improve notification error logging
2025-12-21 18:50:28 -05:00
ayn2op
9d82a04727
refactor(http): set user agent on instance of api.Client instead of package-level global
2025-12-21 17:21:33 -05:00
ayn2op
f52b18cd76
fix(messages_list): check if a channel is selected before selection
2025-12-18 14:03:40 -05:00
ayn2op
252a42780f
perf(messages_list): preallocate slice capacity
2025-12-16 23:49:45 -05:00
ayn2op
0f8d561a23
perf(messages_list): optimize color conversion by eliminating string allocation
2025-12-16 22:53:34 -05:00
ayn2op
bed98bec76
refactor: improve variable naming for better readability
...
- Rename `cv` to `chatView` in chatview constructor
- Rename `bm` to `bitmap` in QR code rendering
- Rename `n` to `notification` in desktop notifications
- Rename `p` to `padding` in UI configuration
These changes make the code more self-documenting and easier to understand by using descriptive variable names instead of abbreviated ones.
2025-12-15 03:19:00 -05:00
ayn2op
9b83d85f7e
fix(messages_list): use consistent error message style
2025-12-15 02:57:26 -05:00
Ayyan
f4a092bc24
fix(message_input): prevent resource leak in send() method ( #662 )
2025-12-11 17:35:53 -05:00
Ayyan
07914616af
fix(messages_list): prevent panic on failed attachment download ( #660 )
2025-12-11 17:02:24 -05:00
xqrs
9a83762580
feat(clipboard): add wayland support ( #657 )
...
Signed-off-by: xqrs <3bd3bdr@gmail.com>
Co-authored-by: Ayyan <ayn2op@gmail.com>
2025-12-10 16:02:38 -05:00
ayn2op
b2a0e7f012
refactor(message_input): remove redundant return
2025-12-10 14:04:13 -05:00
ayn2op
2ab0b0ed9d
fix(chatview): remove redundant focus call in focusNext
2025-12-09 19:59:37 -05:00
Ayyan
cd592ae8ed
fix(chatview): conditionally focus message input for focus_previous and focus_next keys ( #658 )
2025-12-09 19:46:22 -05:00
Ayyan
d29de744fc
build: switch to tcell/v3 ( #655 )
2025-12-09 01:35:40 -05:00
xqrs
7e8af16e72
fix(message_input): add support for mentions list in (group) dms ( #649 )
...
Co-authored-by: Ayyan <ayn2op@gmail.com>
2025-12-09 01:34:41 -05:00
ayn2op
a935920936
fix(cmd): add err to log stmt for cmd.channelHasUser
2025-12-06 12:48:45 -05:00
ayn2op
845485595f
fix: allow empty text if message input has attachments
2025-11-30 16:19:59 -05:00
ayn2op
085fe6ddd6
feat(cmd): add accurate usage for token flag
2025-11-28 12:30:07 -05:00
ayn2op
ebd43423eb
refactor: inline SetRoot call
2025-11-28 12:27:51 -05:00
ayn2op
3d8a833644
fix: clear right *tview.Flex when layout is built
...
Closes #630
2025-11-26 22:24:50 -05:00
ayn2op
ac1436b4d4
refactor(cmd): move selected*ID fields to chatView struct
2025-11-24 14:58:14 -05:00
ayn2op
4142c30790
refactor(cmd): move page name consts to chatview.go
2025-11-23 21:41:46 -05:00
Ayyan
0499f5be6d
fix(cmd): do not fetch member for webhooks ( #629 )
2025-11-23 21:36:40 -05:00