Skip to content

Allow to upload non-image files #2339

Closed

Description

@mejo-

We want to extend the functionality to upload images (either via toolbar or via drag&drop) to allow uploading non-image attachments.

When uploading a non-image attachment, a link to it should be added to the document.

As discussed in the design review call, see https://gitlab.com/collectivecloud/collectives/-/issues/322 for details.

Activity

  1. added
    enhancement
    on Apr 26, 2022
  2. julien-nc commented on May 9, 2022

    @julien-nc
    Member

    Hey, so how do we want to make that happen exactly?

    • How should other file types be displayed in Text? Generic type icon or preview if available?
    • Do we want to open the viewer on click for compatible file types like PDFs or videos?

    More questions will come during the implementation 😁.

  3. mejo- commented on May 9, 2022

    @mejo-
    MemberAuthor

    In a private discussion with @juliushaertl, we came to the conclusion that it might be rather confusing to allow non-image attachments in the standalone text editor. The most common usecase for standalone text is probably that it's launched from the Files app, and there people expect to have "control" over their files.

    So it might not be the best UX to expose a feature that allows to upload files which then disappear in a hidden folder and are removed automatically once their reference is removed from the markdown file. Especially as there's no interface to list the attachment files in standalone text.

    The situation is different if the Collectives app is the primary user interface. There, users will have an attachments list to browse the attachments, and the attachments are tied to a page UI-wise.

    IIRC, our idea implementation-wise was to alllow non-image attachment uploads in the Text backend, but only expose the feature in the UI when inside a collective.

    @juliushaertl please add if I missed something from our brainstorming 😉

    This is all not set in stone and I'd like to hear other opinions on it 💬

  4. added a commit that references this issue on May 9, 2022
  5. mejo- commented on Oct 17, 2022

    @mejo-
    MemberAuthor

    This already got implemented in #2378 thanks to gorgeous @julien-nc 😊

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

    0. Needs triageenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions