Skip to content

feat(File): Add ErrorBoundary to Previews#561

Merged
xrgzs merged 2 commits into
OpenListTeam:mainfrom
xrgzs:fix/url
Jun 26, 2026
Merged

feat(File): Add ErrorBoundary to Previews#561
xrgzs merged 2 commits into
OpenListTeam:mainfrom
xrgzs:fix/url

Conversation

@xrgzs

@xrgzs xrgzs commented Jun 26, 2026

Copy link
Copy Markdown
Member

Summary / 摘要

使用SolidJS ErrorBoundary和Error组件包裹预览组件,避免预览组件出现错误时的全屏报错,不会影响导航栏、侧边栏等其他区域的交互,简化组件的预览错误处理。

  • This PR has breaking changes.
    / 此 PR 包含破坏性变更。
  • This PR changes public API, config, storage format, or migration behavior.
    / 此 PR 修改了公开 API、配置、存储格式或迁移行为。
  • This PR requires corresponding changes in related repositories.
    / 此 PR 需要关联仓库同步修改。

Related repository PRs / 关联仓库 PR:

  • OpenList:
  • OpenList-Docs:

Related Issues / 关联 Issue

Closes #491

Testing / 测试

  • go test ./...
  • Manual test / 手动测试:

Checklist / 检查清单

  • I have read CONTRIBUTING.
    / 我已阅读 CONTRIBUTING
  • I confirm this contribution follows the repository license, contribution policy, and code of conduct.
    / 我确认此贡献符合仓库许可证、贡献规范和行为准则。
  • I have formatted the changed code with gofmt, go fmt, or prettier where applicable.
    / 我已按适用情况使用 gofmtgo fmtprettier 格式化变更代码。
  • I have requested review from relevant maintainers or code owners where applicable.
    / 我已在适用情况下请求相关维护者或代码所有者审查。

xrgzs added 2 commits June 26, 2026 19:27
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
@xrgzs xrgzs requested a review from jyxjjj June 26, 2026 11:30
@xrgzs xrgzs added the enhancement New feature or request label Jun 26, 2026
@xrgzs xrgzs merged commit e251f8a into OpenListTeam:main Jun 26, 2026
1 check passed
@xrgzs xrgzs deleted the fix/url branch June 26, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] .url快捷方式打开为#

2 participants