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 摘要。