[CONTEDIT-154] Rename Story URL field and make it optional Created: 29/Aug/17  Updated: 28/Jun/21  Resolved: 04/Jan/18

Status: Closed
Project: Content Editor
Component/s: None
Affects Version/s: 1.0.6
Fix Version/s: 1.0.8, 1.1.2

Type: Improvement Priority: Major
Reporter: Christopher Zimmermann Assignee: Jaroslav Simak
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to CONTEDIT-387 DOC: Create slug field page Closed
dependency
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Documentation update required:
Yes
Date of First Response:
Epic Link: Fix stories demo issues
Sprint: Kromeriz 124, Kromeriz 125, Kromeriz 126, Kromeriz 127, Kromeriz 128
Story Points: 13

 Description   

The 'Story URL' field is required, but by default is in a collapsed tab.
Users stumble over this when they try to Save a story.
The problem is increased since the validation error might not be visible if the story is long( - but solving the validation message does not go far enough towards solving this problem.).

Another issue is that the name "URL" is misleading for the field. A URL is a full url - whereas this is just a piece of it. Depending on the pages that reference it - the directory path of the story might also be part of the url. Maybe we should consider renaming it to something like slug.

Specification decided by avongunten and czimmermann:

  • Change label from "Story URL" to "URL slug"
  • Change placeholder text from "Add URL" to "Add URL slug"
  • URL slug field is not required
  • On save: If the url slug field is empty, then set the name automatically based on the title the user enters.
  • When you open the story again - that generated name should show in the field. The user can edit it.
  • If the title is changed later, the name is not automatically changed.

Generated at Mon Feb 12 00:17:37 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.