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

Automate URI Generation #595

Open
taineriley1 opened this issue Jul 19, 2021 · 1 comment
Open

Automate URI Generation #595

taineriley1 opened this issue Jul 19, 2021 · 1 comment

Comments

@taineriley1
Copy link
Contributor

taineriley1 commented Jul 19, 2021

@pierssinclairssw @william-liebenberg @bradystroud

This issue separates concerns in issue #465 and covers the URI generation.

In Netlify CMS, the URI field requires input from the user. It would be a better UX if this field was automatically populated with a value.

We will likely need a custom widget to do this (see https://www.netlifycms.org/docs/custom-widgets/). The URI field should still be editable. When the URI field is empty, the field should be filled with the rule's title separated by dashes and without punctuation. E.g. a title of 'Do you use great email signatures?' creates a URI of 'do-you-use-great-email-signatures'.

  1. Add functionality to automate URI generation

AB#62677

@taineriley1
Copy link
Contributor Author

A feature request in Netlify CMS's repo may provide functionality to implement this by enabling the use of placeholders in a widget's default field. See decaporg/decap-cms#1975

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

1 participant