[PR #49] [MERGED] feat: clipboard improvements and editor settings persistence #67

Closed
opened 2026-03-03 15:57:37 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mrgoonie/winshot/pull/49
Author: @mrgoonie
Created: 12/24/2025
Status: Merged
Merged: 12/24/2025
Merged by: @mrgoonie

Base: devHead: goon


📝 Commits (5)

  • 1024bf0 fix(startup): resolve minimize to tray and autostart issues (#48)
  • 8b3e94a feat(notifications): add capture notifications and copy path button (#48)
  • fe09cce feat(clipboard): add Ctrl+V paste and JPEG quality export (#48)
  • c9700b6 feat(clipboard): add multi-format paste and drag-drop image import
  • e1e051d refactor(config): persist editor settings in Go backend

📊 Changes

20 files changed (+1996 additions, -242 deletions)

View changed files

📝 .gitignore (+2 -1)
.repomixignore (+22 -0)
CLAUDE.md (+46 -0)
📝 README.md (+45 -13)
📝 app.go (+16 -6)
app_test.go (+246 -0)
coverage.out (+693 -0)
docs-manager-251211-clipboard-capture.md (+0 -129)
📝 docs/codebase-summary.md (+193 -21)
📝 frontend/dist/index.html (+2 -2)
📝 frontend/src/App.tsx (+220 -52)
📝 frontend/src/components/export-toolbar.tsx (+21 -1)
📝 frontend/wailsjs/go/main/App.d.ts (+4 -0)
📝 frontend/wailsjs/go/main/App.js (+8 -0)
📝 frontend/wailsjs/go/models.ts (+25 -0)
📝 internal/config/config.go (+19 -0)
📝 internal/config/startup.go (+30 -8)
internal/config/startup_test.go (+209 -0)
📝 internal/screenshot/clipboard.go (+190 -8)
📝 main.go (+5 -1)

📄 Description

Summary

  • Add multi-format paste and drag-drop image import support
  • Add Ctrl+V clipboard paste and JPEG quality export settings
  • Add capture notifications with copy path button
  • Fix minimize to tray and autostart issues on Windows
  • Persist editor settings in Go backend config instead of localStorage

Changes

  • Clipboard: Support for PNG, JPEG, GIF, BMP, WebP import via paste/drag-drop
  • Export: JPEG quality slider (0-100) with persistence
  • Notifications: Toast notifications for screenshot captures
  • Config: Editor settings now stored in %APPDATA%\WinShot\config.json
  • Startup: Fixed autostart registry handling and minimize to tray behavior

Test plan

  • Test Ctrl+V paste with various image formats
  • Test drag-drop image import
  • Verify JPEG quality slider saves and persists
  • Verify editor settings persist across app restarts
  • Test minimize to tray and autostart options

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mrgoonie/winshot/pull/49 **Author:** [@mrgoonie](https://github.com/mrgoonie) **Created:** 12/24/2025 **Status:** ✅ Merged **Merged:** 12/24/2025 **Merged by:** [@mrgoonie](https://github.com/mrgoonie) **Base:** `dev` ← **Head:** `goon` --- ### 📝 Commits (5) - [`1024bf0`](https://github.com/mrgoonie/winshot/commit/1024bf07001111a7171cbaaf61f4be49876ec057) fix(startup): resolve minimize to tray and autostart issues (#48) - [`8b3e94a`](https://github.com/mrgoonie/winshot/commit/8b3e94a4eb9d88909c612f9708cfcc28f464065c) feat(notifications): add capture notifications and copy path button (#48) - [`fe09cce`](https://github.com/mrgoonie/winshot/commit/fe09cce30ca37f92134e193ce3b235624e405558) feat(clipboard): add Ctrl+V paste and JPEG quality export (#48) - [`c9700b6`](https://github.com/mrgoonie/winshot/commit/c9700b6dd155c2eaf91f3f43aa576c0beb1cc384) feat(clipboard): add multi-format paste and drag-drop image import - [`e1e051d`](https://github.com/mrgoonie/winshot/commit/e1e051d7a4e0da77ae6c47fc3709511d3522cce8) refactor(config): persist editor settings in Go backend ### 📊 Changes **20 files changed** (+1996 additions, -242 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+2 -1) ➕ `.repomixignore` (+22 -0) ➕ `CLAUDE.md` (+46 -0) 📝 `README.md` (+45 -13) 📝 `app.go` (+16 -6) ➕ `app_test.go` (+246 -0) ➕ `coverage.out` (+693 -0) ➖ `docs-manager-251211-clipboard-capture.md` (+0 -129) 📝 `docs/codebase-summary.md` (+193 -21) 📝 `frontend/dist/index.html` (+2 -2) 📝 `frontend/src/App.tsx` (+220 -52) 📝 `frontend/src/components/export-toolbar.tsx` (+21 -1) 📝 `frontend/wailsjs/go/main/App.d.ts` (+4 -0) 📝 `frontend/wailsjs/go/main/App.js` (+8 -0) 📝 `frontend/wailsjs/go/models.ts` (+25 -0) 📝 `internal/config/config.go` (+19 -0) 📝 `internal/config/startup.go` (+30 -8) ➕ `internal/config/startup_test.go` (+209 -0) 📝 `internal/screenshot/clipboard.go` (+190 -8) 📝 `main.go` (+5 -1) </details> ### 📄 Description ## Summary - Add multi-format paste and drag-drop image import support - Add Ctrl+V clipboard paste and JPEG quality export settings - Add capture notifications with copy path button - Fix minimize to tray and autostart issues on Windows - Persist editor settings in Go backend config instead of localStorage ## Changes - **Clipboard**: Support for PNG, JPEG, GIF, BMP, WebP import via paste/drag-drop - **Export**: JPEG quality slider (0-100) with persistence - **Notifications**: Toast notifications for screenshot captures - **Config**: Editor settings now stored in `%APPDATA%\WinShot\config.json` - **Startup**: Fixed autostart registry handling and minimize to tray behavior ## Test plan - [ ] Test Ctrl+V paste with various image formats - [ ] Test drag-drop image import - [ ] Verify JPEG quality slider saves and persists - [ ] Verify editor settings persist across app restarts - [ ] Test minimize to tray and autostart options --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 15:57:37 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/winshot#67
No description provided.