Commit Graph
70 Commits
Author SHA1 Message Date
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 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 5ea6cdb34f chore: prepare for rc version (#34)
**TODOs:**

- [x] Fix all clippy issues
- [x] Make NIP-4e optional (disabled by default)
- [x] Remove support for bunker (Nostr Connect)
- [x] Group messages in the same timeframe
- [ ] ...

Reviewed-on: https://git.reya.su/reya/coop/pulls/34
2026-06-19 09:16:37 +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
reya 5d4c8634ef chore: update gpui 2026-06-01 15:28:49 +07:00
Ren Amamiya 1d57a2deab chore: bump edition from 2021 to 2024 2026-03-13 09:13:04 +07:00
reya 971a82df1b add backup panel
Rust / build (ubuntu-latest, stable) (push) Failing after 1m47s
Rust / build (ubuntu-latest, stable) (pull_request) Failing after 1m52s
Rust / build (macos-latest, stable) (push) Has been cancelled
Rust / build (windows-latest, stable) (push) Has been cancelled
Rust / build (macos-latest, stable) (pull_request) Has been cancelled
Rust / build (windows-latest, stable) (pull_request) Has been cancelled
2026-02-25 09:11:23 +07:00
reya b88955e62c merged previous stuffs on master 2026-02-20 19:48:03 +07:00
reya 014757cfc9 chore: update gpui 2026-01-14 15:00:52 +07:00
reya 75c3783522 feat: rewrite the nip-4e implementation (#1)
Make NIP-4e a core feature, not an optional feature.

Note:
- The UI is broken and needs to be updated in a separate PR.

Reviewed-on: https://git.reya.su/reya/coop/pulls/1
2026-01-13 16:00:08 +08:00
reya e9e662dccc chore: update deps 2025-12-23 10:10:50 +07:00
reyaandGitHub 6023063cf4 feat: revamp the onboarding process (#205)
* redesign

* restructure

* .

* .

* .

* .

* .
2025-11-17 15:10:14 +07:00
reya 67c92cb319 chore: update deps 2025-11-15 14:51:16 +07:00
reya de5134676d chore: update deps 2025-11-11 09:25:46 +07:00
reyaandGitHub 512834b640 chore: rewrite the backend (not tested) (#203)
* wip: refactor

* refactor

* clean up

* .

* rename

* add relay auth

* .

* .

* optimize

* .

* clean up

* add encryption crate

* .

* .

* .

* .

* .

* add encryption crate

* .

* refactor nip4e

* .

* fix endless loop

* fix metadata fetching
2025-11-11 09:09:33 +07:00
reyaandGitHub 9da624dd0c feat: nostr based auto updater (#200)
* .

* refactor

* fix

* .

* clean up

* clean up
2025-11-02 08:22:55 +07: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 6017eebaed chore: update gpui & components 2025-10-27 08:20:37 +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 4164651342 chore: refactor the compose modal (#156)
* .

* update

* clean up
2025-09-18 08:39:24 +07:00
reyaandGitHub b19bb01003 feat: support triple-click to select entire line 2025-08-25 12:37:20 +07:00
reyaandGitHub 3cf9dde882 chore: Improve Request Screening (#101)
* open chat while screening

* close panel on ignore

* bypass screening

* .

* improve settings

* refine modal

* .

* .

* .

* .

* .
2025-07-27 07:22:31 +07:00
reyaandGitHub a631dd90d2 feat: screening (#96)
* .

* .

* refactor

* .

* screening

* add report user function

* add danger and warning styles

* update deps

* update

* fix line height

* .
2025-07-23 12:45:01 +07:00
reyaandGitHub 00b40db82c chore: improve text input (#94)
* update history

* hide cursor & selection when window is deactivated - gpui-component

* .

* update input to catch up with gpui-component

* adjust history
2025-07-18 09:25:55 +07:00
reyaandGitHub 2e3a4b3634 chore: improve search (#83)
* .

* .

* wip: add nip05 search

* add nip05 search

* .

* support cancel search

* .
2025-07-10 09:03:54 +07:00
reya 122dbaf693 chore: add document for actions 2025-07-05 08:33:40 +07:00
reya f9bf29df09 chore: fix copy/paste on linux 2025-07-02 15:53:52 +07:00
reya abb1474300 chore: update gpui and nostr-sdk 2025-06-30 08:35:48 +07:00
reya 3c2eaabab2 chore: update gpui and nostr sdk 2025-06-25 20:00:05 +07:00
reya 5f5bb33654 chore: update gpui components 2025-06-17 14:50:46 +07:00
reyaandGitHub e687204361 chore: refactor the global state and improve signer (#56)
* refactor

* update

* .

* rustfmt

* .

* .

* .

* .

* .

* add document

* .

* add logout

* handle error

* chore: update gpui

* adjust timeout
2025-06-07 14:52:21 +07:00
reyaandGitHub 7cc512331b press the down key to move to the end of the line (#52) 2025-05-30 12:14:51 +07:00
reya 63191c16bd chore: use primary clipboard when pasting (linux only) 2025-05-30 07:39:30 +07:00
reyaandGitHub a674ac898a feat: Middle Click (#51)
* paste on middle click

* middle click to close tab

* middle click to reply
2025-05-29 17:24:51 +07:00
reya 92d862e1fa chore: update gpui 2025-05-27 07:44:17 +07:00
reya b0a6b73801 chore: update text input 2025-05-21 18:48:00 +07:00
reya ba42bafc3a chore: fix input auto-grow height 2025-05-19 07:25:39 +07:00
reyaandGitHub 443dbc82a6 chore: Improve Chat Performance (#35)
* refactor

* optimistically update message list

* fix

* update

* handle duplicate messages

* update ui

* refactor input

* update multi line input

* clean up
2025-05-18 15:35:33 +07:00
reyaandGitHub 4f066b7c00 feat: Improve Blink Cursor (#34)
* add cursor color to theme

* adjust
2025-05-13 13:26:02 +07:00
reyaandGitHub 4e24061817 feat: Redesign New Chat (#31)
* make subject is optional

* redesign

* search

* fix

* adjust
2025-05-12 20:46:01 +07:00
reya 2f83b5091e chore: revamp theme 2025-05-07 14:12:31 +07:00
reyaandGitHub a30f2dcc8a refactor ui (#17)
* wip: redesign sidebar

* wip: adjust dpi

* update

* update

* refactor modal

* fix modal
2025-04-18 13:43:07 +07:00
reya 42d6328d82 chore: update gpui 2025-03-25 20:53:22 +07:00