Skip to content

Commit e4cb465

Browse files
committed
chore: refine sidebar affordances and finalize 0.3.2 i18n
- Redesign sidebar collapse button to a vertical capsule that appears on hover - Show drag handle and more actions only for the selected folder - Complete i18n for new FolderModal dialogs/toasts across all languages (ja/es/de/fr) - Add clear search button to TopBar (closes #20) - Update version to 0.3.2 in README and package.json - Add CollapsibleThinking component and useSmoothStream hook
1 parent 9ce6dd0 commit e4cb465

30 files changed

Lines changed: 2299 additions & 879 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ out/
3030
.cursor/
3131
*.swp
3232
*.swo
33+
.windsurfrules
3334

3435
# OS
3536
.DS_Store

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
---
1010

11+
## [0.3.2] - 2025-12-22
12+
13+
### 优化 / Changed
14+
- 🔍 **搜索展示优化**:优化搜索结果展示逻辑,提升搜索体验
15+
- **Search Display Optimization**: Improved search results display logic for better user experience
16+
- 🎨 **文件夹图标扩展**:文件夹图标选择器新增 60+ Lucide 图标,支持 Emoji/Icon 双模式切换
17+
- **Folder Icon Expansion**: Added 60+ Lucide icons with Emoji/Icon mode switcher
18+
- 📂 **侧边栏布局优化**:文件夹少时标签紧跟文件夹,文件夹多时标签固定底部,滚动条隐藏
19+
- **Sidebar Layout Optimization**: Tags follow folders when few, fixed at bottom when many, hidden scrollbar
20+
- 🗑️ **删除文件夹确认**:删除包含 Prompt 的文件夹时,弹出自定义确认对话框,支持仅删除文件夹或删除所有内容
21+
- **Folder Deletion Confirmation**: Custom dialog when deleting folders with prompts, choose to keep or delete contents
22+
- ⚠️ **文件夹名称检测**:创建文件夹时检测重复名称,弹出确认对话框
23+
- **Duplicate Name Detection**: Warns when creating folders with existing names
24+
25+
---
26+
1127
## [0.3.1] - 2025-12-20
1228

1329
### 优化 / Changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
[![GitHub Forks](https://img.shields.io/github/forks/legeling/PromptHub?style=for-the-badge&logo=github)](https://github.com/legeling/PromptHub/network/members)
1515
[![Downloads](https://img.shields.io/github/downloads/legeling/PromptHub/total?style=for-the-badge&logo=github&color=blue)](https://github.com/legeling/PromptHub/releases)
1616

17-
[![Version](https://img.shields.io/badge/version-v0.3.1-success?style=for-the-badge)](https://github.com/legeling/PromptHub/releases)
17+
[![Version](https://img.shields.io/badge/version-v0.3.2-success?style=for-the-badge)](https://github.com/legeling/PromptHub/releases)
1818
[![License](https://img.shields.io/badge/license-AGPL--3.0-blue?style=for-the-badge)](./LICENSE)
1919
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen?style=for-the-badge)](https://github.com/legeling/PromptHub/pulls)
2020

@@ -271,7 +271,7 @@ PromptHub/
271271

272272
## 路线图
273273

274-
### v0.3.1 (当前)
274+
### v0.3.2 (当前)
275275
- [x] Prompt CRUD 管理
276276
- [x] 文件夹和标签系统
277277
- [x] 收藏功能
@@ -311,7 +311,7 @@ PromptHub/
311311

312312
查看完整的更新日志:**[CHANGELOG.md](./CHANGELOG.md)**
313313

314-
### 最新版本 v0.3.1 (2025-12-19)
314+
### 最新版本 v0.3.2 (2025-12-22)
315315

316316
**优化**
317317
- 🔍 搜索体验优化:引入权重评分机制,优先匹配标题
@@ -388,7 +388,7 @@ If PromptHub is helpful to your work, feel free to buy the author a coffee!
388388
<b>微信支付 / WeChat Pay</b>
389389
</td>
390390
<td align="center">
391-
<img src="./docs/imgs/donate/alipay.png" width="200" alt="Alipay"/>
391+
<img src="./docs/imgs/donate/alipay.jpg" width="200" alt="Alipay"/>
392392
<br/>
393393
<b>支付宝 / Alipay</b>
394394
</td>

docs/README.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<p>
88
<a href="https://github.com/legeling/PromptHub/stargazers"><img src="https://img.shields.io/github/stars/legeling/PromptHub?style=flat-square&color=yellow" alt="GitHub Stars"/></a>
99
<a href="https://github.com/legeling/PromptHub/network/members"><img src="https://img.shields.io/github/forks/legeling/PromptHub?style=flat-square" alt="GitHub Forks"/></a>
10-
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/badge/version-v0.3.1-green?style=flat-square" alt="Version"/></a>
10+
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/badge/version-v0.3.2-green?style=flat-square" alt="Version"/></a>
1111
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/github/downloads/legeling/PromptHub/total?style=flat-square&color=blue" alt="Downloads"/></a>
1212
<img src="https://img.shields.io/badge/license-AGPL--3.0-blue?style=flat-square" alt="License: AGPL-3.0"/>
1313
</p>

docs/README.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<p>
88
<a href="https://github.com/legeling/PromptHub/stargazers"><img src="https://img.shields.io/github/stars/legeling/PromptHub?style=flat-square&color=yellow" alt="GitHub Stars"/></a>
99
<a href="https://github.com/legeling/PromptHub/network/members"><img src="https://img.shields.io/github/forks/legeling/PromptHub?style=flat-square" alt="GitHub Forks"/></a>
10-
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/badge/version-v0.3.1-green?style=flat-square" alt="Version"/></a>
10+
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/badge/version-v0.3.2-green?style=flat-square" alt="Version"/></a>
1111
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/github/downloads/legeling/PromptHub/total?style=flat-square&color=blue" alt="Downloads"/></a>
1212
<img src="https://img.shields.io/badge/license-AGPL--3.0-blue?style=flat-square" alt="License: AGPL-3.0"/>
1313
</p>

docs/README.es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<p>
88
<a href="https://github.com/legeling/PromptHub/stargazers"><img src="https://img.shields.io/github/stars/legeling/PromptHub?style=flat-square&color=yellow" alt="GitHub Stars"/></a>
99
<a href="https://github.com/legeling/PromptHub/network/members"><img src="https://img.shields.io/github/forks/legeling/PromptHub?style=flat-square" alt="GitHub Forks"/></a>
10-
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/badge/version-v0.3.1-green?style=flat-square" alt="Version"/></a>
10+
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/badge/version-v0.3.2-green?style=flat-square" alt="Version"/></a>
1111
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/github/downloads/legeling/PromptHub/total?style=flat-square&color=blue" alt="Downloads"/></a>
1212
<img src="https://img.shields.io/badge/license-AGPL--3.0-blue?style=flat-square" alt="License: AGPL-3.0"/>
1313
</p>

docs/README.fr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<p>
88
<a href="https://github.com/legeling/PromptHub/stargazers"><img src="https://img.shields.io/github/stars/legeling/PromptHub?style=flat-square&color=yellow" alt="GitHub Stars"/></a>
99
<a href="https://github.com/legeling/PromptHub/network/members"><img src="https://img.shields.io/github/forks/legeling/PromptHub?style=flat-square" alt="GitHub Forks"/></a>
10-
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/badge/version-v0.3.1-green?style=flat-square" alt="Version"/></a>
10+
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/badge/version-v0.3.2-green?style=flat-square" alt="Version"/></a>
1111
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/github/downloads/legeling/PromptHub/total?style=flat-square&color=blue" alt="Downloads"/></a>
1212
<img src="https://img.shields.io/badge/license-AGPL--3.0-blue?style=flat-square" alt="License: AGPL-3.0"/>
1313
</p>

docs/README.ja.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<p>
88
<a href="https://github.com/legeling/PromptHub/stargazers"><img src="https://img.shields.io/github/stars/legeling/PromptHub?style=flat-square&color=yellow" alt="GitHub Stars"/></a>
99
<a href="https://github.com/legeling/PromptHub/network/members"><img src="https://img.shields.io/github/forks/legeling/PromptHub?style=flat-square" alt="GitHub Forks"/></a>
10-
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/badge/version-v0.3.1-green?style=flat-square" alt="Version"/></a>
10+
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/badge/version-v0.3.2-green?style=flat-square" alt="Version"/></a>
1111
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/github/downloads/legeling/PromptHub/total?style=flat-square&color=blue" alt="Downloads"/></a>
1212
<img src="https://img.shields.io/badge/license-AGPL--3.0-blue?style=flat-square" alt="License: AGPL-3.0"/>
1313
</p>

docs/README.zh-TW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<p>
88
<a href="https://github.com/legeling/PromptHub/stargazers"><img src="https://img.shields.io/github/stars/legeling/PromptHub?style=flat-square&color=yellow" alt="GitHub Stars"/></a>
99
<a href="https://github.com/legeling/PromptHub/network/members"><img src="https://img.shields.io/github/forks/legeling/PromptHub?style=flat-square" alt="GitHub Forks"/></a>
10-
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/badge/version-v0.3.1-green?style=flat-square" alt="Version"/></a>
10+
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/badge/version-v0.3.2-green?style=flat-square" alt="Version"/></a>
1111
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/github/downloads/legeling/PromptHub/total?style=flat-square&color=blue" alt="Downloads"/></a>
1212
<img src="https://img.shields.io/badge/license-AGPL--3.0-blue?style=flat-square" alt="License: AGPL-3.0"/>
1313
</p>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "prompthub",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "一款开源、本地优先的 AI Prompt 管理工具,帮助你高效管理、版本控制和复用",
55
"main": "out/main/index.js",
66
"author": {

0 commit comments

Comments
 (0)