More information when registering an already registered repo #35

Closed
opened 2020-02-03 10:12:09 +00:00 by max.mehl · 2 comments
Owner

When trying to register a repo that is already existing, the visitor should also have the possibility to directly go to its info page.

This could either happen by the API immediately redirecting to the already existing info page, or by showing a link to it on /register.

Originally reported here: https://github.com/heremaps/oss-review-toolkit/issues/2176#issuecomment-581126341

When trying to register a repo that is already existing, the visitor should also have the possibility to directly go to its info page. This could either happen by the API immediately redirecting to the already existing info page, or by showing a link to it on `/register`. Originally reported here: https://github.com/heremaps/oss-review-toolkit/issues/2176#issuecomment-581126341
florian.vuillemot was assigned by max.mehl 2020-12-04 10:25:37 +00:00
Author
Owner

I meanwhile think that an automatic redirect is unexpected behaviour. Instead the link to the repo's info page should be in the ValidationError message.

I tried it quickly locally, but it seems that putting HTML code there directly does not work as it's encoded.

I meanwhile think that an automatic redirect is unexpected behaviour. Instead the link to the repo's info page should be in the ValidationError message. I tried it quickly locally, but it seems that putting HTML code there directly does not work as it's encoded.
Author
Owner

Closed by #47, thank you @florian.vuillemot !

Closed by #47, thank you @florian.vuillemot !
fkobi added the enhancement label 2025-12-17 11:39:42 +00:00
Sign in to join this conversation.