OpenListTeam / OpenListTeam/OpenList-Frontend
[Feature] 关于文件名和缩略图优化建议
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 100
- Forks
- 240
- Avg merge
- 22h 42m
- Merged PRs (30d)
- 17
Description
请确认以下事项
-
我已确认阅读并同意 AGPL-3.0 第15条 。
本程序不提供任何明示或暗示的担保,使用风险由您自行承担。 -
我已确认阅读并同意 AGPL-3.0 第16条 。
无论何种情况,版权持有人或其他分发者均不对使用本程序所造成的任何损失承担责任。 -
我确认我的描述清晰,语法礼貌,能帮助开发者快速定位问题,并符合社区规则。
-
我已确认阅读了OpenList文档。
-
我已确认没有重复的问题或讨论。
-
我认为此问题必须由
OpenList处理,而非第三方。 -
我已确认此功能尚未被实现。
-
我已确认此功能是合理的,且有普遍需求,并非我个人需要。
需求描述
- 网格视图文件名显示完全:当前网格视图基本是废的,除了缩略图,其他功能均丢失:无法看见完整文件名、无法排序、甚至连查看文件大小都做不到
- 列表视图也具有缩略图:目前排序(列表)和缩略图(网格)
实现思路
- 网格视图文件名显示完全:目前使用外部修改 CSS,使网格视图下显示完整文件名:
.grid-item p.hope-text {
white-space: normal;
text-overflow: unset;
}
样式应用前:
样式应用后:
- 列表视图也具有缩略图:列表缩略图使用网格缩略图API,切换网格视图时保留列表头部排序功能和全选功能,列表视图的排序方式影响网格视图,但是网格视图下无法修改排序方式
附加信息
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the frontend components for grid and list views, then trace how filenames, sorting, selection, and thumbnails are rendered. Compare both views against the requested behavior, including the existing grid thumbnail API. Done means grid filenames are fully visible, list view includes thumbnails, and sorting and selection behave as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100