nextcloud / nextcloud/collectives

Allow internal Collectives links to open directly

Open
#2,713 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
195
Forks
51
Avg merge
1d 2h
Merged PRs (30d)
48

Description

This issue was split from #2708 as requested.

I use Collectives as a structured wiki / knowledge base. The wiki is divided into several Collectives according to the type of information they contain.

For example, I have a main Wiki page which serves as an entry point and contains links to pages in different parts of the knowledge base.

One of these is a separate Collective called Slovník (Glossary). It contains explanations of individual terms used throughout the wiki. When a term needs further explanation, I can simply link the word on another wiki page to its corresponding page in the Glossary.

I use the same approach for other parts of the wiki. For example, Návody (Guides) is a separate Collective containing general guides and procedures. Other areas are separated in a similar way, for example IT infrastructure and other categories of documentation.

This allows me to keep different types of information logically separated while still connecting everything through internal links.

The following screenshot shows an example of this structure and the internal links used on the main Wiki page:

Image

The problem occurs when following these links.

After clicking an internal link, the linked page does not open. Instead, a preview is displayed:

Image

To actually navigate to the page, I then have to click the open-page icon in the upper-right corner of the preview:

Image

Only after this second click is the actual Collectives page opened.

Image

So navigation currently works like this:

click internal link → preview → click open-page icon → target page

With a wiki structured in this way, internal links are the main method of navigating between related information. Having to go through the preview every time therefore adds an unnecessary step, especially when following several related terms or documentation pages.

I would like to have an option to open internal Collectives page links directly:

click internal link → target page

The existing preview does not need to be removed. It could remain available for users who find it useful. A per-user setting to choose between the current preview behavior and direct navigation would be sufficient.

For example:

Open internal page links directly

This would make it possible to use Collectives more naturally as an interconnected wiki while still keeping different areas of the knowledge base separated into their own Collectives.

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

Start by tracing the internal Collectives link handling and the preview/open-page flow described in the issue, then inspect how existing per-user settings are stored and applied. Done means a user can choose direct navigation for internal page links while the current preview behavior remains available as an alternative.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.