AOSSIE-Org / AOSSIE-Org/PictoPy

Feat: Add toggle button to collapse sidebar and give more space for photos

未關閉
#942 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement UI
主要語言
Python
星號
283
分支
679
平均合併
7 天 2 小時
30 天內合併 PR
3

描述

### Describe the feature

**The Issue:**
Right now, the sidebar is always visible, which takes up screen space that could be used to show more photos — especially on smaller screens or in fullscreen mode.

**Suggestion**
Add a collapse/expand toggle button (like the chevron in Notion or VS Code) at the top of the sidebar so users can:

**Hide the sidebar to see more images at once**
- Keep it accessible via icons + hover tooltips when collapsed
- Have their preference saved between app restarts

**Why it’s a good fit**
> Better gallery experience: More space = bigger thumbnails, less scrolling
Low effort: Uses existing tools (Lucide icons, Radix tooltips, Tauri store)
No breaking changes: Pure frontend tweak (~50 lines)
**User control:** People can choose what works for their screen
This is a small change with a noticeable improvement in daily use. Would you be open to this? I’d be happy to raise a PR!

Image

### Add ScreenShots

https://github.com/user-attachments/assets/42792131-a33e-4b66-9566-9103805526a0

### Record

- [x] I agree to follow this project's Code of Conduct
- [x] I want to work on this issue

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。