GSA / Challenge_platform

The GSA Challenge.gov platform for managing challenges
Creative Commons Zero v1.0 Universal
4 stars 0 forks source link

Evaluator role access #16

Closed r-bartlett-gsa closed 1 month ago

r-bartlett-gsa commented 4 months ago

User Story

As a user with an evaluator role, in order to evaluate submissions assigned to me, I would like to be able to access evaluation section of the site.

Acceptance criteria:

Development tasks:

Definition of Done

Doing (dev team)

TCKapGrp commented 2 months ago

@mhotch24 Can you provide @stepchud how the error should look like?

TCKapGrp commented 2 months ago

@stepchud, please update the dev task for the errror message.

TCKapGrp commented 1 week ago

@cpreisinger

I did not get the error message per the AC.

Steps to duplicate. 1 - Log into Eval 2 - Use Solver Credentials 3 - Land on Phoenix App 4 - Paste URL: https://challenge-dev.app.cloud.gov/dashboard into browser.

You get a "logged out dashboard" page, not the error.

stepchud commented 1 week ago

@TCKapGrp I tested this out with a new public solver account (didn't have one yet) and instead of showing me the Logged Out Dashboard page, it redirects me to the Challenge Portal logged in as a Public Solver. This should be the correct behavior instead of showing an error message that a public solver doesn't know how to fix, they should just be redirected to the Portal (Phoenix) with access only to their public solver features (submissions etc). Let me know if you see something different. Is it possible your login timed out while you were testing (should be 15 minutes)?

TCKapGrp commented 1 week ago

@stepchud I think what you are describing is the "happy path" where a person just logs into the system and gets properly redirected. The AC has a requirement that if you copy/paste the URL it displays an error message. I did the above proceedure twice (log in as Eval, got directed to Phoneix, copy/paste dashboard URL) and it landed on this page: Image

r-bartlett-gsa commented 1 week ago

@TCKapGrp I crossed out the error message part of the 3rd criteria, and also re-tested it and it worked as @stepchud described (as expected). If you are getting a logged out screen instead of getting routed to public solver's dashboard, please try testing it in incognito and see if that resolves the issue.

@stepchud The caching issue for when trying to navigate multiple user roles we'll need to eventually resolve, and I will create a separate ticket for it.

TCKapGrp commented 1 week ago

Thank you @r-bartlett-gsa . I was using the URL I thought I was supposed to for login which was incorrect. I was using incognito mode. I've updated my notes for the correct url to use for login. Testing with that URL, it works great!

https://gsa-tts.slack.com/archives/GTETE7W82/p1729607717227789

TCKapGrp commented 1 week ago

@mhotch24 , confirming that as card does not display new UI the a11y testing N/A. cross browser testing N/A. Any user experience difficulities caused by any confusion why the /dashboard link doesn't "work" by pasting it into the browser is not affecting people with disabilities disproportionately.