[PR #50] [CLOSED] feat: release v1.2.1 - clipboard improvements and config persistence #68

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/50
Author: @mrgoonie
Created: 12/24/2025
Status: Closed

Base: mainHead: 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

Release v1.2.1 with clipboard improvements, capture notifications, and persistent configuration.

New Features

Clipboard & Import

  • Multi-format paste: Ctrl+V supports PNG, JPEG, GIF, BMP, WebP
  • Drag & drop: Import images by dragging files into the app
  • Clipboard capture: Paste images directly from clipboard

Export Enhancements

  • JPEG quality slider: Configurable compression (0-100)
  • Auto-copy to clipboard: Option to auto-copy after capture

Notifications

  • Capture notifications: Toast notifications when screenshots are saved
  • Copy path button: Quick copy file path to clipboard

Configuration Persistence

  • Editor settings: Padding, corner radius, shadow, background now stored in %APPDATA%\WinShot\config.json
  • Survives updates: Settings persist across app updates (no longer in localStorage)

Bug Fixes

  • Fixed minimize to tray on startup
  • Fixed autostart registry handling on Windows
  • Improved window state tracking during captures

Test Plan

  • Beta tested via 1.2.0-beta.2 through 1.2.0-beta.6
  • Verify clipboard paste with multiple image formats
  • Verify drag-drop import functionality
  • Confirm JPEG quality persists across restarts
  • Confirm editor settings persist after app update

🔄 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/50 **Author:** [@mrgoonie](https://github.com/mrgoonie) **Created:** 12/24/2025 **Status:** ❌ Closed **Base:** `main` ← **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 Release v1.2.1 with clipboard improvements, capture notifications, and persistent configuration. ## New Features ### Clipboard & Import - **Multi-format paste**: Ctrl+V supports PNG, JPEG, GIF, BMP, WebP - **Drag & drop**: Import images by dragging files into the app - **Clipboard capture**: Paste images directly from clipboard ### Export Enhancements - **JPEG quality slider**: Configurable compression (0-100) - **Auto-copy to clipboard**: Option to auto-copy after capture ### Notifications - **Capture notifications**: Toast notifications when screenshots are saved - **Copy path button**: Quick copy file path to clipboard ### Configuration Persistence - **Editor settings**: Padding, corner radius, shadow, background now stored in `%APPDATA%\WinShot\config.json` - **Survives updates**: Settings persist across app updates (no longer in localStorage) ## Bug Fixes - Fixed minimize to tray on startup - Fixed autostart registry handling on Windows - Improved window state tracking during captures ## Test Plan - [x] Beta tested via 1.2.0-beta.2 through 1.2.0-beta.6 - [x] Verify clipboard paste with multiple image formats - [x] Verify drag-drop import functionality - [x] Confirm JPEG quality persists across restarts - [x] Confirm editor settings persist after app update --- <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#68
No description provided.