Screwdriver: [UI] URL is verbose on template detail pages

Created on 31 Jul 2018  路  5Comments  路  Source: screwdriver-cd/screwdriver

What happened:
URL of template detail page is /templates/namespaces/<namespace>/names/<name> currently.
(e.g. https://cd.screwdriver.cd/templates/namespaces/screwdriver-cd/names/semantic-release )
I think it might be verbose.

What you expected to happen:
I think /templates/<namespace>/<name> is better.

All 5 comments

@tkyi @minz1027 @DekusDenial any thoughts on this ?

I'm okay with having both urls point to the same place
I'm not sure what's the accepted/standard convention for UI URLs

The longer URI format seems more prevalent in REST API endpoint than for UI pages.
If namespace is the top of the hierarchy and when combined with name it can uniquely refer to a specific template, /template/<namespace>/<name> is RESTful to me

@tk3fftk We reverted to the shortened url /template/<namespace>/<name> with UI v1.0.336. Does this resolve your issue?

@tkyi :+1: thanks!

Was this page helpful?
0 / 5 - 0 ratings