refactor: Move Sprocket JS files to Webpack (Part 2)#3030
refactor: Move Sprocket JS files to Webpack (Part 2)#3030arkirchner wants to merge 5 commits intomainfrom
Conversation
077f5f9 to
82a05a6
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## ak/move_sprocket_assets_to_webpack_part_1 #3030 +/- ##
==========================================================================
Coverage 70.08% 70.08%
==========================================================================
Files 215 215
Lines 6850 6850
==========================================================================
Hits 4801 4801
Misses 2049 2049 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
8d3ef65 to
c4be790
Compare
| var newMode = 'ace/mode/text' | ||
|
|
||
| $.ajax(this.fileTypeURL + '/' + fileTypeID, { | ||
| $.ajax(this.fileTypeURL() + '/' + fileTypeID, { |
There was a problem hiding this comment.
Routes.js needs the page to be rendered before execution. Calling this on execution ensures the page is present.
ibrahimkonuk
left a comment
There was a problem hiding this comment.
Looks good to me, but haven't tested locally
christophblessing
left a comment
There was a problem hiding this comment.
What about the failing specs? Your changes seem not functional.
MrSerth
left a comment
There was a problem hiding this comment.
On my machine, core aspects of the application are broken, such as the navigation. In addition, errors are given on the console, which reminds me of #2953 (review).
c4be790 to
1062f2d
Compare
1062f2d to
5518e2b
Compare
JavaScript for RfCs, Flashes and the color mode can be moved without modifications. Relates to #3021
ddb6a43 to
721f80e
Compare
Code editor modules are moved and modularized for later removal from global scope. Relates to #3021
5518e2b to
c60094e
Compare
Code editor modules are moved with minimal changes.
The editor is tested in the exercise implimentaion page. Admin exercise page and the RfC page.
Relates to #3021