-
Notifications
You must be signed in to change notification settings - Fork 192
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
Add more internal links on /activity/user to help navigation flow #1418
Comments
Related to this we currently have
Back to to the issue. So when not logged in on webcompat.com GET https://webcompat.com/activity or https://webcompat.com/activity/There is a 404 status code, which is good because there is no resources here and no link from anywhere on the site to this. This URI has currently no attached semantics. #1406 proposed to do just that, create a semantics on this URI. Now as I explained on a call the status code that we receive in an HTTP response is not tied to the body. Here the HTTP headers. HTTP/1.1 404 NOT FOUND
Connection: keep-alive
Content-Encoding: gzip
Content-Security-Policy-Report-Only: default-src 'none'; connect-src 'self'; font-src 'self'; img-src 'self' https://www.google-analytics.com https://*.githubusercontent.com; script-src 'self' 'unsafe-eval' 'unsafe-inline' https://www.google-analytics.com; style-src 'self' 'unsafe-inline'; report-uri /csp-report
Content-Type: text/html; charset=utf-8
Date: Sat, 11 Mar 2017 03:06:02 GMT
Server: nginx/1.1.19
Strict-Transport-Security: max-age=31536000; includeSubDomains;
Transfer-Encoding: chunked
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block So instead of the Yikes only, we could have a message saying the same current thing, but proposing people to navigate somewhere to the homepage or maybe the about or contribute page. This is different to what is proposed in #1391 A redirect on a page means the content has moved temporally here or permanently other there. Aka there was something here and we moved it elsewhere. (Like a shop closing, and giving the new address 301 permanent redirect ) GET https://webcompat.com/activity/foobarThis parts seems a duplicate of #877 gives currently a 401 which is also the correct answer in certain cases, but not all. :) See #877 for the details. And indeed would benefit of getting a link to https://webcompat.com/login |
There are two spots in
/activity/<user>
I see that would be nice if the text was linked, so that you can navigate more smoothly with less effort. (I also see there has been some discussion going on around /activity endpoints so feel free to close if irrelevant!)Just suggesting because my brain is lazy and wants to look no further than the error message to know what to click next. :)
The text was updated successfully, but these errors were encountered: