Add clipboard-∞ tray icon, fix tray click, and Settings gear.
CI / skip-ci-check (pull_request) Successful in 4s
CI / secret-scan (pull_request) Successful in 3s
CI / node-ci (pull_request) Successful in 22s

Ship a macOS template menu-bar glyph, only toggle on left mouse-down so
press/release no longer opens-then-closes, and put Settings next to Search
so it is reachable without the tray menu.
This commit is contained in:
2026-09-04 22:04:37 -04:00
parent 49e8f299d2
commit d8090b251c
33 changed files with 312 additions and 39 deletions
+8 -4
View File
@@ -21,8 +21,9 @@ Current version: see [CHANGELOG.md](../CHANGELOG.md). Feature backlog:
3. macOS will prompt for **Accessibility** permission the first time you
try to paste — this is required for auto-paste (`Cmd+V` simulation).
System Settings → Privacy & Security → Accessibility → enable maCopy.
4. Look for the maCopy icon in the menu bar (top-right). No Dock icon —
that's expected, it's a menu-bar-only app.
4. Look for the maCopy icon in the menu bar (top-right) — a clipboard
with an infinity mark. No Dock icon — that's expected, it's a
menu-bar-only app.
### Option B — build it yourself
@@ -42,9 +43,10 @@ login** to stick across rebuilds (see step 4 below).
### First-run checklist
- [ ] App icon visible in the menu bar
- [ ] App icon visible in the menu bar (clipboard + ∞)
- [ ] Accessibility permission granted (Settings → Privacy & Security → Accessibility)
- [ ] Global hotkey `` Ctrl+` `` opens/closes the picker
- [ ] Gear next to Search opens the Settings panel
- [ ] (Optional) Settings → **Launch at login** turned on
---
@@ -103,7 +105,9 @@ On macOS, **Control+click** opens the context menu (same as right-click). Use **
### Settings panel
Menu bar icon → **Settings…**
Gear button next to Search in the picker, or menu-bar icon → **Settings…**
(Control-click on the tray icon opens the picker, not Settings — use
two-finger / right-click, or the gear.)
| Setting | What it does |
|---|---|
+2 -1
View File
@@ -11,7 +11,8 @@ maCopy can register itself as a macOS **Login Item** so it starts when you log i
open src-tauri/target/release/bundle/macos/maCopy.app
```
2. Menu bar tray → **Settings…** → turn on **Launch at login**.
2. Open Settings (gear next to Search in the picker, or tray menu →
**Settings…**) → turn on **Launch at login**.
3. Confirm in System Settings → **General** → **Login Items & Extensions** → maCopy is listed.
+1 -1
View File
@@ -41,7 +41,7 @@ Checklist beyond “it works on my machine.” Items marked done are already in-
| Area | Idea |
|---|---|
| Updates | Sparkle or Tauri updater + signed feeds |
| Branding | Final icon, dmg background, website one-pager |
| Branding | dmg background, website one-pager (tray + app icon: clipboard + ∞) |
| Privacy | Short privacy policy (local-only DB; no telemetry) |
| Support | Issue templates, FAQ (hotkey conflict with cycle-windows) |
| Onboarding | Empty-state tips; `` Ctrl+` `` callout |
+1 -1
View File
@@ -26,7 +26,7 @@ Current counts (approx.): **~72 frontend** + **~67 Rust** unit tests.
- ClipboardList: selection, multi-select modifiers, image stubs/thumbs (including truncated thumb previews), Alt=plain paste
- ContextMenu: Paste / Paste plain / transforms / Pin / Delete
- SettingsPanel: toggles, history limit, hotkey recorder, **Launch at login → autostart enable**
- SearchBar basics
- SearchBar basics + Settings gear
- Transforms: plain text strip, JSON pretty, collapse / oneline
Tauri APIs are mocked in `src/test/setup.ts` (invoke, window, events, clipboard, autostart).