forked from ontoportal/ontoportal_web_ui
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fix: Auto fill ontology viw of input when we click the '+' button in summary page #512
Merged
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
requested changes
Feb 22, 2024
syphax-bouazzouni
pushed a commit
that referenced
this pull request
Mar 25, 2024
…summary page (#512) * auto fill ontology viw of input when coming form summary page * fix view of input in upload ontology and edit submission
syphax-bouazzouni
added a commit
that referenced
this pull request
Apr 3, 2024
…w Ontologies selector & New Annotator UI page (#488) * Fix: Search page issues (#483) * fix search page typos * add icons for reuses and more from ontology buttons in search page * display each definition in a new line for serch results * Feauture: internationalization part 2 - FAIRScore details, Ontology viewer, browse, metadata curator bulk edit pages (#473) * internationalization fairescore details page * internationalization of ontology_views page * internationalization of edit ontology page * internationalization of browse page * Feature : internationalization part 3- Feedback, Visits, Concepts list and jump_to and annotator plus (#474) * internationalization of annotatorplus/index page * internationalization of notifier/feedback page * internationalization of concepts_browsers/concept_list page * internationalization of ontologies/visits page * internationalization of additional_metadata page * internationalization of concepts_browsers/jump_to page * Feature: internationalization part 4 - Submit success page and Ontology metrics, relations, submissions sections (#475) * internationalization of submit_success ontology * internationalization of ontology_submissions_section page * internationalization of ontology_relations_network page * internationalization of ontology_metrcis_section page * internationalization of scheme page * Feature: internationalization part 5 - FAIRScore, Concept tree and details , widgets, ontology description pages (#476) * internationalization ontologies/fair_score file * internationalization of submission_location_form file * internationalization of concept_tree file * internationalization of ontology_fairness_section file * internationalization of visualize file * internationalization of widgets file * Feature: internationalization part 6 - Metrics, Summary, Scheme and Virtual appliance page (#477) * internationalization of sections/metadata file * internationalization of sections/metrics file * internationalization of schemes/scheme file * internationalization of ontology_fairness_section file * internationalization of virtual_appliance/index file * Feature: internationalization part 7 - Projects page (#478) * internationalization of form projects file * internationalization of edit projects file * internationalization of new projects file * internationalization of show projects file * internationalization of admin/licenses/notice file * Feature: internationalization part 8 - groups page (#479) * internationalization of form file * internationalization of group file * internationalization of edit file * internationalization of index file * internationalization of new file * Feature: internationalization part 9 - Categories page (#481) * internationalization of form file * internationalization of group file * internationalization of edit file * internationalization of index file * internationalization of new file * internationalization of form file * internationalization of edit file * internationalization of index file * internationalization of new file * internationalization of category file * Feature: internationalization part 10 - login and statistics pages (#482) * internationalization of lost_password file * internationalization of lost_password_success file * internationalization of statistics/index file * Feature: internationalization part 11 - users page (#484) * internationalization of edit file * internationalization of show file * internationalization of index file * Feature: internationalization part 12 - notes page (#487) * internationalization of new_comment page * internationalization of note_proposal page * internationalization of note_line page * internationalization of thread page * internationalization of notes/replay pages * Feature : internationalization part 1 - Feedback, Metadata curator, Ontology new, Feedback and Home pages (#472) * internationalization of feedback pages * internationalization of home page * internationalization of new ontology page * internationalization of matadata tab file * delete insert_sample_text and add see_details * Feature : internationalization part 13 - mappings page (#489) * internationalization of count file * internationalization of form file * internationalization of show file * internationalization of loader file * internationalization of loaded_mappings file * internationalization of mapping type selector file * internationalization of show line file * internationalization of mapping table file * Feature : internationalization part 14 - agents page (#490) * internationalization of agent file * internationalization of form file * internationalization of index file * internationalization of agent_usage file * Feature: Update annotator page design (#467) * make radio chip component * udpate the design of recommender page inputs * make radio chip selected initially * make number component and add it to lookbook * add recommender page advanced options * add advanced options revreal to recommender page * handle recommender keywords input text area in recommender page * add results table in recommender page * add sort parameter to option component * make progress bar component * fix recommender page results section style * display recommender page results * add default sorting column in table component * heighlight the row with max final score in recommender page * highlight selected annotations in text recommendation area in recommender page * make edit work in recommender page * make filters work in recommender page * do logic of ontologies and ontologies sets on recommener page * define constraints for the inputs (mins and maxes) in recommender page * limit recommender input text size by 500 char * make insert sample text work in recommender page * add cite button in recommender page * remove get annotations button in recommender page * add recommender cite url * use stimulus values in table component * clean recommender page controllers code * add recommender page texts to local lang files * make advancced options open by default when it's not empty in recommender page * clean recommender page controllers code * init annotator page new design * display annotator page results * add match type in annotator page * add context to annotator results table * add results count in annotator page * Add annotator advanced options * display parents in annotator results * add score to annotator results * group contexts by concept in annotator results * remove unnecessary create method from annotator controller * goup results by class name in Annotator page * clean annotator controller code * clean annotator stimulus controller code * fix annotator page css class names * add empty state in annotator page * display annotator results counts * adding the scores of same class in annotator results * make ontologies filter work in annotator * make semantic types filter work in annotator * make prefrences filters work in annotator * make score_threshold and confidence_threshold filters work in annotator * add tooltip param to input field component * add tooltip param in select component * make fast context filter work * remove annotator old js file * fix annotator page hard coded colors * run annotator and annotatorplus with the same code * remove annotator plus old files * run ncbo annotator using the same code of annotator * remove ncbo annotator old files * put annotator page texts in local lang files * clean annotator js controller code * remove old annotator controller code * make advanced options open when it's not empty in annotator * add annotator bottom actions * remove duplicated icon rdf.svg * clean annotator stimulus controller * use dynamic apiKey in Annotator controller * extract url_to_endpoint method to application controller * make semantic groups filter work in Annotator * replace Cite Annotator and Recommender hard coded values * replace %a html tags with link_to tags in Annotator page * minimaze table component params * remove recognize partail words filter from annotator page * clean annotator controller code * pass NCBO_API_KEY in ncbo_annotator_plus * add a helping comment in annotator controller * make api params clear in annotator controller * Fix: Tests issues (#515) Fix tests issues * Fix: Auto fill ontology viw of input when we click the '+' button in summary page (#512) * auto fill ontology viw of input when coming form summary page * fix view of input in upload ontology and edit submission * Feature : internationalization part 15 - licenses, change_request, check_resolvability, errors and collection pages + change request, collections and check resolvability heplers (#491) * internationalization of licenses/form file * internationalization of change_request files * internationalization of errors files * internationalization of check_resolvability file * internationalization of collection file * internationalization of check resolvability helper * internationalization of change requests helper * internationalization of collections helper * Feature : internationalization part 16 - admin pages, footer appliance file (#493) * internationalization of admin files * internationalization of footer appliance file * Feature : internationalization part 17 - concepts and submissions pages (#495) * internationalization of concepts files * internationalization of show/concepts file * internationalization of submissions files * update of en.yml file * internationalization of submissions controller * update en.yml --------- Co-authored-by: Bilel KIHAL <[email protected]> * Feature : internationalization part 18 -Landscape, visits, properties, layout and ontologies files (#496) * internationalization of faire_score_landscape file * internationalization of notices file * internationalization of ontologies/views file * internationalization of properties/show file * internationalization of visits file * fix the bug of syntaxe in widget file * update the en.yml file * fix visits issue in home page internationalization --------- Co-authored-by: Bilel KIHAL <[email protected]> * Feature: Add an explicit search button to the search page (#504) * Auto search when we change advanced options in search page * add an explicite button in search page * remove advanced options id in search page * Fix: display of content sections in summary page by adding option to disable text truncate (#514) * add truncate option * remove duplicated code * update and use link? function --------- Co-authored-by: Bilel KIHAL <[email protected]> * Feature: make home page bubbles clickable (#513) * Feature : internationalization part 23 - Helpers: admin, agents, components, fair score, mappings, notes, ontologies, schemes and submission inputs (#503) * internationalization of admin helper * internationalization of agent helper * internationalization of fair score helper * internationalization of ontologies helper * internationalization of schemes helper * internationalization of notes helper * internationalization of mappings helper * internationalization of components helper * internationalization of submission inputs helper * update of en.yml file * remove not working translation in ontologies helper --------- Co-authored-by: Bilel KIHAL <[email protected]> Co-authored-by: Syphax bouazzouni <[email protected]> * Feature : internationalization part 19 - All components (#498) * internationalization of search input and file input component * internationalization of language selector component * internationalization of license field component * internationalization of browse card component * internationalization of ontology search component * internationalization of text area field component * internationalization of loader component * internationalization of progress pages component * internationalization of ontology subscribe button component * update the en.yml file --------- Co-authored-by: Bilel KIHAL <[email protected]> Co-authored-by: Syphax bouazzouni <[email protected]> * Feature : internationalization part 20 - Controllers: categories, groups, admin, agents, annotator, annotatorplus ,application, collections, concepts, home, label_xl, landscape + application helper (#500) * internationalization of categories controller * internationalization of groups controller * internationalization of agents controller * internationalization of annotator controller * internationalization of collections controller * internationalization of home controller * internationalization of admin controller * internationalization of application controller * internationalization of concepts controller * internationalization of landscape controller * internationalization of annotatorplus controller * internationalization of label_xl controller * update of en.yml file * internationalization of application helper --------- Co-authored-by: Bilel KIHAL <[email protected]> Co-authored-by: Syphax bouazzouni <[email protected]> * Feature : internationalization part 22 - Controllers: ontolobridge, ontologies metadata cruator, precache, projects, schemes, search, users and virtual appliance (#502) * internationalization of ontolobridge controller * internationalization of metadata cruator controller * internationalization of schemes controller * internationalization of search controller * internationalization of users controller * internationalization of projects controller * internationalization of precache controller * internationalization of virtual appliance controller * update of en.yml file --------- Co-authored-by: Bilel KIHAL <[email protected]> Co-authored-by: Syphax bouazzouni <[email protected]> * Feature : internationalization part 21 - Controllers: language, login, mappings, notes and ncbo annotator plus + MultiLanguages helper (#501) * internationalization of mappings controller * internationalization of notes controller * internationalization of login controller * internationalization of language controller * internationalization of ncbo annotator plus controller * update of en.yml file * internationalization of MultiLanguages helper * skip annotator page weird test * put back annotator page test * include translation helper in notes controller * create a class function for controllers translating * remove binding.pry in notes_controller.rb --------- Co-authored-by: Bilel KIHAL <[email protected]> Co-authored-by: Syphax bouazzouni <[email protected]> * Fix: internationalization of french part (#519) * update the fr.file * remove the duplicated keys in en.yml file * internationalization of ontologies helpers * fix the bug of missing translate error * Internationalization of remaining files * remove duplicated keys and update the en.yml file * remove duplicated keys and update the fr.yml file * fix typ in the internationalization of components.by * update bin/run_api to use the development branch ontoportal_docker --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Feature: Update stageportal ui theme colors and extract svgs colors (#518) * update stageportal ui theme colors * add a loading animation to home twitter news * fix harded coded colors issues in the ui * fix selector component spacing issue * use error color css variable in the remaining hardcoded places * replace hard coded by dynamic colors in all icons --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Fix: add target blank to summary page link to open in a new window (#531) * Feature: Add a "Ontoportal instances" section to point to the other portals (#524) * add the ontoportal_instances in all languages * add the logos of all portals * add the ontoportal section in home page * add PORTALS_LOGOS to config file * remove unused images * fix bug * add PORTALS_INSTANCES variable to the test config file --------- Co-authored-by: Syphax bouazzouni <[email protected]> * fix admin routes that don't work with namespace (#541) * Feature: improve search input component to add key events (#499) * make arrow up down and enter work in search input component * add search button for home and nav search --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Fix: Harmonize API and UI urls in Search, Annotator and Recommender pages (#534) * create a stimulus controller to customize forms urls * harmonize search page api and ui urls * harmonize recommender api and ui urls * harmonize annotator api and ui urls * clean form url controller code * Feature: Update ontologies selector component (#508) * init ontologies selector design * ontologies selector options * display ontologies in ontologies selector * finalize ontologies selector design * put ontologies selector in the modal component * fix ontologies result display in ontologies selector * Make ontologies selector search bar work * show ontologies results count in ontologies selector * make groups filter work in ontologies selector * make filter by categories work in ontologies selector * add ontologies selector loading animation * make submission related filters work for ontologies selector * make select all work in ontologies selector * make retired ontologies and views filters work in ontologies selector * fix ontologies style in ontologies selector * add unselect all in ontologies selector * show tab selected checks count in ontologies selector * Clean ontologies selector js controller code * Add loading animation to ontologies selector * make ontology selection work in ontologies selector * add clear selection to ontologies selector * make ontologies selector component * remove duplicated cross icon in ontologies selector * clean ontologies controller code * use rails cache in ontologies selector * replace use cases of the old ontologies selector * delete old ontologies selector code * convert ontologies selector ui component into a helper * replace the usages of the ontologies selector ui component by the ontologies selector helper * replace 'selector' by 'ontologies_selector' in ontologies controller * add internationalisation to ontologies selector * remove the usage of static cache in ontologies selector * extract save and cancel buttons to a reusable helper in ontologies selector * undo extract save and cancel buttons to a reusable helper * add another type to the loader component that uses the style of the three dots * don't use display all in submissions fetching to make it faster in ontologies controller * remove ontology_picker_single code and replace its usages * give type argument in loader component a more significant value * replace ontologies selector text input by text input helper * replace ontologies selector chips components by chips components helpers * extract save and cancel buttons to helpers in the ontologies selector * fix ontologies selector name fild in search annotator and recommender page * fix text input helper label --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Feature: Add contextual go to API icons in admin sections (#530) * create function to render rounded icon * use the function of rounded button into the admin sections * fix the color of rounded button icon * add api key to correct the urls * fix the style of json rouned button * rename render_rounded_button_with_style to rounded_button_component * Feature: Update ontologies selector component (#508) * init ontologies selector design * ontologies selector options * display ontologies in ontologies selector * finalize ontologies selector design * put ontologies selector in the modal component * fix ontologies result display in ontologies selector * Make ontologies selector search bar work * show ontologies results count in ontologies selector * make groups filter work in ontologies selector * make filter by categories work in ontologies selector * add ontologies selector loading animation * make submission related filters work for ontologies selector * make select all work in ontologies selector * make retired ontologies and views filters work in ontologies selector * fix ontologies style in ontologies selector * add unselect all in ontologies selector * show tab selected checks count in ontologies selector * Clean ontologies selector js controller code * Add loading animation to ontologies selector * make ontology selection work in ontologies selector * add clear selection to ontologies selector * make ontologies selector component * remove duplicated cross icon in ontologies selector * clean ontologies controller code * use rails cache in ontologies selector * replace use cases of the old ontologies selector * delete old ontologies selector code * convert ontologies selector ui component into a helper * replace the usages of the ontologies selector ui component by the ontologies selector helper * replace 'selector' by 'ontologies_selector' in ontologies controller * add internationalisation to ontologies selector * remove the usage of static cache in ontologies selector * extract save and cancel buttons to a reusable helper in ontologies selector * undo extract save and cancel buttons to a reusable helper * add another type to the loader component that uses the style of the three dots * don't use display all in submissions fetching to make it faster in ontologies controller * remove ontology_picker_single code and replace its usages * give type argument in loader component a more significant value * replace ontologies selector text input by text input helper * replace ontologies selector chips components by chips components helpers * extract save and cancel buttons to helpers in the ontologies selector * fix ontologies selector name fild in search annotator and recommender page * fix text input helper label --------- Co-authored-by: Syphax bouazzouni <[email protected]> * move the admin go to api button next to the action buttons --------- Co-authored-by: Syphax bouazzouni <[email protected]> Co-authored-by: Bilel Kihal <[email protected]> * Feature: Make the word "Ontology" configurable in all the portal (#520) * update the fr.file * remove the duplicated keys in en.yml file * internationalization of ontologies helpers * fix the bug of missing translate error * Internationalization of remaining files * remove duplicated keys and update the en.yml file * remove duplicated keys and update the fr.yml file * add the logic to replace ontology with semantic term * fix the bug of missing translation * fix the bug of missing translation * add the semantic term in it and de files * resolve the problem of translation terms * include ApplicationHelper into components.rb to use t(*args) function * add vocabulary, terminology and semantic_artefact terms in all languages * add Resource term to config file * add InternationalisationHelper * Remove the logic of configuring the ontology from the ApplicationHelper * include the InternationalisationHelper into the components.rb * fix the bug of syntax error * eliminate the use of the words ontology and semantic resource together * remove unused code * add documentation to the function * add resource term variable to bioportal config * add comment in all languages to explain how to use the resource term * handle the case of the $RESOURCE_TERM variable is not set --------- Co-authored-by: Syphax bouazzouni <[email protected]> * Feature: update metadata curator design and fix show all submissions (#551) * Feature: Update ontologies selector component (#508) * init ontologies selector design * ontologies selector options * display ontologies in ontologies selector * finalize ontologies selector design * put ontologies selector in the modal component * fix ontologies result display in ontologies selector * Make ontologies selector search bar work * show ontologies results count in ontologies selector * make groups filter work in ontologies selector * make filter by categories work in ontologies selector * add ontologies selector loading animation * make submission related filters work for ontologies selector * make select all work in ontologies selector * make retired ontologies and views filters work in ontologies selector * fix ontologies style in ontologies selector * add unselect all in ontologies selector * show tab selected checks count in ontologies selector * Clean ontologies selector js controller code * Add loading animation to ontologies selector * make ontology selection work in ontologies selector * add clear selection to ontologies selector * make ontologies selector component * remove duplicated cross icon in ontologies selector * clean ontologies controller code * use rails cache in ontologies selector * replace use cases of the old ontologies selector * delete old ontologies selector code * convert ontologies selector ui component into a helper * replace the usages of the ontologies selector ui component by the ontologies selector helper * replace 'selector' by 'ontologies_selector' in ontologies controller * add internationalisation to ontologies selector * remove the usage of static cache in ontologies selector * extract save and cancel buttons to a reusable helper in ontologies selector * undo extract save and cancel buttons to a reusable helper * add another type to the loader component that uses the style of the three dots * don't use display all in submissions fetching to make it faster in ontologies controller * remove ontology_picker_single code and replace its usages * give type argument in loader component a more significant value * replace ontologies selector text input by text input helper * replace ontologies selector chips components by chips components helpers * extract save and cancel buttons to helpers in the ontologies selector * fix ontologies selector name fild in search annotator and recommender page * fix text input helper label --------- Co-authored-by: Syphax bouazzouni <[email protected]> * fix metadata curator show all submissions options that was not working * disable metadata curator bulk edit button see if re-enable in futur * use table and button components in the curator page --------- Co-authored-by: Bilel Kihal <[email protected]> * Feature: Add view badge to the summary header section (#526) * Distinguish views on the summary page * fix image position issue in summary page * Fix: Ontoportal instances home section style issue (#552) * resolve a merge conflict in the check resolvability helper * fix ontoportal instances home section style * save the check_resolvability_message in the text variable --------- Co-authored-by: Syphax bouazzouni <[email protected]> * allow special chars in annotator's input text (#553) Co-authored-by: Syphax bouazzouni <[email protected]> * Fix: Some bugs in the pre-release 2.7.4 including internationalisation and code cleaning (#554) * remove old no more used controller * correct the casing of the imported stimulus controller * remove the internationalization of template string the search components * update internationilaztion helper to add the class method version * clean the include of internationalisation helper in some files * remove unused helper * remove the switch from the metadata curator * update the search input stimulus controller to add searchEndpoint value * clean some old usage to jquery chosen to prepare its total removal * fix project index edit button translation missing * handle the case of corrupted agents in the landscape * catch the missing translation in the overided internationalization * fix duplicated translations * complete missing translations and clean the en.yml file * complete and clean the fr.yml file * fix translation upcasing * fix internationlization not displayed well as sanitized * re-write the french translations * add edit submission french translations * Fix: pre release 2.4.7 global bugs (#556) * fix transparent home page icons * fix transparent icons in the browse page * fix summary page icons styles * Fix recommender style issues * Fix annotator style issues * Fix home fairness json link * fix edit ontology style issues * fix fair score link in summary page * fix summary page empty categories and subject * fix footer email icon link * fix summary page zoom icon * fix broken info tooltip component * display tooltip on truncated links in summary page * add tooltip to truncated groups in summary page * fix chip button icon color * fix mailing list subscription button in account page * fix browse page debug admin color issue * fix the count link in admin page for categories and groups tables * fix agent search autocomplete * fix home page recommender annotator section issue when we're in french * fix duplicated application key in the translation files * fix notes tab style * fix landscape page ontologies selector * use helpers.escape instead of CGI.escape in home_controller * don't display select collection when there is no collection * Fix O'faire summary details modal style * enforce the chips button to be inlined otherwise will break to new line * fix reverted translation after merging to development * rename fix_array_format helper show_ontology_domains --------- Co-authored-by: Syphax bouazzouni <[email protected]> * fix: running local docker api test CI * fix: login page icons size --------- Co-authored-by: Bilel Kihal <[email protected]> Co-authored-by: SirineMhedhbi <[email protected]> Co-authored-by: Bilel KIHAL <[email protected]>
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.
Done in this PR:
Auto fill ontology view of input when we click the '+' button in summary page, see the demo for a better understanding.
Demo
Capture.video.du.22-02-2024.17.59.02.webm