Ticket #5664 (closed Feature Request: fixed)

Opened 10 years ago

Last modified 9 years ago

Short name creation needs a few tweaks

Reported by: limi Owned by: laz
Priority: minor Milestone: 3.0b2
Component: General Version:
Keywords: sprint Cc:


The current short name generation works well, but we should improve it a bit:

  • Currently, it has no length limit (or a very long one). We should crop the short name if it gets too long, and make sure the cropping isn't done in the middle of a word (unless the title is a very long word, and it is impossible to do so
  • The apostrophe should just be removed instead of replaced by a hyphen. Example:

Title: "This doesn't matter" Current: "this-doesn-t-matter" Desired: "this-doesnt-matter"

File under nice-to-have ;)

Change History

comment:1 Changed 10 years ago by wichert

(In [10257]) Ignore the ' character when normalizing strings. refs #5664

comment:2 Changed 9 years ago by limi

  • Keywords sprint added
  • Milestone changed from 2.5.x to 3.0

The length limit + making sure that it's not splitting the middle of a word is the only thing that remains here. Perfect sprint task. :)

comment:3 Changed 9 years ago by laz

  • Status changed from new to assigned
  • Owner changed from somebody to laz

let's have a try

comment:4 Changed 9 years ago by laz

(In [14056]) This refs #5664. Cropping too long names (for Ids, URL and files) regarding the "-" when possible. Initial value of 50 for the maximum length.

comment:5 Changed 9 years ago by laz

  • Status changed from assigned to closed
  • Resolution set to fixed

comment:6 Changed 4 years ago by davisagli

  • Component changed from Infrastructure to General
Note: See TracTickets for help on using tickets.