Commit Graph

2061 Commits

Author SHA1 Message Date
Konstantina Galouni c6a7b6a400 [Library | new-theme]: navigationBar.component.html: Added "uk-active" class in custom menu items and subitems. 2022-06-21 19:52:45 +03:00
Konstantina Galouni bbce674da9 [Connect & Library | new-theme]: Breadcrumbs position updated in html pages | Bug fix in custom menu items | In search menu, use OpenaireEntities.
1. app.component.ts: In search menu, use OpenaireEntities.
2. navigationBar.component.ts: [Bug fix] In method "isTheActiveMenu()", update condition to "if(menu instanceof MenuItem || !menu.rootItem)" - custom menu items via admin tools are MenuItems but not instanceof MenuItem.
3. projectsPage.component.ts & nationalBulletinsPage.component.ts & contentPage.component.ts: Margins & paddings updated, so that breadcrumb is at the same position on all pages.
2022-06-21 19:37:21 +03:00
Konstantinos Triantafyllou 0c4df8a34d Change modal title background in dashboard modals 2022-06-21 13:41:44 +03:00
Alex Martzios 0a27651a65 pages and entities page actions structure 2022-06-21 13:17:43 +03:00
Alex Martzios 3559b7a7ca tweaks for admin: pages, entities, classes and portals html files 2022-06-21 12:22:28 +03:00
Konstantinos Triantafyllou b7f5f17b6a Theme: Add subnav alt pills 2022-06-20 19:57:43 +03:00
argirok 55257b2718 fix issue with linking: do nothing when confirm linking is clicked 2022-06-20 17:09:25 +03:00
Konstantina Galouni fff6dffd88 [Library | new-theme]:
1. orcid.service.ts: [Bug fix] In method "getOrcidWorks()", updated response type from <any[]> to <any> --> "bulk" object with an array inside is returned.
2. orcid-work.component.ts: [Bug fix] In method "getOrcidWorks()", parsing of bulk works fixed to not have problem when null response or error object inside bulk is returned.
2022-06-20 16:55:05 +03:00
Konstantinos Triantafyllou 65eb622653 Remove box-no-shadow from modal buttons 2022-06-20 16:20:03 +03:00
Konstantinos Triantafyllou 240a0c1b0e Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-06-20 16:17:40 +03:00
Konstantinos Triantafyllou cc417adb6b Fix all dashboard modals heights. Role verification remove custom buttons. 2022-06-20 16:17:26 +03:00
Konstantina Galouni dea00ca988 [Library | new-theme]: Bug fixes in orcid (when work was deleted from ORCID ui, problem in "View orcid work" button & on grant (when not granting, but click on logout, success notification was appearing) | Deleted unused code.
1. resultLanding.component.ts & resultLanding.service.ts: Deleted code related to Open Citations (unused and deprecated).
2. myOrcidLinks.component.ts & orcid-work.component.ts: [Bug fix] On method "openGrantWindow()", condition changed to show success notification if (ev.isTrusted && ev.origin == location.origin && ev.data == 'success') - notification was appearing on logout.
3. orcid-work.component.ts:
   a. In #workModal set large="true".
   b. [Bug fix] In method "getPutCode()", called in "View orcid work" button, added check and warning notification if response is null - used to open empty modal.
   c. [Bug fix] In handleError() method, messages fixed -- used to show ...with pids: {{title}}...
4. datasourcesHelper.class.ts: In method "getQueryPrefix()" deleted commented conditional code for the environment.
2022-06-20 15:56:29 +03:00
Alex Martzios 657ff61207 show 'more authors' for result preview 2022-06-20 14:12:48 +03:00
Konstantinos Triantafyllou d01ba65537 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-06-20 13:11:29 +03:00
Konstantinos Triantafyllou 2ba6777d97 Input: Change options breakpoint to 6 2022-06-20 13:11:21 +03:00
Konstantina Galouni 65bf435e12 [Library | Explore | new-theme]: Added a container for modals | Fixes in orcid modal | for journals and registries use common query for beta & prod.
1. app.component.ts: Added <div id="modal-container"></div>.
2. alert.ts: [Bug fix] Updated target container in modal to id #modal-container (get portal specific css and have a generic z-index).
3. datasourcesHelper.class.ts: In method getQueryPrefix(), have a common setting for beta & prod environments.
4. orcid-work.component.ts: In grant modal, removed uk-text-center class and added [overflowBody]=false.
2022-06-20 13:02:23 +03:00
Konstantinos Triantafyllou d42edec539 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-06-17 19:47:52 +03:00
Konstantinos Triantafyllou bf80e2e0b4 Create a new interface for backgrounds and added to quick contact. Modal: Align title to the left 2022-06-17 19:47:47 +03:00
Konstantina Galouni fba0531dbf [Library & common-assets | new-theme]: Fixes in landing for offcanvas right sidebar.
1. resultLanding.component.html: Moved offcanvas right sidebar outside grid (problem with upcoming new openaire theme - .less version).
2. landing-utils.css: [Bug fix]: In  .landing .uk-offcanvas .uk-dropdown, set left and right to auto (dropdown shouldn't go out of offcanvas).
2022-06-17 16:20:17 +03:00
Konstantinos Triantafyllou 8a64b576d0 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-06-17 02:58:03 +03:00
Konstantinos Triantafyllou 398b80d228 Change all offcanvas with uikit class. FIx search filter checkbox and radio label. Modal: Add container to avoid insert class at DOM 2022-06-17 02:57:56 +03:00
Konstantina Galouni fb4df63f19 [Library & common-assets | new-theme]: z-index problems in landing pages & scrolling on page change in tabs and versions modals | Bug fix in projects tab of organizatio landing.
1. landing-utils.css: [Bug fix] z-indexes of uk-dropdown set to 981 (landing only), z-index of #main-tabs-div set to 978, z-index of graph_and_feedback set to 979.
2. showAuthors.component.ts: [Bug fix] Added @Input() isSticky: boolean = false; and when isSticky is true, do not show orcid info & dropdown for authors (z-index problem).
3. resultLanding.component.ts: Added scrolling in "References" and "External Databases" (bioentiites) tabs on page change.
4. resultLanding.component.html: [Bug fix] For the right sidebar, added inner <div class="uk-overflow-auto uk-height-1-1"> inside sticky - z-index problem.
5. result/deletedByInference.component.ts & organization/deletedByInference.component.ts: Added scrolling on page change.
6. projects-in-modal.component.ts:
   a. Added scrolling in "Projects" tab on page change.
   b. Show number of projects and pages always.
   b. [Bug fix] On filterChange(), set page=1.
7. landing-header.component.ts: Added parameter isSticky in <showAuthors>.
8. Added scrolling in "Related Data Sources" tab on page change.
2022-06-16 19:37:31 +03:00
Konstantinos Triantafyllou 4ed89bac13 Sidebar: Add uk-nav-default class in uk-nav. Pagination: Change ratio of icons. Theme preview: Add some missing components 2022-06-16 17:54:50 +03:00
Alex Martzios fc73b55832 tweaks for inputs, buttons and tables to match new theme 2022-06-16 17:24:36 +03:00
Konstantinos Triantafyllou 0bd6b3cfb1 Support not includes in advanced form for any field 2022-06-16 12:47:21 +03:00
argirok 9e7a6852cc Landing: scroll to tab top when change page inside a tab 2022-06-16 10:56:09 +03:00
argirok 13ae37cb61 Tabs: fix scrolling when header is sticky 2022-06-16 10:22:40 +03:00
Konstantinos Triantafyllou d6fa3a87fa Change navbar-height to header-height in langing pages 2022-06-16 01:44:03 +03:00
Konstantina Galouni 25b98c9af0 [Library | new-theme]: cache-interceptor.service.ts: [Bug fix] Updated urls in cachingRequests to include new refine fields and new ordering. 2022-06-15 14:59:38 +03:00
Konstantina Galouni 7dc4c5e664 [Library | new-theme]: Removed parsing and display of special clause 39 (esc39) | In parsing for open access mandate for datasets, added check if field is "projectoamandatedata" (ecarticle29_3 to be renamed to projectoamandatedata).
1. project.component.html & result-preview.component.html: Do not display label for "Special Clause 39".
2. project.service.ts:
   a. Removed parsing of ecsc39.
   b. For parsing of openAccessMandateDatasets, use projectoamandatedata or ecarticle29_3.
3. searchDataproviders.service.ts & searchOrganizations.service.ts & searchResearchResults.service.ts: Removed sc39 from "title" of SearchResult.
4. searchProjects.service.ts:
   a. Removed sc39 from "title" of SearchResult.
   b. Removed parsing of ecsc39.
   c. For parsing of openAccessMandateDatasets, use oamandatedata or ecarticle29_3.
5. organizationInfo.ts: Removed "sc39: string;" from OrganizationProject.
6. projectInfo.ts: Removed "specialClause39: string;" from ProjectInfo.
7. searchFields.ts: Removed "projectecsc39" and added "projectoamandatepublications" in PROJECT_REFINE_FIELDS.
8. result-preview.ts: Removed "sc39: string;" from ResultTitle and ResultPreview | Do not set sc39 in searchResultConvert().
2022-06-15 13:54:49 +03:00
Konstantina Galouni e9bbceebe0 [Library | new-theme]: newSearchPage.component.html: Added in <loading> [ngClass]="'uk-height-medium uk-display-block uk-margin-xlarge-top'", to increase height when only loading is visible. 2022-06-15 13:35:57 +03:00
Konstantina Galouni 8f450e1be6 [Library | new-theme]: showSubjects.component.ts: Bug fixes in subjects.
a. Updated "view all" functionality and how subjects by vocabulary are displayed.
b. Added setTimeout in ngAfterViewInit().
c. Added check in getKeys() if map is defined.
d. Added checks in <modal-alert> for subjects and subjects by vocabulary.
e. Set large="true" in <modal-alert> for subjects by vocabulary.
2022-06-15 13:32:22 +03:00
Konstantinos Triantafyllou 6984e4a4c6 Fix a bug with arrow in slider of selected filters. 2022-06-15 11:08:09 +03:00
Konstantina Galouni ed7e66852a [common-assets & openaire-theme & Library | new-theme]: Updated class for graph color and moved to openaire.css | z-index fixes in dropdown and in landing pages.
1. dropdown.css: [Bug fix] Added z-index: 1 in uk-dropdown to prevent dropdown from being on top of menu.
2. text.css: Removed classes "text-orcid" and "text-argos" (moved to openaire-theme/css/openaire.css.
3. openaire.css: Removed class "graph" and added "text-graph", "text-orcid", "text-argos".
4. dataProvider.component.html & organization.component.html & project.component.html & resultLanding.component.html & newSearchPage.component.html: Use class "text-graph" instead of "graph" for graph color.
5. landing-utils.css: [Bug fix] Updated z-index of #graph_and_feedback to 980 (previous 979) to be on top of tabs in landing pages | background of #main-tabs-div was set twice.
2022-06-14 17:00:13 +03:00
Alex Martzios ba70aaa12e comment out featured menu item - nav bar for now 2022-06-14 13:28:16 +03:00
Alex Martzios a89710765e fix for loading animation in landing pages 2022-06-10 14:56:32 +03:00
argirok 9caf036b12 improvements for autocomplete 2022-06-10 12:43:21 +03:00
argirok cd839447a4 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-06-10 11:21:26 +03:00
argirok c1213b9836 SEO - jsonld: parse all subjects put keep at most 10 2022-06-10 11:19:40 +03:00
Alex Martzios c5050c521f fix for showAuthors component - modal 2022-06-10 11:17:46 +03:00
argirok ec4d727aaa Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-06-09 17:58:39 +03:00
argirok de3ae0dcf1 Entities autocomplete: show selected value if the service doesn't return 2022-06-09 17:58:12 +03:00
argirok f8fb76563e Autocomplete show the id if the service doesn't return any results 2022-06-09 17:54:05 +03:00
Konstantina Galouni c9143ebbf0 [Library & common-assets | new-theme]: min-width in landing right sidebar | fix in classified subjects display | tooltip for license in download from.
1. landing-utils.css: Added class .landing-right-sidebar-min-width { min-width: 360px; }.
2. resultLanding.component.html: In right sidebar added class "landing-right-sidebar-min-width".
3. showSubjects.component.ts: [Bug fix] Removed class "uk-flex-inline" from keys for loop div - so that each tag goes to a new line.
4. availableOn.component.ts: Added uk-tooltip for accessRight tooltip | On hovering licence, show in tooltip the whole value.
2022-06-09 17:51:58 +03:00
argirok 512d1401df minor changes in autocomplete 2022-06-09 17:30:51 +03:00
argirok b451a2ea3a fix multiple promises - one canceling the other - call service once 2022-06-09 16:52:57 +03:00
Konstantina Galouni f974e91c25 [Explore & Library & openaire-theme | new-theme]: Updated parsing of classified subjects by using a vocabulary | Added parsing of instance.license in Download from | Added feedback functionality for fos and sdgs in landing | #7509 Parsing both citations and references fields | In "view all/less" links added chervon-right icon with class "view-more-less-link".
1. fos.component.ts & sdg.component.ts: Added method "urlEncodeAndQuote()" to encode and then quote a string.
2. fos.component.html & sdg.component.html:
   a. "Beta" badge was updated to yellow uk-text-large.
   b. Link to the simple search page instead of the advanced and urlEncodeAndQuote the parameter used in url.
3. link.css: Added class "view-more-less-link" to set on ::after "chevron_right" icon (not underlined on hover) - used in "view all/more/less" links.
4. dataProvider.component.html & project.component.html & fundedBy.component.ts & relatedTo.component.ts & showIdentifiers.component.ts & showAuthors.component.ts: In "view all/less" links added class "view-more-less-link" | Renamed "view more" to "view all".
5. feedback.component.html: Rename wording to be more positive: issues -> feedback, issue -> comment, report -> feedback.
6. feedback.component.ts: Added @Input() preSelectedField: string = ""; and set with it "field" on "addIssue()" (fos/sdg preselected for feedback).
7. availableOn.component.ts:
   a. In "view all/less" links added class "view-more-less-link".
   b. #7833 - Show instance.license information (as link when recognized as url, string otherwise).
8. landing-utils/fos.component.ts & landing-utils/sdg.component.ts:
   a. "Beta" word was updated to yellow uk-text-xsmall.
   b. In "view all/less" links added class "view-more-less-link".
   c. Added feedback functionality: link to feedback form.
9. showSubjects.component.ts:
   a. In "view all/less" links added class "view-more-less-link".
   b. Added "view all" functionality for classified subjects too.
10. resultLanding.component.html:
    a. In "view all/less" links added class "view-more-less-link" | Renamed "view more" to "view all"
    b. Added feedback functionality: link to feedback form - preselect in feedback form fos/sdg.
11. resultLanding.component.ts:
    a. Added public feedbackPreSelectedField: string = ""; field.
    b. Added method "feedbackClicked()".
    c. [Bug fix] In hasPrimaryInfo() added check for classifiedSubjects.
    d. Renamed getProvenanceVocabularyAndResultLandingInfo() to getVocabulariesAndResultLandingInfo() and call also this._vocabulariesService.getSubjectsVocabulary().
12. parsingFunctions.class.ts:
    a. #7196 - Updated parsing of subjects in method "parseAllSubjects()".
    b. #7833 - In method "parseHostedBy_collectedFrom()", added parsing for "license" field.
13. orcid-work.component.ts: On calling method "this.resultLandingService.getResultLandingInfo()", added null parameter for subject vocabulary.
14. searchFilter.module.ts: Import IconsModule.
15. searchFilter.component.html: Removed +/- form "view all/less" links and added class "view-more-less-link".
16. result-preview.ts: Added "licence?: string" in HostedByCollectedFrom.
17. ISVocabularies.service.ts:
    a. Added "private subjectsVocabulary: BehaviorSubject<any> = new BehaviorSubject<any>(null);" field and methods "getSubjectsVocabulary()", "getSubjectsVocabularyFromService()".
    b. Commented this.clearSubscriptions() from "getProvenanceActionVocabularyFromServiceAsync()".
18. resultLanding.service.ts:
    a. On subjects parsing, use subjectsVocabulary.
    b. #7509- Added if/then/else case for parsing citations (new name: references).
2022-06-09 16:45:39 +03:00
Konstantinos Triantafyllou 5e11488c8f Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-06-09 16:21:50 +03:00
Konstantinos Triantafyllou 05172dad18 Input component: Add searchanle input and add it in advanced search form and linking 2022-06-09 16:21:43 +03:00
Alex Martzios e7720c283f fix for underlined space between orcid icon and name (showAuthors component) 2022-06-09 16:10:04 +03:00