Skip to content
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

Merge to master: Release 2.4.9 - Multilingual display and search & new Concept page design #337

Closed
wants to merge 8 commits into from

Conversation

syphax-bouazzouni
Copy link
Collaborator

@syphax-bouazzouni syphax-bouazzouni commented Sep 5, 2023

…ata-by-lang

Feature: Show ontology data by one language
…ata-by-lang

Feature: Show ontology data by one language - part 3
…ingual

Feature | Support multi-lingual: UI Internationalization
…le-value-text-concept

Feature: Add feedback for empty attributes in concepts
* refactor ontology_viewer_page_name to support multiple languages

* refactor sort_by in collection and schemes to support multiple languges

* update ontology_viewer title

* add all option in language selection

* show prefLabel with the specific language in case of all languages

* remove a forgotten debugger in the JS code of language change selector

* revert concept details prefLabel multiple language display

* show corresponding  lang in the tree view

* Show data in platform language when lang is equal to 'all'

* fix sort_by in collections and schemes

* make sub.publication iterable

* use tooltip to show language in concept tree links

* use display_in_multiple_languges methode to show properties in multiple langs

* add tooltips to show language in tree view

* change 'process_concept' method name to 'language_hash'

* define 'display_in_multiple_languages' method

* use 'langauge_hash' methode in collection instead of 'process_concept'

* cls_id to string

* use 'langauge_hash' methode in schemes instead of 'process_concept'

* update tooltip controller to support position

* use 'langauge_hash' methode in _list_view instead of 'process_concept'

* use 'display_in_multiple_languges' to display properties

* fix missing 'end' in application helper

* display_in_multiple_languges in schemes

* fix language_hash method name typo

* check if prefLabel is nil

* use tooltip to show preLabel lang in schemes

* use tooltip to show preLabel lang in collections

* use tooltip in collection

* fix a typo display_in_multiple_languages function name

* extract link_to_scheme helper for schemes tree view

* extract helpers to display the collections list view

* refactor language related helpers code in application_helper

* add language argument to scheme and collection tree links

* refactor scheme and collection helpers to make it work for mutli-langs

* fix sort in tree_link_to_concept and add return first in array on language_hash methode

* extract multi language helpers into a file

* make display_in_multiple_languages directly do the language_hash inside

* rename the helper get_concept_label to select_language_label

* move the not found prefLabel alert in the prefLabel  row

* catch concept list error when concept label is nil

* add main_language_label helper to show the concept label main language label

* fix loader showed in small state by default

* fix alert component text overflowing

* reset turbo progress bar to blue

* add id to tabs container component

* extract sorted_labels helpers for schemes and collections

* fix mappings new form not finding the ontology  by id bu by acronym

* use main_language_label helper for build_tree

* use main_language_label helper in ontology_viewer_page_name

* restore removed properties section content

---------

Co-authored-by: Syphax Bouazzouni <gs_bouazzouni@esi.dz>
* add search language selector

* add language in the ajax request

* add flags to search select

* Merge branch 'development' into feat/multilingual

* customizing TomSelect controller

* use tomselect

* remove bootstrap select

* SelectComponent

* remove flag-icon and use his cdn instead

* use flag-icon cdn

* remove flag icon import statement

* change id for select lang

* remove << HEAD

* update tom select component to use options inner HTML text to show icons

* add lag-icons-rails and iso-639 gems to handle flags display and update code usage

* add language selector component

* remove tooltipster dependecies

* fix flag size in the summary page

* add selected argument  to LanguageSelector component

---------

Co-authored-by: Syphax Bouazzouni <gs_bouazzouni@esi.dz>
@syphax-bouazzouni syphax-bouazzouni changed the title Merge to master 2.4.9 Merge to master: Release 2.4.9 Sep 5, 2023
@syphax-bouazzouni syphax-bouazzouni changed the title Merge to master: Release 2.4.9 Merge to master: Release 2.4.9 - Multilingual display and search & new Concept page design Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant