-
Notifications
You must be signed in to change notification settings - Fork 32
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
Feature: Align Bioportal and AgroPortal - part 3 - Update ontology viewer to Turbo #23
Merged
alexskr
merged 15 commits into
ontoportal:master
from
ontoportal-lirmm:pr/align-bioportal-agroportal-part-2
Oct 23, 2024
Merged
Feature: Align Bioportal and AgroPortal - part 3 - Update ontology viewer to Turbo #23
alexskr
merged 15 commits into
ontoportal:master
from
ontoportal-lirmm:pr/align-bioportal-agroportal-part-2
Oct 23, 2024
Conversation
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
syphax-bouazzouni
force-pushed
the
pr/align-bioportal-agroportal-part-2
branch
from
October 10, 2024 14:27
6975e69
to
1882dc6
Compare
syphax-bouazzouni
changed the title
Feauture: Align Bioportal and AgroPortal - part 2 - Update ontology viewer to Turbo
Feature: Align Bioportal and AgroPortal - part 2 - Update ontology viewer to Turbo
Oct 11, 2024
syphax-bouazzouni
force-pushed
the
pr/align-bioportal-agroportal-part-2
branch
14 times, most recently
from
October 12, 2024 13:38
6b62c3a
to
3a7afef
Compare
syphax-bouazzouni
changed the title
Feature: Align Bioportal and AgroPortal - part 2 - Update ontology viewer to Turbo
Feature: Align Bioportal and AgroPortal - part 3 - Update ontology viewer to Turbo
Oct 12, 2024
syphax-bouazzouni
force-pushed
the
pr/align-bioportal-agroportal-part-2
branch
from
October 12, 2024 14:19
3a7afef
to
d19a83e
Compare
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
An updated version of ncbo#223
Require to be merged first
What and why
This PR simplifies and updates our current JS code, by removing 814 lines of JS code but still keeping the same behaviors and features.
It's possible using the two following tools:
Changes
Replace bp_ontology_viewer.js with turbo frame in the ontology viewer ( same behavior with 417 (JS) lines less)(ncbo@9371bc4)
Fix visits chart not showing( (see The visits chart is not displayed in the summary page ncbo/bioportal_web_ui#179)
Fix more... submission button that was not working (ncbo@4e06e29)
Remove empty functions in app/assets/javascripts/bp_notes.js (10 lines less)
Replace concepts tree view node click js code with turbo_frames (same behavior with 259 (JS) lines less)
Update and centralize Split dependency (17 JS code less)
<script src="//unpkg.com/split.js/dist/split.min.js">
Centralize Simple tree dependency and replace JS code that displays the treeview with a turbo frame (41 JS code less)
Extract/centralize autocomplete behavior in a stimulus controller
jump to a concept
feature from app/assets/javascripts/bp_visualize.js.erb to a stimulus controller (87 lines of JS code)Use TabsContainerComponent for the ontology viewer tabs and replace the js code responsible for showing concepts tabs with bootstrap tabs ( 70 lines js code less )
Demo
Screencast.from.2024-10-10.16-27-25.webm