Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Improve UX around linking and attaching images and files (attachments)

未关闭
#8,948 3 条评论 1 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@mejo- 已经在做这个了。

开始于 2026年8月3日。

评估

这个 Issue 还没有评估数据。

描述

bug design feature: attachments feature: images ux

Describe the bug
Text offers different ways to add an image or file to the editor and they result in different representation of that file. This is confusing to users and we should rethink it.

On the one hand, we distinguish between:

  1. attachments (being it an image or any other file) which live in the .attachments.<fileId> folder
  2. links to images/files that might live anywhere within the Nextcloud instance (also possibly in .attachments.<file>

The first is rendered via ImageView.vue and only supports opening full-screen in either ImageModal.vue for images or viewer/new tab for attachments depending on whether Text is already opened in Viewer. Images are displayed directly, but other non-image attachments only show a mimetype-related icon and don't over embedded preview.

The second is a classic link to the file and can be rendered as preview via reference widgets from different apps, optionally with embedded in-place editing capabilities (e.g. for office documents or deck boards).

The resulting user experience is very confusing. E.g. users might want to upload a file to the document as real attachment, but still might want a preview view of this file.

Also related: #8162

主要语言
JavaScript
星标
665
派生
133
平均合并
1 天 17 小时
30 天内合并 PR
172

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/text 的其他 Issue

查看 nextcloud/text 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。