nextcloud / nextcloud/bookmarks

Users should be able to sort tags

Open
#2,288 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
1.2k
Forks
189
Avg merge
5d 11h
Merged PRs (30d)
10

Description

Describe the bug

In the Bookmarks app, the tags list is currently unsorted and static.

While the bookmarks themselves support multiple sort orders (e.g. by title, creation date, click count, or manual order), tags cannot be sorted in any way – neither alphabetically nor by usage frequency or creation date.

This leads to a poor user experience, especially for users with many tags. It’s hard to find or reuse existing tags efficiently.

To Reproduce

Steps to reproduce the behavior:
1. Open the Bookmarks app
2. Add several bookmarks and assign various tags
3. Open the tag list (sidebar or tag filter view)
4. Observe that tags appear in an unorganized order (seemingly the internal ID or creation order)
5. Try to find a way to sort the tags alphabetically or by another method → not possible

Expected behavior

Users should be able to sort tags, just like bookmarks.
Ideally, the same sorting options should be available for tags:
• Alphabetically (A–Z)
• By number of assigned bookmarks (usage frequency)
• By creation date
• By last edit
• By manual order (drag & drop)

This would bring consistency and make large tag collections much easier to manage.

Screenshots

N/A – tag list is visible in sidebar and not sortable

Desktop (please complete the following information):
• OS: macOS Sequoia 15.5
• Browser: Safari 18.5 (20621.2.5.11.8)

Server (please complete the following information):
• OS: Synology DSM via Docker (Linux 4.4.302+ x86_64)
• HTTP server: nginx
• Database: MariaDB 11.4
• PHP version: 8.3.20
• Nextcloud version: 31.0.4
• Bookmarks app version: 15.1.0
• Activated Nextcloud Apps: (available if needed)
• Nextcloud configuration: (available if needed)
• External user backend: none

Additional context

This issue impacts usability, especially in larger bookmark collections.
As the tags are not sorted, users are more likely to create duplicate tags or lose track of existing ones.

The Bookmarks app is otherwise fantastic – thanks for maintaining it!

Web server error log

No errors relevant to this issue.

Nextcloud log (nextcloud/data/nextcloud.log)

No errors related to tags or Bookmarks app.

Browser log

No JavaScript errors observed in console.

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 tag list in the sidebar and tag filter view, then compare them with the existing bookmark sorting controls. Define which tag sort modes are supported and how they behave with multiple tags; done means tags can be sorted consistently in the relevant views.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.