-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IDEA] Store Tags as Displayed #8228
Comments
In no way should the sort order of tags cause incompatibility. If that is a problem the code which is incompatible needs to be adjusted. In the tiddler tags-field, I personally would like to have tags stored in order of "importance". Importance depends on the users point of view and it may be different for every user. Tag-lists created with list-widgets are also sorted in the order the list-field defines it. If there is a list field, the order may be confusing |
The current enforced sorting, which takes away control from the user, is unfortunate. IMO, the "natural default" should be that tags appear in the order that the user enters them. But it should be simple to, in edit-mode, rearrange them, ideally via drag'n drop. |
Would you please tell me what is the benefit of storing tags in different order than displayed? Right now if I add thisTag first and myTag last (based on my preferences or importance) TW shows tags in this order "myTag", "thisTag"?! Why, because the ui template in TiddlyWiki read tags field and sort them by name! and this quite confusing! I agree to keep the order of tag in tags field in the same way user added tags (e.g. by preference or importance) BUT TiddlyWiki should display them in the same order not sort them! See: https://github.com/Jermolene/TiddlyWiki5/blob/master/core/ui/ViewTemplate/tags.tid#L6
Look at the sort in |
Yes that's because Jeremy likes it that way. But the template is simple enough that you can change it. |
Hi @kookma the ordering of tag pills by recency is undoubtedly potentially confusing but equally it is not surprising that some users have come to expect and rely on that behaviour. I think this would perhaps be a reasonable candidate for a hidden setting. |
Thank you @Jermolene. That is fair. One proposal is: Tiddler: $:/core/ui/ViewTemplate/tags \whitespace trim
<$reveal type="nomatch" stateTitle=<<folded-state>> text="hide" tag="div" retain="yes" animate="yes">
<div class="tc-tags-wrapper"><$list filter="[all[current]tags[]] :sort:alphanumeric:caseinsensitive[subfilter{$:/config/Tags/Sort}]" template="$:/core/ui/TagTemplate" storyview="pop"/></div>
</$reveal> Here:
I am not sure if the proposed sort flag is suitable or now. One improvement would be possible rearrangement of tags in edit mode as @twMat proposed. In that way the |
Is your feature request related to a problem? Please describe.
TiddlyWiki shows the tags on Tiddler by sorting versus title, but it stores them in the order they added. This cause confusion and incompatibly in some operations.
Describe the solution you'd like
Please store tags sorted by title, when adding tag to tags field, or show tags on the tiddler as they appear in the tags field
Additional context
I think it is simple to sort the tags field when a new tag is added!
The text was updated successfully, but these errors were encountered: