Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider changing the route for clojars.org/:key from showing users to showing groups #482

Open
danielcompton opened this issue Feb 7, 2016 · 0 comments

Comments

@danielcompton
Copy link
Member

Currently there are two routes to see a user: /:username and /users/:username. This has a few impliciations.

  • There are two locations for the same resource, and neither are canonical or redirect to the other.
  • It means that URLs for groups aren't as nice as they could be. For example, if you have the URL https://clojars.org/bilus/pipes, going to https://clojars.org/bilus doesn't take you to the bilus group, but the bilus user.

It might be good to change the URL structure so /:identifer first tries for group, then artifact. Some thought needs to be put into how we handle artifacts with the same group and name. Thoughts on this are welcome. This would be a breaking change in how the URLs work, so I don't want to rush into this.

https://github.com/clojars/clojars-web/blob/master/src/clojars/routes/user.clj#L37-L38

danielcompton added a commit that referenced this issue Feb 11, 2016
Google uses breadcrumbs to present search results in a cleaner fashion.

This will probably need to be revisited once #482 is decided.
danielcompton added a commit that referenced this issue Feb 11, 2016
Google uses breadcrumbs to present search results in a cleaner fashion.

This will probably need to be revisited once #482 is decided.
danielcompton added a commit that referenced this issue Feb 11, 2016
Google uses breadcrumbs to present search results in a cleaner fashion.

This will probably need to be revisited once #482 is decided.
danielcompton added a commit that referenced this issue Feb 11, 2016
Google uses breadcrumbs to present search results in a cleaner fashion.

This will probably need to be revisited once #482 is decided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant