-
Notifications
You must be signed in to change notification settings - Fork 9
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
Feat: use EligibilityVerifierSelectionForm #337
Conversation
7a31ad9
to
06028f3
Compare
@angela-tran I know this is still WIP, but I'm wondering if it would be possible to avoid the bulk of the changes that happened in the Maybe just have this PR focus on the specific adds/changes needed for the selection page, and not all the line-number, reorganization, and timestamp changes? |
@thekaveman I think that's a really good idea. I will do some rebasing and editing to make as minimal of changes to the |
@thekaveman As I've been looking into the remaining work to finish out the selection form, I'm starting to feel like we should split it off into a separate issue. The remaining work is all frontend and might require bigger changes or decisions. Here are the details: In order to get from the current state in this PR to what's in the Figma mockup, the questions to answer are:
|
@angela-tran I think you're right, a separate issue to split out the frontend work makes a lot of sense here. I have some ideas so I'll write up a starter issue and you can edit with what I miss. For this PR, rendering the unstyled radio button list with the intended functionality is good 👍 |
06028f3
to
adcd072
Compare
adcd072
to
0d45e29
Compare
Rebased my commits onto |
The |
@angela-tran doh! forgot about that. #335 is done and deployed 👍 |
Closing and re-opening to rerun the checks |
@angela-tran I think we can just skip the failing tests for now - we know we'll have to update them in #339 anyway. Edit to add: I mean by using |
Thank you @thekaveman! I added |
Make eligibility index handle the EligibilityVerifierSelectionForm, and remove previous hard-coded logic in core/views.py for setting the verifier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found out what the issue is, and if you rebase on dev
again you can make the tests pass:
Since there is only 1 verifier, the eligibility:index
view is forwarding directly to the eligibility:start
view. This view is using the eligibility.pages.start.button
msgid for the button, which still has the old "Ready to continue" value.
d46c3c1
to
2c7137b
Compare
I'll clean up these msgids a bit more in #344 once this is merged 🙏 |
Closes #322
This is dependent on changes from #335
Changes in this PR:
core/views.py
and removedVerifierSessionRequired
fromindex
function ineligibility/views.py
(since that is where the verifier will now be saved to the session)EligibilityVerifierSelectionForm
's submit button and for the selection page content title