Skip to content

Update URL structure for promises to use a slug instead of ID #100

@silent1mezzo

Description

@silent1mezzo

Is your feature request related to a problem? Please describe.
To improve SEO and readability of links we could update the URL structure from /:department/promises/:id to /:department/promises/:slug

Describe the solution you'd like
There's a few different ways to do this.

  1. slugify the concise_title. This approach is the cleanest from a URL structure but requires updates in both this repo and the API.
  2. slugify the concise_title and concat it onto the ID (e.g. /:department/promises/:id-slug. This is more involved on the FE as you have to strip the slug from the ID but doesn't require a change in the API.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions