Commit graph

47 commits

Author SHA1 Message Date
ayn2op
552250a355 fix(cmd/application): prevent duplicate application Run() calls
Closes #679
2025-12-30 18:10:22 -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
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
Ayyan
d29de744fc
build: switch to tcell/v3 (#655) 2025-12-09 01:35:40 -05:00
ayn2op
ebd43423eb refactor: inline SetRoot call 2025-11-28 12:27:51 -05:00
ayn2op
4142c30790 refactor(cmd): move page name consts to chatview.go 2025-11-23 21:41:46 -05:00
ayn2op
586b68315b refactor: relocate tview theme initialization to newApplication and remove unused import 2025-11-23 14:15:07 -05:00
ayn2op
01cb4c043b refactor(cmd): idk 2025-11-23 14:11:18 -05:00
ayn2op
b3ac0dc6b4 refactor(cmd): separate chat UI widgets from application 2025-11-23 14:03:34 -05:00
ayn2op
ea7f2cf7b2 Reapply "fix(cmd): initialize clipboard in newApplication func (#625)"
This reverts commit 97b2249608.
2025-11-22 13:43:15 -05:00
ayn2op
db9e64fc50 Revert "feat: show error modal on errors (#621)"
This reverts commit dfaaf10818.
2025-11-22 13:38:39 -05:00
ayn2op
97b2249608 Revert "fix(cmd): initialize clipboard in newApplication func (#625)"
This reverts commit f2819e86d3.
2025-11-22 13:38:36 -05:00
Ayyan
f2819e86d3
fix(cmd): initialize clipboard in newApplication func (#625) 2025-11-22 03:26:23 +03:00
xqrs
dfaaf10818
feat: show error modal on errors (#621)
Co-authored-by: ossenthusiast <ossenthusiast@proton.me>
2025-11-22 01:47:26 +03:00
ayn2op
662539b063 refactor(lint): inconsistent handling of return value 2025-11-11 22:48:39 -05:00
ayn2op
ed6f5fc359 refactor: add (*application).focusMessageInput func 2025-11-10 16:35:52 -05:00
xqrs
18e0378955
feat: add placeholder text for message input widget (#618) 2025-11-10 11:45:57 -05:00
xqrs
924658f0c7
feat: enable bracketed paste (EnablePaste) (#616) 2025-11-08 22:44:31 -05:00
ayn2op
45003fca41 refactor(keyring): new package 2025-11-06 21:10:22 -05:00
ayn2op
a6ccb23af7 refactor(cmd): modularize focus handling 2025-11-06 10:15:22 -05:00
Théotime Marcopoulos
2af722b283
feat(config): add keybinds to cycle focus between widgets (#613)
Co-authored-by: Ayyan <ayn2op@gmail.com>
2025-11-06 09:55:12 -05:00
ayn2op
81e4924c22 fix(cmd): set input capture on (*application).Pages instead 2025-10-19 20:57:39 -04:00
Z1xus
b738593590
feat(login): add login with qr code (#608)
Co-authored-by: Ayyan <ayn2op@gmail.com>
2025-10-15 17:15:08 -04:00
ayn2op
625cbedb3d refactor: use upstream (*tview.Pages).Clear instead 2025-09-28 22:33:51 -04:00
ayn2op
5cecfddae7 fix: set proportion width and height for confirm modal 2025-09-26 22:38:59 -04:00
Dmytro Maistruk
a2f16a4d72
feat: add confirmation modal for delete action (#575) (#605)
Co-authored-by: Ayyan <ayn2op@gmail.com>
2025-09-26 21:38:57 -04:00
ayn2op
7e32bbe7d5 fix(cmd): focus guilds tree only if numbers of items in flex == 2 2025-08-21 18:33:15 -04:00
ayn2op
3d493839d8 cmd: move into a new method 2025-07-11 15:58:26 -04:00
ayn2op
a58ee99917 Squash merge commands into main 2025-06-25 20:59:59 -04:00
ayn2op
a72f606833 refactor(cmd): fix common lint issues 2025-06-19 13:29:43 -04:00
ayn2op
6aeccfb500 refactor(cmd): remove (*application).show and inline it in Run 2025-06-19 13:23:11 -04:00
ayn2op
ba458ca972 refactor(cmd): add/remove mentions list page instead 2025-06-18 19:12:09 -04:00
ayn2op
4a77d7cbd5 build: upgrade tview to latest 2025-06-18 18:56:03 -04:00
ayn2op
84a85d6382 fix(cmd): close session on logout keypress 2025-06-17 11:52:11 -04:00
ayn2op
2947fd2411 build: upgrade deps to latest 2025-06-15 17:39:26 -04:00
xqrs
b7e095a50b
feat: add mention support (#555)
Co-authored-by: ayn2op <ayn2op@gmail.com>
2025-06-15 17:19:13 -04:00
ayn2op
20fb3255f1 refactor(login): remove unused param 2025-06-11 13:40:22 -04:00
ayn2op
c010107e05 refactor(cmd): rename receiver identifier to first single letter of the struct name 2025-06-10 15:17:53 -04:00
ayn2op
f5e15ce77a refactor(cmd): fix linter issues 2025-06-09 18:14:42 -04:00
ayn2op
2ed771ba6e refactor(cmd): do not pass *tview.Application as arg to widgets 2025-06-09 17:38:48 -04:00
ayn2op
06068a1c0f build: replace rivo/tview with ayn2op/tview 2025-06-03 13:24:25 -04:00
ayn2op
e976dc6537 refactor: unexport local symbols 2025-06-01 22:51:30 -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
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
ayn2op
5a01e54627 refactor: create app.go 2024-09-20 01:26:38 +05:30