SSWConsulting / SSWConsulting/SSW.Rules

Automate URI Generation

Open
#595 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
26
Forks
17
Avg merge
14h 39m
Merged PRs (30d)
2

Description

@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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Netlify CMS URI field and reviewing the custom-widget documentation linked in the issue. Implement the URI behavior so an empty field derives a lowercase, dash-separated, punctuation-free value from the rule title while remaining editable; verify it with a title such as “Do you use great email signatures?”.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
content, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.