-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
[B5] settings: API keys page #34593
[B5] settings: API keys page #34593
Conversation
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.
Hi Jenny, I don't have enough knowledge to review the js changes you made in this PR. But left two questions for html changes.
corehq/apps/hqwebapp/templates/hqwebapp/bootstrap5/base_paginated_crud.html
Show resolved
Hide resolved
corehq/apps/hqwebapp/templates/hqwebapp/bootstrap5/base_paginated_crud.html
Show resolved
Hide resolved
Aside, and not a criticism of this PR: maybe it's a sign that I'm old, but I find the new inline labels and fields layout to be harder to read than the two-column layout on a large screen. I think it was changed to accommodate mobile devices, and if that's true I think it's a place where responsive design might be nice (use columns on large screen, inline on small). |
@orangejenny @millerdev I think the form might be harder to follow now due to lack of whitespace. usually the fields should be wrapped in |
Just curious, (if the two column layout refers to left column being label and right column being input field ), why the two column layout becomes one column in this PR? I cannot identify the related code changes... |
@jingcheng16 It's almost invisible. Because the form on this page uses crispy forms, adding the There are also places that key off the containing |
@orangejenny I see.Thank you for the explanation and all the links! ❤️ |
This fires when the user submits the creation form, and django sends back a new form, so the date picker needs to be re-initialized.
Product Description
This is the last view in settings.
It adds datepickers to our tempus dominus library, and it migrates the base CRUD page that's used in a few parts of HQ.
before
after
Safety Assurance
Safety story
UI changes, risk is pretty well limited to this page.
Automated test coverage
Not much if any at the UI level.
QA Plan
https://dimagi.atlassian.net/browse/QA-6513
Rollback instructions
Labels & Review