You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@nhcarrigan Had a decent idea for us to standardise where Campers are redirected upon failed operations such as trying to view the certificate of someone who has showCert set to false.
The idea would be to redirect Campers to an informative "404" with basic information around why they could have been redirected.
To expand on this, my thought is specifically for failed certification views.
A FAQ page which breaks down reasons a certificate is unavailable, especially a more detailed description of the privacy settings, seems better than just a flash message and might help alleviate some forum posts.
@freeCodeCamp/dev-team I would like to get a jump on this. Specifically, to do with the moderation dashboard.
My current thinking is:
Any request to an existing page that is hidden (i.e. user settings == private, isBanned == true, etc.) yields an FAQ page with potential reasons
Should this be as generic as possible? Or, should the page contain only relevant information? That is, if isBanned do not mention user settings could be private.
Yes. We want a single, generic page that lists a bunch of potential reasons, including privacy settings, isBanned, and isCheater.
The idea here is that we are protecting ourselves if we flag someone as isCheater when they did not intentionally cheat - we want to avoid making an implicit accusation.
How about using the 404 template, grouping the errors, and displaying a message and a graphic accordingly.
That is precisely what a dedicated page will be, isn't it?
To be clear, and we all understand this correctly, let's stop calling it a 404 😓. It's just a custom error page. Let's call it what it is and avoid confusion over any HTTP error pages to which Gatsby will automatically route a user when it sees a corresponding error.
Back on to track then:
When we find multiple validation failures, we need to redirect the user somewhere - a custom error page with a clear message or messages on what's happening and what needs to be done.
We can't do flash messages because, by design, they are made for singular validations. They can't be staggered, and we do not do toasts.
So, in short, we will need an error page - the "layout" if you will, could be borrowed from a 404 style design, but that's the only common thing with that.
Activity
naomi-lgbt commentedon Mar 28, 2022
To expand on this, my thought is specifically for failed certification views.
A FAQ page which breaks down reasons a certificate is unavailable, especially a more detailed description of the privacy settings, seems better than just a flash message and might help alleviate some forum posts.
akulv commentedon Apr 19, 2022
happy to work on this one this week!
akulv commentedon Apr 19, 2022
@nhcarrigan so you essentially want a new 404 page with a helpful message regarding failed certification views correct?
naomi-lgbt commentedon Apr 25, 2022
It should not be a 404 page, no. It should be a FAQ page explaining why a certification might be unavailable.
ShaunSHamilton commentedon Jun 2, 2022
@freeCodeCamp/dev-team I would like to get a jump on this. Specifically, to do with the moderation dashboard.
My current thinking is:
isBanned== true, etc.) yields an FAQ page with potential reasonsShould this be as generic as possible? Or, should the page contain only relevant information? That is,
if isBanneddo not mention user settings could beprivate.Should requests to
isPrivateyield a403?Should requests to
isBannedpages yield418?raisedadead commentedon Jun 29, 2022
@ahmadabdolsaheb
naomi-lgbt commentedon Jun 29, 2022
Yes. We want a single, generic page that lists a bunch of potential reasons, including privacy settings,
isBanned, andisCheater.The idea here is that we are protecting ourselves if we flag someone as
isCheaterwhen they did not intentionally cheat - we want to avoid making an implicit accusation.ahmaxed commentedon Jun 30, 2022
How many different support cases are we going to cover in this page? That we could architect the information on the page accordingly.
ShaunSHamilton commentedon Jun 30, 2022
Support Cases
/certification/sky020/....sky020has not claimed certificate/certification/sky020/....sky020has had certificate revoked/certification/sky020/....sky020hasshowCerts: false/certification/sky020/....sky020hasisLocked: true- we really should rename this/certification/sky020/....sky020has been marked asisCheater: true/certification/sky020/....sky020has been marked asisBanned: true/sky020.sky020hasisLocked: true/incorrect-usernamesky020navigates to/certification/sky020/..., and one of the above settings is activeNow, you can also replace
Camperwithuser.Terminology
Camper- someone signed into/learnuser- someone not signed into/learnI am probably missing one or two other cases
majestic-owl448 commentedon Jun 30, 2022
is this for case in which user has a private profile?
ShaunSHamilton commentedon Jun 30, 2022
Yes
ahmaxed commentedon Jul 6, 2022
Thinking out loud here:
Ideally if we know why something has gone wrong (incorrect username, showCert: false), we would need to communicate that early.
We can avoid redirecting if it is not necessary.
Since the scope of this faq/info page is limited, I think we should not make a help center or support page just yet.
How about using the 404 template, grouping the errors, and displaying a message and a graphic accordingly.
thoughts?
raisedadead commentedon Jul 6, 2022
That is precisely what a dedicated page will be, isn't it?
To be clear, and we all understand this correctly, let's stop calling it a 404 😓. It's just a custom error page. Let's call it what it is and avoid confusion over any HTTP error pages to which Gatsby will automatically route a user when it sees a corresponding error.
Back on to track then:
When we find multiple validation failures, we need to redirect the user somewhere - a custom error page with a clear message or messages on what's happening and what needs to be done.
We can't do flash messages because, by design, they are made for singular validations. They can't be staggered, and we do not do toasts.
So, in short, we will need an error page - the "layout" if you will, could be borrowed from a 404 style design, but that's the only common thing with that.
ahmaxed commentedon Jul 17, 2022
Yes for simplicity a dedicated error page and we could display different error messages based on the url parameters.
moT01 commentedon Jun 6, 2024
Closing this as stale. If anyone still thinks we really need this, let a comment and we can reopen it. Thanks and happy coding 🎉