Skip to content

[Feature] 增加插件配置的管理文件的已上传图片可视图化 #10595

Open

Description

@mjy1113451

功能描述

见标题

使用场景

方便看已上传图片

检查清单

  • 我已在 Issue 列表中搜索过相关功能,确认该功能想法从未被提出过。
  • 我建议的功能与 AstrBot 本体相关,而非在建议某一插件的功能。
  • 我已阅读并同意本项目的贡献者行为准则。
  • (可选)我愿意提交 PR 以帮助实现该功能。

Activity

  1. mjy1113451 commented on Oct 16, 2026

    @mjy1113451
    Author

    Screenshot_20261017_062934.jpg

    Screenshot_20261017_062926.jpg

    就是此处的图片

  2. ZXLyyds100 commented on Oct 16, 2026

    @ZXLyyds100

    I'd like to take this on. I checked the current file manager on master: it lists uploaded files by name, but does not provide an image preview.

    The scope will stay within the existing plugin-configuration file manager: show thumbnails for supported uploaded images, allow a larger preview, and leave non-image files and the existing upload/remove actions unchanged. Image reads will keep plugin authentication and be restricted to the selected plugin/configuration field's upload directory; this will not expose an arbitrary filesystem or public-file endpoint.

    I'll add regression coverage for authentication, path/symlink isolation, unsupported/missing/invalid images, and check the actual dashboard before/after, including cleanup when switching fields or closing the dialog.

    Disclosure: this investigation, implementation, tests, and comments are being produced with OpenAI Codex assistance. No maintainer approval or human code review is implied.

  3. mjy1113451 commented on Oct 16, 2026

    @mjy1113451
    Author

    You can do it?thank you

  4. ZXLyyds100 commented on Oct 17, 2026

    @ZXLyyds100

    Implemented in #10596. It adds authenticated thumbnails and a larger preview inside the existing file manager, while retaining non-image/missing/invalid-file management.

    The PR includes real before/after and mobile screenshots, a 10-second browser recording, 31 new API cases, the full Python result (4032 passed / 4 baseline skips), 66 existing frontend tests, and 21 browser acceptance checks. The implementation and evidence are Codex-assisted; upstream review/CI are still separate from these local results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions