[PR #80] [MERGED] feat(library): add screenshot history library with tray integration #86

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

📋 Pull Request Information

Original PR: https://github.com/mrgoonie/winshot/pull/80
Author: @leotrinh
Created: 1/12/2026
Status: Merged
Merged: 1/25/2026
Merged by: @mrgoonie

Base: devHead: feature/capture-history


📝 Commits (2)

  • ed0ac37 feat(library): add screenshot history library with tray integration
  • 4c4aa5a Merge branch 'dev' into feature/capture-history

📊 Changes

19 files changed (+1130 additions, -18 deletions)

View changed files

📝 app.go (+115 -0)
📝 docs/codebase-summary.md (+149 -5)
📝 docs/project-overview-pdr.md (+20 -0)
📝 docs/system-architecture.md (+125 -1)
📝 frontend/dist/index.html (+2 -2)
📝 frontend/package.json.md5 (+1 -1)
📝 frontend/src/App.tsx (+66 -1)
📝 frontend/src/components/export-toolbar.tsx (+16 -1)
frontend/src/components/library-window.tsx (+336 -0)
📝 frontend/src/types/index.ts (+10 -0)
📝 frontend/wailsjs/go/main/App.d.ts (+7 -0)
📝 frontend/wailsjs/go/main/App.js (+12 -0)
📝 frontend/wailsjs/go/models.ts (+27 -0)
📝 frontend/wailsjs/runtime/runtime.js (+4 -0)
📝 go.mod (+2 -2)
📝 go.sum (+4 -4)
internal/library/library.go (+134 -0)
internal/library/thumbnail.go (+92 -0)
📝 internal/tray/tray.go (+8 -1)

📄 Description

  • Add internal/library package for folder scanning and thumbnail generation
  • Add LibraryWindow component with grid view, keyboard nav, and actions
  • Add tray icon left-click to open library (MenuLibrary = 1007)
  • Add Library button to export toolbar between Quick Save and Cloud
  • Add GetLibraryImages, OpenInEditor, DeleteScreenshot methods to app.go
  • Use CatmullRom scaling for high-quality 150px thumbnails
  • Support PNG/JPEG files with date-descending sort
  • Update documentation with library architecture and data flows
    Modal Libary when click to tray icon
    image
    Main screen with Libary button
    image

🔄 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/80 **Author:** [@leotrinh](https://github.com/leotrinh) **Created:** 1/12/2026 **Status:** ✅ Merged **Merged:** 1/25/2026 **Merged by:** [@mrgoonie](https://github.com/mrgoonie) **Base:** `dev` ← **Head:** `feature/capture-history` --- ### 📝 Commits (2) - [`ed0ac37`](https://github.com/mrgoonie/winshot/commit/ed0ac37d5dedaefa060c6c000ff1ed8b92c926ec) feat(library): add screenshot history library with tray integration - [`4c4aa5a`](https://github.com/mrgoonie/winshot/commit/4c4aa5adbe96e8d53a8f7416270afa0f577b8c90) Merge branch 'dev' into feature/capture-history ### 📊 Changes **19 files changed** (+1130 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `app.go` (+115 -0) 📝 `docs/codebase-summary.md` (+149 -5) 📝 `docs/project-overview-pdr.md` (+20 -0) 📝 `docs/system-architecture.md` (+125 -1) 📝 `frontend/dist/index.html` (+2 -2) 📝 `frontend/package.json.md5` (+1 -1) 📝 `frontend/src/App.tsx` (+66 -1) 📝 `frontend/src/components/export-toolbar.tsx` (+16 -1) ➕ `frontend/src/components/library-window.tsx` (+336 -0) 📝 `frontend/src/types/index.ts` (+10 -0) 📝 `frontend/wailsjs/go/main/App.d.ts` (+7 -0) 📝 `frontend/wailsjs/go/main/App.js` (+12 -0) 📝 `frontend/wailsjs/go/models.ts` (+27 -0) 📝 `frontend/wailsjs/runtime/runtime.js` (+4 -0) 📝 `go.mod` (+2 -2) 📝 `go.sum` (+4 -4) ➕ `internal/library/library.go` (+134 -0) ➕ `internal/library/thumbnail.go` (+92 -0) 📝 `internal/tray/tray.go` (+8 -1) </details> ### 📄 Description - Add internal/library package for folder scanning and thumbnail generation - Add LibraryWindow component with grid view, keyboard nav, and actions - Add tray icon left-click to open library (MenuLibrary = 1007) - Add Library button to export toolbar between Quick Save and Cloud - Add GetLibraryImages, OpenInEditor, DeleteScreenshot methods to app.go - Use CatmullRom scaling for high-quality 150px thumbnails - Support PNG/JPEG files with date-descending sort - Update documentation with library architecture and data flows Modal Libary when click to tray icon <img width="1200" height="800" alt="image" src="https://github.com/user-attachments/assets/3fdda178-2560-4168-862e-e07dc174b305" /> Main screen with Libary button <img width="1200" height="800" alt="image" src="https://github.com/user-attachments/assets/56af28c6-acc1-4e1f-ba0b-ebf6442edb04" /> --- <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:41 +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#86
No description provided.