-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
Migrate Web Apps to RequireJS #34271
Merged
Merged
Changes from all commits
Commits
Show all changes
94 commits
Select commit
Hold shift + click to select a range
4813367
Added requirejs_main and removed unused decorators
orangejenny 879ce59
Updated debugger.js
orangejenny 151e22a
Updated form_entry/const.js
orangejenny 17cc35d
Updated entries.js
orangejenny a2c64bd
Updated form_entry/errors.js
orangejenny 05201de
Updated form_entry/form_ui.js
orangejenny bf0f2c2
Updated form_entry/task_queue.js
orangejenny eb4e060
Updated form_entry/utils.js
orangejenny d7296bc
Updated form_entry/web_form_session.js
orangejenny 64032bb
Updated formplayer/app.js
orangejenny e4e6c6f
Updated formplayer/apps/api.js
orangejenny 80b931c
Updated formplayer/apps/collections.js
orangejenny 5f1b12c
Updated formplayer/apps/controller.js
orangejenny 13ada35
Updated formplayer/apps/models.js
orangejenny 417b7c2
Updated apps/views.js
orangejenny 3f6fb3d
Updated constants.js
orangejenny 483ecf5
Updated formplayer/hq_events.js
orangejenny 76b6fe8
Updated formplayer/layout/views/progress_bar.js
orangejenny 6e95811
Updated formplayer/layout/views/settings.js
orangejenny d50a396
Updated formplayer/main.js
orangejenny c59446a
Updated formplayer/menus/api.js
orangejenny 679b48a
Updated formplayer/menus/collections.js
orangejenny 7c65cf7
Updated formplayer/menus/controller.js
orangejenny 84de812
Updated formplayer/menus/utils.js
orangejenny 64b0634
Updated formplayer/menus/views.js
orangejenny 97cca47
Updated formplayer/menus/views/query.js
orangejenny e359914
Updated formplayer/middleware.js
orangejenny 90e4c72
Updated formplayer/router.js
orangejenny bdded02
Updated formplayer/sessions/api.js
orangejenny 64e8b9b
Updated formplayer/sessions/collections.js
orangejenny 5155cef
Updated sessions/controller.js
orangejenny b5a4da2
Updated formplayer/sessions/models.js
orangejenny 2b6629b
Updated formplayer/sessions/views.js
orangejenny 05beb0e
Updated formplayer/users/collections.js
orangejenny d9b284d
Updated formplayer/users/controller.js
orangejenny a9e3bbe
Updated formplayer/users/models.js
orangejenny e13bc99
Updated formplayer/users/utils.js
orangejenny 7823784
Updated users/views.js
orangejenny 5412c4e
Updated formplayer/utils/utils.js
orangejenny abdd207
Updated preview_app/main.js
orangejenny 68d6226
Updated preview_app/preview_app.js
orangejenny 9423151
Updated utils.js
orangejenny 258ff20
Removed most remaining script tags
orangejenny 2406101
Removed HMAC callout dependencies
orangejenny a9f8b0b
Updated Ethiopian calendar entry
orangejenny 19cf0b6
Removed compress tags
orangejenny 04eb525
Added dependencies for channel requests
orangejenny 3fc9379
Updated app_manager/js/preview_app
orangejenny 18a1f01
Updated app preview to use RequireJS
orangejenny 8615c13
Moved navigate into utils/utils
orangejenny 57ea0a1
Fixed notifications URL error
orangejenny 3b5f59b
Removed appselect channel responses in favor of directly calling apps…
orangejenny ee00d00
Removed hqRequire from resourceMap response
orangejenny bf313af
Moved current user dependencies from app.js to users models
orangejenny 38ee37f
Moved HQ events tests to requirejs
orangejenny 9b2bd2b
Added menu_list_test back
orangejenny d25ea12
Added session_middleware_spec back
orangejenny 92c5d20
Added user_spec back
orangejenny 6a8874d
Added formplayer utils_spec back
orangejenny beb92fd
Added formplayer integration_spec back
orangejenny 6994776
Restored spec/tils_spec
orangejenny 89b17df
Added query_spec back
orangejenny ff0a775
Added split_screen_case_search_spec back
orangejenny c1322f6
Added markdown_spec back
orangejenny 0963ecb
Added menu_utils_spec back
orangejenny 6ea68a3
Added debugger_spec back
orangejenny 5777f79
Added requirejs_main to form entry tests
orangejenny f851ff9
Restored case_list_pagination_spec
orangejenny e8550f4
Restored form_entry/spec/utils_spec
orangejenny daf75bb
Restored form_entry integration_spec
orangejenny 1a9318e
Restored web_form_session_spec
orangejenny 0c0e6a7
Restored form_ui_spec
orangejenny 81ce4aa
Restored entries_spec
orangejenny 68b27f2
Updated display functions to be synchronous again
orangejenny 2e7fd6e
Moved display options functions into users models
orangejenny 095f4b9
Reduced scope of integration tests
orangejenny 7f0fc28
Moved display options tests into users_spec.js
orangejenny dfe5c21
Switched to uncompressed mapbox
orangejenny c4d07cf
Merge branch 'master' into jls/web-apps-requirejs
orangejenny dff2fd1
Replaced recently-introduced hqImport
orangejenny 53b6a98
Updated progress bar dependencies in utils.js
orangejenny e1bd773
Added wrapShim to requirejs_config
orangejenny 3b6bd7e
Merge branch 'master' into jls/web-apps-requirejs
orangejenny 3460c5b
Removed unused import
orangejenny 615ebbd
Merge branch 'master' into jls/web-apps-requirejs
orangejenny 4bff9f8
Updated CKEDITOR_BASEPATH assignment
orangejenny 1683c4c
Merge branch 'master' into jls/web-apps-requirejs
orangejenny b5929e3
Merge branch 'master' into jls/web-apps-requirejs
orangejenny 8d277d6
Merge branch 'master' into jls/web-apps-requirejs
orangejenny d280bb5
Fixed bad merge - toggles is already in the top-level dependencies
orangejenny 32c5a98
Updated hqwebapp/js/atwho dependencies to include Caret
orangejenny dd654d1
Merge branch 'master' into jls/web-apps-requirejs
orangejenny 6557aa1
Merge branch 'master' into jls/web-apps-requirejs
orangejenny f4ec1ce
"Bootstrap 5 Migration - Rebuilt diffs"
orangejenny File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 21 additions & 5 deletions
26
corehq/apps/cloudcare/static/cloudcare/js/debugger/debugger.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
corehq/apps/cloudcare/static/cloudcare/js/form_entry/spec/fixtures.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
is the comment for documentation? Because I don't understand it.
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.
yeah, I've gotten in the habit of commenting on dependencies that don't map to a named module, usually because they add a jquery plugin or knockout bindings. Otherwise it's hard to know why a dependency is included and when/if it can be removed. Granted, this one is pretty obvious, it's more helpful for dependencies like jquery ui and hqwebapp knockout_bindings that contain multiple features.