-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ditch webpacker in favor of jsbundling/esbundling (#2594)
* gem install jsbundling-rails && rails javascript:install:esbuild * add build cmd * get build working - sprockets called out as such. doesn't load jquery in esbuild yet though * set up jquery, at least in theory * put popover in its own esbuild chunk * stash work for now - next steps get jquery-ui/fa-icons to load, then render_async * remove full jquery-ui - doesn't import right. see gorails video * port tooltips js to es6 * port over multistep modal and part of autosave part one * stash some autosave work * port over the non-autosave js. looks like it works right * tidying, fix a break cmd * turn off tablesort for now * let cssbundling begin * rails css:install:bootstrap * load of cssbuild configurationand setup. next step: get things to show up right again, then completely nuke webpacker * remove old css, hooray. comment out popover thing * checks out * tidy things up. next up: removing dupes * nuke a bunch of duplicative gems now covered by css/esbuild, let's see what happens * vendor jquery-bootstrap-modal-steps * re-add sprockets for right now * get render_async / budget bar operational again * remove all this webpack garbage * get popovers on the budget bar working again * remove more webpack gabrbage * remove even MORE webpack garbage * re-add jqueyr-ujs; bump i18n-tasks config * idk man * whatever I did fixed stupidtable * smell ya later original application.js. let's see what happens * test failure season. start with bringing favicon back and fixing a tooltipsjs bug * oh THAT'S how you load fonts * hacking my way around this problem - js partial not rendering on error code, so simply cheat and always return 200. I know this sucks and I have decided I'm okay with it * fix events test. for some reason fa-icons were eating the whole p content * fix an autosave bug and make psup also not short circuit the js on failure * use separate containers in docker * no ports * we go again * shut off dockercheck for now * restore csp * with a great deal of dread, temporarily set CSP as report actions * revert all the weird csp diffs
- Loading branch information
1 parent
53b844f
commit 37e0d3d
Showing
67 changed files
with
8,454 additions
and
7,495 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
web: bin/rails server -p 3000 | ||
js: yarn build --watch | ||
css: yarn build:css --watch |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
//= link_tree ../images | ||
//= link_directory ../javascripts .js | ||
//= link_directory ../stylesheets .css | ||
|
||
//= link_tree ../builds |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Major library config | ||
@import '../../javascript/styles/bootstrap'; | ||
@import '../../javascript/styles/vendor/jquery-ui'; | ||
|
||
// Custom styling | ||
@import '../../javascript/styles/globals'; | ||
@import '../../javascript/styles/call_list'; | ||
@import '../../javascript/styles/devise'; | ||
@import '../../javascript/styles/users'; | ||
@import '../../javascript/styles/budget_bar'; | ||
@import '../../javascript/styles/clinic_finder'; | ||
@import '../../javascript/styles/calls'; | ||
@import '../../javascript/styles/pagination'; | ||
@import '../../javascript/styles/events'; | ||
@import '../../javascript/styles/patient_menu'; | ||
@import '../../javascript/styles/patient_edit'; | ||
@import '../../javascript/styles/tables'; | ||
@import '../../javascript/styles/footer'; | ||
@import '../../javascript/styles/modals'; | ||
@import '../../javascript/styles/navbar'; | ||
@import '../../javascript/styles/tooltips'; | ||
@import '../../javascript/styles/lines'; | ||
@import '../../javascript/styles/flash'; | ||
@import '../../javascript/styles/forms'; | ||
@import '../../javascript/styles/buttons'; |
Oops, something went wrong.