Homec4science

Projects - add "Additional Hashtags" to projects

Authored by Bob Trahan <btrahan@phacility.com> on May 22 2014, 20:19.

Description

Projects - add "Additional Hashtags" to projects

Summary:
Fixes T4021. Chooses to keep a "primary" slug based off the name - including all that lovely logic - and allow the user to specify "additional" slugs. Expose these as "hashtags" to the user.

Sets us up for a fun diff where we can delete all the Project => Phriction automagicalness. In terms of this diff, see the TODOs i added.

Test Plan:
added a primary slug as an additional slug - got an error. added a slug in use on another project - got an error. added multiple good slugs and they worked. removed slugs and it worked. made some remark using multiple new slugs and they all linked to the correct project

ran epriestley's case

  • Create project "A".
  • Give it additional slug "B".
  • Try to create project "B".

and i got a nice error about hashtag collision

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T4021

Differential Revision: https://secure.phabricator.com/D9250

Details

Committed
Bob Trahan <btrahan@phacility.com>May 22 2014, 20:19
Pushed
aubortJan 31 2017, 17:16
Parents
rPH6302414883ba: Make the default view of dashboards be just the dashboard
Branches
Unknown
Tags
Unknown

Event Timeline

Bob Trahan <btrahan@phacility.com> committed rPH922e5c08497d: Projects - add "Additional Hashtags" to projects (authored by Bob Trahan <btrahan@phacility.com>).May 22 2014, 20:19