Closed erlingur closed 1 year ago
I think the current behaviour is justified for a couple of reasons:
Based on this I don't think the slug should always be automatically updated, it should be a user initiated event. However, I could see the value in some kind of UI element that gives the user a visual prompt that the title has changed and the slug may need to also be changed. Perhaps there could be a button that reveals itself for one click automatic updating.
Yeah, I can get that. I think that your suggestion of a UI element prompting the user to maybe change the slug would be very helpful!
There is one thing also with the slug. If I manually edit the slug the input will allow me to enter any character I want. It should ideally do the same like if you are entering a title, filtering out unwanted characters, change a space to a - and etc.
I've just ran into an issue where a user was making changes to a ton of pages but didn't think about changing the slug as well so we had a lot of mismatches between the titles of pages and the URLs.
Could we make it so that the slug is always updated, not just when creating a new page? Or make it configurable if you want to keep the old behavior?