We probably want to do some testing to be sure all pages and major functions continue to work. Right now I have an upgrade jQuery library installed which will give warnings and errors about things that have changed in the Javascript console, so we can keep it open to look for issues.
I will go to the documentation repository and document how I believe it works. I'm still not clear on some things and it took me a while to figure out others.
Things I did:
Updated to gulp version 4 since that is the latest version and the only one I could get working on my machine. The previous version wouldn't work for me. Try these commands after doing 'npm install`
the gulp command should start a server you can browse at localhost:3000
gulp build recompiles some or most css and javascript. I believe it updates to the ui_library/ directory which isn't used by the application or checked into github, so you have to copy files from there to the static_src directory over the previous file for them to be served by the server.
Updated the bootstrap files being used in SCSS to version 5.
Previously someone had only included a subset of all css files in SCSS, but using that approach I had missing styles which wasted a lot of my time and I had a hard time troubleshooting and fixing the conflicts, so I just loaded the full set of boostrap from CSS rather than a cherry-picked set. The updated SCSS files are still mostly in there in case we can change later.
Most of the bootstrap class names have changed from data-<name> to data-bs-<name> and I updated HTML to get things like accordions and modal dialogs working again.
Loading bootstrap javascript from CDN.
I updated the jQuery to the lastest 3.x version by downloading and putting those files in in the dev area where they can be compiled into the the main2 javascript file.
You can double check the version of jQuery at the javascript console on the site with console.log(jQuery().jquery);.
We probably want to do some testing to be sure all pages and major functions continue to work. Right now I have an upgrade jQuery library installed which will give warnings and errors about things that have changed in the Javascript console, so we can keep it open to look for issues.
I will go to the documentation repository and document how I believe it works. I'm still not clear on some things and it took me a while to figure out others.
Things I did:
gulp
version 4 since that is the latest version and the only one I could get working on my machine. The previous version wouldn't work for me. Try these commands after doing 'npm install`gulp
command should start a server you can browse atlocalhost:3000
gulp build
recompiles some or most css and javascript. I believe it updates to theui_library/
directory which isn't used by the application or checked into github, so you have to copy files from there to thestatic_src
directory over the previous file for them to be served by the server.data-<name>
todata-bs-<name>
and I updated HTML to get things like accordions and modal dialogs working again.dev
area where they can be compiled into the the main2 javascript file.console.log(jQuery().jquery);
.