Commit Graph
41 Commits
Author SHA1 Message Date
reya d0ad1a6f57 migrate ui components to gpui-kit 2026-10-21 13:40:29 +07:00
reya 4b6f4b3797 chore: refactor middle-click paste 2026-10-10 08:10:57 +07:00
reya 602a91b4f0 feat: add new theme (#61)
Reviewed-on: #61
2026-10-10 00:30:42 +00:00
vbmithrandreya 4ef764984b feat: support middle-click paste in text fields (#60)
Selecting an nsec in another Linux application and middle-clicking Coop's identity import field currently does nothing. The shared input widget handles left and right clicks but never reads the primary selection for a middle click.

Add middle-click paste from PRIMARY on Linux and FreeBSD, inserting at the nearest visible caret to the click. Read the selection before changing focus, preserve disabled/read-only inputs, strip line breaks in single-line fields, and use the input state's atomic insertion path so Undo removes the paste. Also register Shift+Insert for standard clipboard paste on non-macOS platforms. The existing right-click editing menu and Ctrl+V/Cmd+V remain available.

Document the gestures in the README. Enable GPUI test support for the UI crate; the lockfile additions are its test dependencies.

Validation:

- `cargo check -p ui --locked`
- `cargo test -p ui --lib --locked` — all five tests pass, including empty-field paste, Unicode caret placement, primary/clipboard separation, Undo, and disabled/read-only protection
- `git -c core.whitespace=cr-at-eol diff --check` (preserves the existing CRLF Cargo manifest)

Validated with GPUI's simulated input and clipboard platform; no live X11/Wayland compositor test was performed.

Release Notes:

- Fixed middle-click paste in Linux text fields, including identity import, and added Shift+Insert clipboard paste.

Reviewed-on: #60
Co-authored-by: Vincent Bernardoff <vb@luminar.eu.org>
2026-10-10 00:28:07 +00:00
reya 33785f183d chore: bump gpui-pre to 0.3.8 and clean up unused code 2026-10-06 21:04:20 +07:00
reya e14b815404 chore: replace custom markdown rendering with gpui TextView 2026-10-03 20:41:09 +07:00
reya e4e13b0889 feat: redesign the sidebar and workspace (#53)
Reviewed-on: #53
2026-09-25 02:26:31 +00:00
reya 0c1c23fe9c chore: migrate to gpui-base (#51)
Reviewed-on: #51
2026-09-17 11:50:14 +00:00
reya 6d9284b37a chore: improve web support (#36)
Reviewed-on: https://git.reya.su/reya/coop/pulls/36
2026-07-30 08:47:30 +00:00
reya b518c729f6 feat: add initial support web via wasm (#35)
Reviewed-on: https://git.reya.su/reya/coop/pulls/35
2026-07-25 03:43:51 +00:00
reya c78e0a5163 fix: chat input crashing when moving the cursor (#33)
Reviewed-on: https://git.reya.su/reya/coop/pulls/33
2026-06-03 13:18:03 +00:00
reyaandGitHub 7091fa1cab chore: restructure and refine the ui (#199)
* update deps

* clean up

* add account crate

* add person crate

* add chat and chat ui crates

* .

* clean up the ui crate

* .

* .
2025-11-01 09:16:02 +07:00
reya 32a0401907 chore: simplify codebase 2025-10-17 08:51:34 +07:00
reya b7693444e6 chore: update deps 2025-10-07 14:45:44 +07:00
reyaandGitHub 61cad5dd96 chore: refactor the input component (#165)
* refactor the input component

* fix clippy

* clean up
2025-09-25 08:03:14 +07:00
reyaandGitHub 8195eedaf6 chore: improve render message (#84)
* .

* refactor upload button

* refactor

* dispatch action on mention clicked

* add profile modal

* .

* .

* .

* improve rich_text

* improve handle url

* make registry simpler

* refactor

* .

* clean up
2025-07-16 14:37:26 +07:00
reyaandGitHub c1d5c7e719 feat: add support for multi languages (#79)
* update backup settings description

* add rust-i18n

* translate

* .

* update translations

* fix

* update translate

* .
2025-07-04 14:57:22 +07:00
reya 2f83b5091e chore: revamp theme 2025-05-07 14:12:31 +07:00
reyaandGitHub 107fedeafd feat: Emoji Picker (#18)
* wip: emoji picker

* update
2025-04-26 08:39:52 +07:00
reyaandGitHub b667dd3f1c feat: Nostr Auto Updater (#16)
* clean up

* fix version

* add auto updater

* add windows
2025-04-12 12:33:30 +07:00
reyaandGitHub 3246abace1 refactor chats (#15)
* refactor

* update

* update

* update

* remove nostrprofile struct

* update

* refactor contacts

* prevent double login
2025-04-10 08:10:53 +07:00
reyaandGitHub cfc2300c0c feat: Rich Text Rendering (#13)
* add text

* fix avatar is not show

* refactor chats

* improve rich text

* add benchmark for text

* update
2025-03-28 09:49:07 +07:00
reya 42d6328d82 chore: update gpui 2025-03-25 20:53:22 +07:00
reya ab7664c872 chore: fix versioning 2025-02-14 07:46:40 +07:00
reya c982c802e2 fix: clippy issues 2025-02-01 15:32:53 +07:00
reya b119722392 feat: show facepill on tabpanel 2025-01-16 08:49:24 +07:00
reya 8be41c9bfa wip: refactor 2025-01-13 13:58:24 +07:00
reya d53e75b775 wip: refactor 2025-01-02 08:34:10 +07:00
reya 2ddd2d3b17 wip: refactor 2024-12-27 09:56:56 +07:00
reya 1ffaefd729 chore: clean up 2024-12-20 10:53:45 +07:00
reya 516eb0e8bc move gpui-components to ui crate 2024-12-10 09:40:27 +07:00
reya 187d0078f9 wip: refactor 2024-12-07 15:08:47 +07:00
reya 03b8004304 wip: refactor 2024-12-01 08:56:53 +07:00
reya f82b415c36 wip: dock 2024-11-26 14:51:35 +07:00
reya db7e28a78a refactor app state 2024-11-24 15:17:35 +07:00
reya 17e7766401 wip: sidebar 2024-11-23 14:43:16 +07:00
reya f448508b31 feat: add bottom bar 2024-11-22 14:09:20 +07:00
reya 8bf497bdc7 feat: support assets 2024-11-21 09:07:24 +07:00
reya 126506522d feat: save user key to keyring 2024-11-21 09:03:48 +07:00
reya c60a37a245 wip: startup flow 2024-11-21 08:43:42 +07:00
reya 4d8a1d44cc initial commit 2024-11-19 08:23:43 +07:00