Skip to content

Conversation

@stylebending
Copy link

@stylebending stylebending commented Jan 29, 2026

Summary

This PR adds a new clipboard widget to YASB, providing a searchable clipboard history with long text preview and support for both text and images.

Features

Built-in search bar.

Preview long text per history item by hovering over it.

Full support for copying and previewing images directly in the history list.

This is my first contribution of this size to a free and open-source project, so any feedback (code, structure, or UX) is very welcome 🙂

Tested with both text and image clipboard content on Windows 11.

@amnweb
Copy link
Owner

amnweb commented Jan 29, 2026

Isn't it better to use the official API to access Windows clipboard data in realtime? https://learn.microsoft.com/en-us/windows/win32/dataxchg/clipboard

@stylebending
Copy link
Author

Isn't it better to use the official API to access Windows clipboard data in realtime? https://learn.microsoft.com/en-us/windows/win32/dataxchg/clipboard

Thanks for the suggestion and the link! That makes sense, and I agree that using the official Windows clipboard API is the better approach for real-time access.

Would you prefer that I update this PR with the new approach, or close it and open a fresh one once the changes are ready?

@amnweb
Copy link
Owner

amnweb commented Jan 30, 2026

Would you prefer that I update this PR with the new approach, or close it and open a fresh one once the changes are ready?

As you wish, your choice.

@stylebending stylebending changed the title Add clipboard widget with history, pinning, search, and image support Add clipboard widget with history, search, and image support Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants