Skip to content
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

Open
wants to merge 82 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
6091b98
Switched views to B5
orangejenny Apr 30, 2024
a35f804
Updated javascript dependencies and added TODOs
orangejenny Apr 3, 2024
2ae03a9
Updated modals
orangejenny May 14, 2024
76263c6
Updated settings OQPS event
orangejenny May 27, 2024
eaa5588
Updated spinners for clickable icons
orangejenny May 15, 2024
86b2d2a
Migrated to tempus dominus
orangejenny May 20, 2024
49739b7
Fixed grid layouts not displaying icons inline
orangejenny May 16, 2024
9ef185a
Updated CSS classes in javascript
orangejenny May 24, 2024
556e7e1
Finished updating map in case list logic
orangejenny May 24, 2024
73f3347
Removed USE_BOOSTRAP5 in js
orangejenny May 27, 2024
7921e40
Removed B3 files
orangejenny May 27, 2024
9f88ca5
Updated diff config
orangejenny May 27, 2024
fa786f4
Moved B5 files back into default positions
orangejenny May 27, 2024
a8d5b1f
Bootstrap 5 Migration - Rebuilt diffs
orangejenny May 27, 2024
2d326c5
Marked cloudcare migration as complete
orangejenny May 27, 2024
955e829
Removed bootstrap switch detritus
orangejenny May 27, 2024
59c47d8
Bootstrap 5 Migration - Rebuilt diffs
orangejenny May 28, 2024
4c24203
Updated test_update_gruntfile
orangejenny May 28, 2024
f22a20a
Fixed lint errors in Gruntfile.js
orangejenny May 28, 2024
e8a9308
Updated MochaView to know which apps have been migrated to B5
orangejenny May 28, 2024
2d18a5b
Fixed search icon alignment in app preview
orangejenny May 29, 2024
a752e40
Reduced size of confirmation modal buttons
orangejenny May 29, 2024
385327e
Updated pagination to allow for wrapping in app preview
orangejenny May 29, 2024
69bb1c2
Moved styles to center breadcrumb separators to also apply to app pre…
orangejenny May 29, 2024
d4a62b7
"Bootstrap 5 Migration - Rebuilt diffs"
orangejenny May 29, 2024
052ed9b
Removed focusout handlers, set up time questions to initialize to cur…
orangejenny Jun 3, 2024
c814dfc
Increased important of select2 clear icon position
orangejenny Jun 3, 2024
5858f7c
Fixed checkbox styling for combined checkboxes (QA-6621)
orangejenny Jun 3, 2024
726dc4d
Restored background color for menu badges (QA-6622)
orangejenny Jun 3, 2024
23ce924
Fixed datepicker event (QA-6604)
orangejenny Jun 3, 2024
8a777d7
Added tempus dominus compatibility in a few stray places
orangejenny Jun 4, 2024
0926f54
Updated case search errors to display property
orangejenny Jun 4, 2024
cf5c2b5
Restored asterisk for require case search fields (QA-6600)
orangejenny Jun 4, 2024
aeee453
Updated a few styling rules dependent on classes that are no longer used
orangejenny Jun 4, 2024
afb5663
Fixed error styling for select questions (QA-6627)
orangejenny Jun 4, 2024
b185946
Removed contradictory repeat group styles
orangejenny Jun 4, 2024
a3f849b
Updated more styles relating to B3 classes no longer being used
orangejenny Jun 4, 2024
87a31ab
Fixed incorrect check for is-invalid in select choices
orangejenny Jun 5, 2024
08abd2d
Merge branch 'master' into jls/b5-web-apps
orangejenny Jun 5, 2024
69213a3
Imported print styles from B3
orangejenny Jun 5, 2024
e6b4044
Updated print styles to not limit content width
orangejenny Jun 5, 2024
01a4b40
Updated col-* rules in print-general.scss
orangejenny Jun 5, 2024
f093222
Updated col-* rules in form.scss
orangejenny Jun 5, 2024
f959762
"Bootstrap 5 Migration - Rebuilt diffs"
orangejenny Jun 5, 2024
8c5ed79
Added (back) datepicker.scss
orangejenny Jun 5, 2024
dc96524
"Bootstrap 5 Migration - Rebuilt diffs"
orangejenny Jun 5, 2024
07e8d91
Updated stray references to .panel
orangejenny Jun 5, 2024
5b347a4
Removed add_grouop.html
orangejenny Jun 6, 2024
d7825b6
Fixed rendering and saving of OQPS setting
orangejenny Jun 10, 2024
b82231a
Fixed padding in form error UI
orangejenny Jun 10, 2024
b8808ba
Removed unnecessary wrapper containers in debugger's Evaluate XPath area
orangejenny Jun 10, 2024
4c0c688
Removed spacing wrappers around new repeat button
orangejenny Jun 10, 2024
c2d3855
Cleaned up file upload input
orangejenny Jun 10, 2024
f09358c
Added gap to question tiles
orangejenny Jun 10, 2024
f9e6bca
Simplified question.html
orangejenny Jun 10, 2024
a2029a2
Fixed lint errors
orangejenny Jun 10, 2024
b82bd30
Fixed OQPS setting so it can be turned off, not just on
orangejenny Jun 10, 2024
f76b71e
Merge branch 'master' into jls/b5-web-apps
orangejenny Jun 10, 2024
882870d
Fixed display of multiselect checkboxes in case tiles
orangejenny Jun 10, 2024
1c635c8
Merge branch 'master' into jls/b5-web-apps
orangejenny Jun 10, 2024
15e030b
Updated app preview to show required asterisks
orangejenny Jun 11, 2024
b12606d
"Bootstrap 5 Migration - Rebuilt diffs"
orangejenny Jun 11, 2024
909920a
Merge branch 'master' into jls/b5-web-apps
orangejenny Jun 13, 2024
7931f7d
Removed bottom border from multiselect checkbox cells, to match other…
orangejenny Jun 17, 2024
b4667a0
Reduced padding for Login As banner on app preview
orangejenny Jun 17, 2024
290fe23
Updated dropdowns to use .form-select instead of .form-control
orangejenny Jun 17, 2024
834840c
"Bootstrap 5 Migration - Rebuilt diffs"
orangejenny Jun 17, 2024
553d7ac
Fixed refine search button missing at certain screen widths
orangejenny Jun 18, 2024
a71d137
Fixed early wrapping of text in collapsible group headers (SAAS-15619)
orangejenny Jun 20, 2024
16c7210
Merge branch 'master' into jls/b5-web-apps
MartinRiese Jun 21, 2024
9111a85
Revert "Adjusted responsive design for header on case search screen" …
orangejenny Jun 24, 2024
0f3cad3
Merge branch 'jls/b5-web-apps' of https://github.com/dimagi/commcare-…
orangejenny Jun 24, 2024
f3da6fb
Updated date and time widgets to display default values
orangejenny Jun 24, 2024
db72482
Updated date picker to close when date is selected
orangejenny Jun 24, 2024
e0f6ea5
Added error handling for unrecognizable date/time answers
orangejenny Jun 25, 2024
0662cbd
Added date formats
orangejenny Jun 25, 2024
4bcfa60
Fixed offset class (QA-6738)
orangejenny Jun 26, 2024
44359d3
Fixed alignment of checkbox questions with lengthy labels (QA-6739)
orangejenny Jun 26, 2024
d62c074
Updated setting of time value (QA-6735)
orangejenny Jun 27, 2024
03b1350
Merge branch 'master' into jls/b5-web-apps
MartinRiese Jun 28, 2024
72c21db
SAAS-15620: Add margin to h1-h6
MartinRiese Jun 28, 2024
1861df3
"Bootstrap 5 Migration - Rebuilt diffs"
MartinRiese Jun 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion corehq/apps/cloudcare/static/cloudcare/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ hqDefine('cloudcare/js/utils', [
useCurrent: true,
};
if (date.isValid()) {
options.viewDate = new hqTempusDominus.tempusDominus.DateTime(date.format(timeFormat));
options.viewDate = new hqTempusDominus.tempusDominus.DateTime(date.format(dateFormat + ' ' + timeFormat));
}
hqTempusDominus.createTimePicker($el.get(0), options);
};
Expand Down
10 changes: 8 additions & 2 deletions corehq/apps/hqwebapp/static/hqwebapp/js/tempus_dominus.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ hqDefine("hqwebapp/js/tempus_dominus", [
window.Popper = Popper;

let createDatePicker = function (el, options) {
return new tempusDominus.TempusDominus(el, _addDefaultOptions(options, {
let picker = new tempusDominus.TempusDominus(el, _addDefaultOptions(options, {
MartinRiese marked this conversation as resolved.
Show resolved Hide resolved
display: {
theme: 'light',
components: {
Expand All @@ -31,6 +31,9 @@ hqDefine("hqwebapp/js/tempus_dominus", [
format: 'yyyy-MM-dd',
}),
}));
if (options.viewDate) {
picker.dates.setValue(options.viewDate);
}
};

// This replaces createBootstrap3DefaultDateRangePicker in hqwebapp/js/daterangepicker.config
Expand Down Expand Up @@ -71,7 +74,7 @@ hqDefine("hqwebapp/js/tempus_dominus", [
};

let createTimePicker = function (el, options) {
return new tempusDominus.TempusDominus(el, _addDefaultOptions(options, {
var picker = new tempusDominus.TempusDominus(el, _addDefaultOptions(options, {
display: {
theme: 'light',
components: {
Expand All @@ -83,6 +86,9 @@ hqDefine("hqwebapp/js/tempus_dominus", [
format: 'H:mm',
}),
}));
if (options.viewDate) {
picker.dates.setValue(options.viewDate);
}
};

// Combine user-passed TD options with default options.
Expand Down
Loading