# Collaborative Tags no longer visible in 25 until user inputs 3 characters

**URL:** <https://help.nextcloud.com/t/collaborative-tags-no-longer-visible-in-25-until-user-inputs-3-characters/147647>\
**Category:** ℹ️ Support\
**Tags:** beta, nc25\
**Created:** [October 17, 2022, 8:07pm UTC](https://help.nextcloud.com/t/collaborative-tags-no-longer-visible-in-25-until-user-inputs-3-characters/147647 "2022-10-17T20:07:38Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nomad](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nomad/32/8353_2.png) [@nomad](https://help.nextcloud.com/u/nomad)\
**Post date:** [October 17, 2022, 8:07pm UTC](https://help.nextcloud.com/t/collaborative-tags-no-longer-visible-in-25-until-user-inputs-3-characters/147647/1 "2022-10-17T20:07:38Z")

</div>

Here is NC 24 after putting the cursor in the tags field

 ![nc24](https://help.nextcloud.com/uploads/default/original/3X/4/0/402a38e562edaad4205c49558530595f2ea51e69.jpeg)

and here is NC 25

 ![nc25](https://help.nextcloud.com/uploads/default/original/3X/1/2/12b24853f312063a8384c65581a9fbc1efb02b53.jpeg)

---

<div class="post-metadata">

**Author:** ![anon75456558](https://help.nextcloud.com/letter_avatar/anon75456558/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon75456558](https://help.nextcloud.com/u/anon75456558)\
**Post date:** [October 17, 2022, 9:16pm UTC](https://help.nextcloud.com/t/collaborative-tags-no-longer-visible-in-25-until-user-inputs-3-characters/147647/2 "2022-10-17T21:16:23Z")

</div>

> <https://github.com/nextcloud/server/pull/34096>
>
> If you are a heavy tags user you may run into performance issues. 
> Especially t…he user interface is somewhat unusable with a large number of tags.
> 
> The tag multi select loads all tags via dav. Filtering is done by select2.
> I expect the vue migration to fix some of those issues. 
>  
> This PR addresses some low hanging fruits:
> 
> https://github.com/nextcloud/server/pull/34096/commits/e1d9b0bae20510526b0d00c2afe464945847face: Add minimumInputLength for select2. This will delay the loading of the tags by a few keystrokes. It does not improve the performance but it feels a bit less sluggish. But a minimum input length is also a breaking change and everyone using short tags is probably very unhappy about this :confused: :question: 
> 
> https://github.com/nextcloud/server/pull/34096/commits/1bfac6d0941894677117144519d14f8f3ed455ec: When you start typing tags are fetched via xhr. \`fetched\` is there to keep track if the data was loaded already. However we have 3 states: not loaded, loading and loaded. If the user continues to type and \`fetched\` is false another xhr request is started. This commit is here to address the loading state and prevent another xhr request.
> 
> | Before | After |
> | --- | --- |
> | \[Screencast from 15.09.2022 12:26:43.webm\](https://user-images.githubusercontent.com/3902676/190436318-ed627a6b-49eb-4323-83ac-d5bc409100d5.webm) | \[Screencast from 15.09.2022 16:26:20.webm\](https://user-images.githubusercontent.com/3902676/190436520-e5cea483-9207-4f4e-bf00-10f1224d70f9.webm) |
> 
> https://github.com/nextcloud/server/pull/34096/commits/79b4c4f50547232ad3e828be0ac94e9707c46124: It's an optional change. Adding 10k dom elements put some pressure on my browser. I'm not familiar with select2 and the internals however in my tests I noticed that we emit a deprecation warning for each tag. I rewrote getDescriptiveTag and it seems to help a little bit. 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Add 10k tags via occ:
> \`\`\`
> \#!/bin/bash
> 
> for i in {1..10000}
> do
> php occ tag:add "Tag$i" "public"
> done
> \`\`\`

---

<div class="post-metadata">

**Author:** ![anon75456558](https://help.nextcloud.com/letter_avatar/anon75456558/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon75456558](https://help.nextcloud.com/u/anon75456558)\
**Post date:** [October 17, 2022, 9:33pm UTC](https://help.nextcloud.com/t/collaborative-tags-no-longer-visible-in-25-until-user-inputs-3-characters/147647/3 "2022-10-17T21:33:05Z")

</div>

> <https://github.com/nextcloud/server/pull/34642>
>
> Revert https://github.com/nextcloud/server/commit/e1d9b0bae20510526b0d00c2afe464…945847face from https://github.com/nextcloud/server/pull/34096
> 
> Joas:
> 
> \> Need to have a submit button then, 3 characters is too long for some languages
> \> (where even names can be a single character)
> \> It' fine to not automatically search, but it needs to be submitable. 
> \> Similar like the normal unified search etc
> 
> Community:
> 
> \> The reason would be that nothing is displayed so you have to click and type three characters (four actions) 
> \> with no option to one click on a tag (as before).
> \> It feels like a regression for tag users. Example, a small tag user only needs to see a limited number of tags.  
> \> Or, you are simply re-using the same tag over and over. 
> 
> 
> https://help.nextcloud.com/t/collaborative-tags-no-longer-visible-in-25-until-user-inputs-3-characters/147647

---

<div class="post-metadata">

**Author:** ![nomad](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nomad/32/8353_2.png) [@nomad](https://help.nextcloud.com/u/nomad)\
**Post date:** [October 20, 2022, 7:13am UTC](https://help.nextcloud.com/t/collaborative-tags-no-longer-visible-in-25-until-user-inputs-3-characters/147647/4 "2022-10-20T07:13:38Z")

</div>

Thanks a lot, this change hasn’t made it into the NC 25 stable release, though. Let’s hope it will get merged soon.

---

<div class="post-metadata">

**Author:** ![nomad](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nomad/32/8353_2.png) [@nomad](https://help.nextcloud.com/u/nomad)\
**Post date:** [November 3, 2022, 6:32pm UTC](https://help.nextcloud.com/t/collaborative-tags-no-longer-visible-in-25-until-user-inputs-3-characters/147647/5 "2022-11-03T18:32:24Z")

</div>

Unfortunately no progress here, it hasn’t made it into 25.0.1 either, maybe the devs don’t want to revert ☹

---

<div class="post-metadata">

**Author:** ![anon75456558](https://help.nextcloud.com/letter_avatar/anon75456558/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon75456558](https://help.nextcloud.com/u/anon75456558)\
**Post date:** [November 3, 2022, 10:19pm UTC](https://help.nextcloud.com/t/collaborative-tags-no-longer-visible-in-25-until-user-inputs-3-characters/147647/6 "2022-11-03T22:19:39Z")

</div>

Ask on the pull request for an eta as opposed to posting here @nomad❤

---

<div class="post-metadata">

**Author:** ![nomad](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nomad/32/8353_2.png) [@nomad](https://help.nextcloud.com/u/nomad)\
**Post date:** [November 5, 2022, 9:02am UTC](https://help.nextcloud.com/t/collaborative-tags-no-longer-visible-in-25-until-user-inputs-3-characters/147647/7 "2022-11-05T09:02:47Z")

</div>

> [@anon75456558](#):
>
> [Revert minimum length for tags by kesselb · Pull Request #34642 · nextcloud/server · GitHub](https://github.com/nextcloud/server/pull/34642)

done, thanks!

---

<div class="post-metadata">

**Author:** ![nomad](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nomad/32/8353_2.png) [@nomad](https://help.nextcloud.com/u/nomad)\
**Post date:** [December 9, 2022, 9:39pm UTC](https://help.nextcloud.com/t/collaborative-tags-no-longer-visible-in-25-until-user-inputs-3-characters/147647/8 "2022-12-09T21:39:23Z")

</div>

Now with NC 25.0.2 the tags feature is working again and I can browse through all tags again, thanks a lot Nextcloud!

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 14, 2024, 11:23am UTC](https://help.nextcloud.com/t/collaborative-tags-no-longer-visible-in-25-until-user-inputs-3-characters/147647/9 "2024-12-14T11:23:58Z")

</div>


