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

Fill URL from Slug #3

Closed
kalobyte opened this issue Nov 3, 2016 · 2 comments
Closed

Fill URL from Slug #3

kalobyte opened this issue Nov 3, 2016 · 2 comments

Comments

@kalobyte
Copy link

kalobyte commented Nov 3, 2016

There would be better, if the user can choose and fill automatically the URL field from the Slug field, because its already prepared and excepts any misstyping errors.

@lokothodida
Copy link
Owner

If the URL field is automatically filled in, then the user will need to manually change the URL prefixes if their domain or the URL structure changes. So as a compromise, the fix I've implemented on the current v0.6.1 beta is that it generates the canonical URL on the fly (when building the menu's HTML) if:

  • there is a slug present
  • the URL field is empty and
  • a valid target has been selected (e.g. _blank)

Does that sound like a fair trade-off?

@lokothodida
Copy link
Owner

Fixed in v0.6.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants