-
-
Notifications
You must be signed in to change notification settings - Fork 214
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] Web Apps #34682
base: master
Are you sure you want to change the base?
[B5] Web Apps #34682
Conversation
@@ -0,0 +1,7 @@ | |||
--- | |||
+++ |
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.
why are these not unsplit?
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.
They're still used here:
commcare-hq/corehq/apps/integration/templates/integration/base_cloudcare_template.html
Lines 23 to 34 in 75d6299
<link type="text/less" | |
rel="stylesheet" | |
media="all" | |
href="{% static 'cloudcare/less/font-formplayer.less' %}" /> | |
<link type="text/less" | |
rel="stylesheet" | |
media="all" | |
href="{% static 'cloudcare/less/formplayer-common.less' %}"/> | |
<link type="text/less" | |
rel="stylesheet" | |
media="all" | |
href="{% static 'cloudcare/less/formplayer-webapp.less' %}"/> |
c8af755
to
ffee7a4
Compare
This is basically the result of running the bootstrap migration tool.
Followup for ee098af
- dateTimePickerTooltips are already handled by by defaultTranslations in the HQ tempus dominus module - Several callbacks/handlers were no longer needed - It's annoying that showing the clear button is handled through initial page data, but updating that is out of scope
This finishes up a43a527
The migration tool doesn't check js files for CSS class names, and some of these aren't greppable anyway.
This completes changes that were started in 845d9ff
…(QA-6725) This reverts commit f946ca3.
… into jls/b5-web-apps
This behavior is not added to the time picker or the date range picker since neither of those are single-click interactions.
This makes tempus dominus more forgiving about users entering single-digit months and years, which would previously be rejected as invalid input.
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.
started backwards because I am not sure how far I got before. Stopped at 15e030b
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.
got to 5858f7c
@@ -0,0 +1,7 @@ | |||
.query-caption.required label::before, .search-query-group-header.required .search-query-group-header-label::before { | |||
content: '*'; |
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.
🤯 you can set content in css?
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.
we live in a magical world
@@ -34,10 +34,3 @@ legend { | |||
border-top: $cc-neutral-hi solid 1px; | |||
padding-top: 20px; | |||
} | |||
|
|||
.question-tile-row { |
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.
👍
This doesn't need to be formatted.
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.
new changes look good
* Bootstrap 5 removes the top margin of h1-h6. This affects the collapsible group header layout * Add a class to add an equal margin for h1-h6 top and bottom * Use it for group headers
Product Description
Turn on bootstrap 5 for web apps. Side by side comparisons are here, but the high level summary is: not much changed. Colors are a little brighter, borders are a little lighter, buttons are a little bigger.
Technical Summary
Review by commit. Most commits are small, except the cleanup commits, which are mechanical. Most of this work has been merged already, what remains in this PR is three major changes:
window.USE_BOOTSTRAP5
check.Safety Assurance
Safety story
High risk, as this is a high visibility area, there are a lot of changes (including changes made in previous PRs that will go live when this is merged), and our test coverage at the UI level is limited. We'll be going through the same QA/safety approach as for the web apps requirejs migration.
Automated test coverage
Not a whole lot.
QA Plan
https://dimagi.atlassian.net/browse/QA-6550
Rollback instructions
This can be rolled back if needed. Due to its size, it may get difficult to automatically roll back relatively soon, although it looks like there hasn't been that much activity in the web apps front end in the past few weeks.
Sentry can be monitored for javascript errors using this filter.
Labels & Review