Skip to content
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

Auto fix for tags with "," #534

Open
2 tasks
wellemut opened this issue Aug 8, 2024 · 0 comments
Open
2 tasks

Auto fix for tags with "," #534

wellemut opened this issue Aug 8, 2024 · 0 comments

Comments

@wellemut
Copy link
Member

wellemut commented Aug 8, 2024

Problem

Tags with Komma are somehow allowed. Thats stupid and not useful.
It happens when I copy a comma seperated list of tags into the tagfield.
And in the end, I have such stranges tags:
grafik

Solution

The Backend should

  • Strip all #, comma and spaces and - from the front and the back of every tag before saveing
    - #tag -> tag
    - ,tag -> tag
    - tag, -> tag

  • seperate all tags which contain space, comma or # sign
    - tag1,tag2 -> tag1 and tag2
    - #tag1,#tag2 -> tag1 and tag2
    - #tag1, tag2 -> tag1 and tag2

That would be great
(The frontend should not receive an error message. It should be a silet auto-fix in the backend)
The Frontend seperates allready words with space in between "tag1 tag2" becomes "tag1" and "tag2"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants