-
Notifications
You must be signed in to change notification settings - Fork 6
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 the old JS to a modern frontend JS #426
Comments
The first easy iteration done here #429 |
The second iteration done here #307 |
The third iteration done here #430 |
The fourth iteration done here #431 |
The 5th iteration done here #412 |
The 6th iteration is done here #433 |
The 7th removed the instance JS code here #550 |
Removed |
Remoded chosen dependency in #734 |
This are things remaining to remove/migrate, @Bilelkihal do you think you can migrate to esbuild the following: datatables, alertify (used in admin page) and trumbowyg (not really used but can be useful in the futur) ? // application.js file
//= require bioportal
//= require admin/licenses
//= require bp_ajax_controller
//= require bp_notes
//= require bp_form_complete
//= require bp_admin
//= require concepts
//= require projects
//= require Chart.min
//= require application_esbuild
// vendor.js file
// Jquery 2 dependencies
//= require jquery2
//= require jquery-migrate-1.3.0.min
//= require jquery_ujs
//= require jquery-ui
// popper is required by bootstrap 4
//= require popper
//= require bootstrap-sprockets
// Other
//= require jquery.dataTables
//= require autocomplete
// Alertify is used the admin page
//= require alertify
//= require jquery.readyselector
// can be removed used only in the ontology bridge form
//= require trumbowyg |
@syphax-bouazzouni
The real challenge is in datatables since we use it in many parts of the app, and I couldn't find any alternatives with the same features that doesn't require jquery. |
|
Removed |
Removed |
Context
In release 2.7.0 , we did major work on migrating some old JS code to either a new native JS code or converting it to Ruby, harmonizing and modernizing our code base.
Which makes us more of a ruby project
than before
But still, we, have not yet fully migrated, below are listed our current dependencies that we need to remove or update
From
vendor.js
(external dependencies)From
application.js
(our old js code)TODO
The text was updated successfully, but these errors were encountered: