nextcloud / nextcloud/text

Inline collapsibles/details

Open
#8,113 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement needs discussion
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Is your feature request related to a problem? Please describe.
The "details" collapsibles are only available in a new block. It would be nice to have both inline.

Describe the solution you'd like
Be able to make a part of a line of text (e.g. 1 word, like with links) collapsible, so that when you click it, a small details-box pops up, that shows some more information on that keyword e.g.

Other references
I think of something like on Wikipedia: when you hover over a link, a small preview is shown, so you don't have to click the link/leave your current page, just to get a glimpse of what is beneath it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating the existing details/collapsible block in the Tiptap/ProseMirror editor, then review how inline text features such as links are handled. Done means a selected part of a text line can open a small details box with additional information without leaving the current page.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.