Skip to content

fix(plugins): 在插件市场显示已安装插件的删除入口 - #949

Merged
MCDFsteve merged 1 commit into
mainfrom
codex/plugin-market-delete-action
Sep 26, 2026
Merged

MCDFsteve merged 1 commit into
mainfrom
codex/plugin-market-delete-action

Conversation

@MCDFsteve

Copy link
Copy Markdown
Collaborator

问题与结果

从插件市场安装插件后,卡片只显示“已安装”或“更新”,无法在市场中卸载。现在已安装的非内置插件显示“删除”;有更新时保留“更新”,并列显示删除操作。删除前确认,执行期间显示进度,完成后刷新实际安装索引,卡片恢复为“安装”。

安装或更新后也改为从插件索引重新同步本地 ID,确保市场 ID 与插件清单 ID 不同时,删除操作仍针对真实已安装插件。窄屏下操作区可以换行,避免按钮溢出。

验证

  • flutter analyze --no-pub --no-fatal-infos --no-fatal-warnings lib/themes/nipaplay/widgets/plugin_market_dialog.dart
  • flutter test --no-pub test/tvos_large_screen_adaptation_policy_test.dart test/plugins/plugin_runtime_resolution_test.dart(8 个测试通过)

@MCDFsteve
MCDFsteve requested a review from a team as a code owner September 26, 2026 17:14
@MCDFsteve
MCDFsteve merged commit c3d5484 into main Sep 26, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant