Commit Graph

562 Commits

Author SHA1 Message Date
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
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 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
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
Konstantinos Triantafyllou 0bd6b3cfb1 Support not includes in advanced form for any field 2022-06-16 12:47:21 +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
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
argirok 9caf036b12 improvements for autocomplete 2022-06-10 12:43:21 +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 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 07c990824e changes for adding stakeholder entities as enum 2022-06-09 11:21:25 +03:00
Konstantinos Triantafyllou f9f9a6d5ea Input: enable tooltip in select type. Search Sorting: Change options for stakeholders 2022-06-06 12:22:01 +03:00
Konstantinos Triantafyllou 187161fef5 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-06-06 11:57:29 +03:00
Konstantinos Triantafyllou 99e3aad2a0 Fix an issue with results per page causing page to crash 2022-06-06 11:55:11 +03:00
Konstantina Galouni 658c96bb02 [Connect & Library | new-theme]: Replaced "Subscribed" badge with "Member" text | Renamed "subscriber" filter to "member" in search communities page | Fixed "view all" buttons in my communities page.
1. browse-community.component.html: Replaced "Subscribed" badge with "Member" text | Updated how restricted/private icons are displayed.
2. browse-community.component.ts: Updated visibilityIcon map (PRIVATE -> incognito icon, RESTRICTED -> restricted icon).
3. browse-community.module.ts: iconsService.registerIcons([incognito, restricted]).
4. communities.component.html & my-communities.component.html: Added uk-button class in "View all" button for communities.
5. portal-search-result.component.html: Replaced "Subscribed" badge with "Member" text.
6. searchCommunities.component.ts: Renamed "subscriber" filter to "member".
2022-06-03 18:34:23 +03:00
Konstantina Galouni b88c65a343 [Library | new-theme]: Create common methods to get entity name and entity file name from OpenaireEntities.
1. string-utils.class.ts:
   a. Added method "public static getEntityName(entityType: string, plural: boolean = false): string" to return OpenaireEntities name by entityType.
   b. Added method "public static getEntityFileName(entityType: string): string" to return OpenaireEntities file name by entityType.
2. directLinking.component.ts & dataProvider.component.ts & project.component.ts & resultLanding.component.ts & myOrcidLinks.component.ts & searchResearchResults.component.ts & result-preview.component.ts & search-tab.component.ts: Call StringUtils.getEntityName and StringUtils.getEntityFileName methods instead of checking if/then/else locally.
2022-06-03 13:01:55 +03:00
Konstantinos Triantafyllou c69ff39d03 Search Page: Fix an error with expression change. Change in all fields with vocubulary or entity plus pid the equality operator to exact. 2022-06-02 17:44:56 +03:00
Konstantinos Triantafyllou bc5f5860f9 Quick contact: Fix a bug with dropdown and add some inputs to make it dynamic. GeneraL: Fix some breadcrumb alignments and fix modal overflowBody parameter 2022-06-02 17:27:45 +03:00
Konstantina Galouni 957a46ad84 [Library | new-theme]: [Bug fix] searchAll.component.html: Add class "uk-flex uk-flex-center" in ul uk-slider-items instead of div with uk-position-relative - on eosc the arrows were visible when they shouldn't. 2022-06-01 18:29:12 +03:00
Konstantinos Triantafyllou 7ef6ae1481 Remove arrow from select inputs in advanced search input. Add focus next in advanced search input. 2022-06-01 17:39:31 +03:00
Konstantinos Triantafyllou dd6ece97c0 Fix available options in page per results in search page. 2022-06-01 16:28:44 +03:00
Konstantinos Triantafyllou c9c1aff2ff Change queries in advanced to support or not. Add different options for every equality operator. 2022-06-01 13:27:46 +03:00
Konstantina Galouni e9a2163136 [Library & openaire-theme & Explore | new-theme]: Beta indication in fos & sdgs (search, landing, dedicated pages) | Fixes in offcanvas and search all page for small screens.
1. badge.css: [NEW] Css file for uk-badge added.
2. import.css: Added @import "structure/badge.css";
3. fos.component.html & sdg.component.html: Added beta badge on top left of the title.
4. landing-utils/fos.component.ts & landing-utils/sdg.component.ts: Added [Beta] in title.
5. searchFields.ts: In sdg and fos RESULT_FIELDS, added [Beta] in their names.
6. offcanvas.css: [Bug fix] In rule .offcanvas .uk-offcanvas-bar added "max-width: 100vw", so that offcanvas does not exceed the screen width.
7. searchAll.component.html: Added some classes in <advanced-search-form> and uk-slider to be better displayed in small screens (form within page with some horizontal margins and arrows in slider).
2022-05-30 15:36:33 +03:00
argirok fd8f53507e Datasource new refine fields datasourcethematic, datasourcejurisdiction
Present boolean filters as Yes/No
In selected filters add filter name for boolean filters
remove boolean sc39 from advanced search
2022-05-30 12:44:39 +03:00
Konstantina Galouni 95549185d9 [Library | new-theme]: Allow also ?pid url parameter in datasource landing | Fixes in newSearchPage for service filters.
1. dataProvider.component.ts: [Bug fix] Allow also ?pid url parameter, query accordingly and set canonicalUrl to use it in seoService and scema2jsonld.
2. dataProvider.component.html: Set canonicalUrl into URL of <schema2jsonld> | Use <landing-header> instead of <showTitle>.
3. dataProvider.service.ts: Set url for querying a datasource by pid (if ?pid in landing url param) and parse also the whole record, the objIdentifier and the relcanId.
4. landing-header.component.ts: Added @Input() isSticky: boolean = false; to set less margins when sticky.
5. resultLanding.component.html: Use <landing-header> instead of <showTitle>.
6. resultLanding.component.ts: Use renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
7. metrics.service.ts: Removed console.log.
8. searchDataproviders.service.ts: Added parsing for relcanId.
9. dataProviderInfo.ts: Added relcanId, objIdentifier, record.
10. result-preview.component.ts: Use renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
11. string-utils.class.ts: Renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
12. [SITEMAPS] extractUrlsFromSearch.ts: Use renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
13. newSearchPage.component.ts: [Bug fix]
   a. entityType for datasources is "dataprovider".
   b. Added service filter options only when entityType == "service".
2022-05-30 10:39:10 +03:00
Konstantinos Triantafyllou 135638ad63 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-05-27 12:22:15 +03:00
Konstantinos Triantafyllou be3020b164 Input component: If in select type more than 7 results available make it autocomplete. Advanced search form add includes/not includes 2022-05-27 12:22:04 +03:00
Konstantinos Triantafyllou dc242a0a3e Fix quickselections view in medium screens 2022-05-25 12:44:13 +03:00
Alex Martzios a0ff8d03c3 search all: add slider/arrows in the tabs 2022-05-23 12:52:41 +03:00
Konstantinos Triantafyllou 703dfd39a8 Advanced search form: Add form to search on enter 2022-05-20 18:07:52 +03:00
Konstantina Galouni 35d91a5fc6 [Aggregator & Library | new-theme]: Fixes in search forms and logo | Removed animation in card results | Added service landing links for incompatible datasources in eosc portal.
1. home.component.html:
   a. Removed uk-margin-large-top from search form and logo.
   b. Removed uk-height-medium from  search form and logo.
   c. Move searchImage on top of search form (uk-width-1-1) for small screens.
2. searchMyOrcidResults.component.html: Removed animation with uk-scrollspy.
3. searchAll.component.html: Move searchImage on top of search form (uk-width-1-1) for small screens.
4. newSearchPage.component.html:
   a. Removed animation with uk-scrollspy.
   b. For simple search, move searchImage on top of search form (uk-width-1-1) for small screens.
   c. For advanced search, searchImage is on top of search form for any screen size.
5. result-preview.component.html & result-preview.component.ts: For eosc portalType, added in incompatible datasources link to the service landing page.
6. aggregators.ts:
   a. In #searchImage commented custom margin-left.
   b. In #searchForm commented custom padding and width.
   c. Exclude also .uk-button-link from custom css for buttons with parent .search_box_bg or #searchForm.
2022-05-20 15:20:50 +03:00
Konstantina Galouni 4ce80019e7 [Library | new-theme]: Improvements & Do not show "Add to ORCID" button in search datasources with pids.
1. dataProvider.component.ts: In method "searchRelatedDatasources()", size can be always 0 (refine query).
2. advancedSearchForm.component.html: [Bug fix] Make all the button line clickable and functional in advanced search form.
3. result-preview.component.ts: Added get method "isResultType()" which checks if result.resultType is result, publication, dataset, software, other.
4. result-preview.component.html: [Bug fix] Call <orcid-work> (add/remove from ORCID buttons) only for results - check for identifiers is not enough, now datasources also have pids.
2022-05-19 19:08:04 +03:00
Konstantina Galouni a4912542c0 [Aggregator & Library | new-theme]: Hide datasources in eosc & Do not show compatibility "Not yet registered" in services.
1. app.component.ts: [Bug fix] Add services search page in menu items if "service" entity is enabled (not datasource".
2.  aggregators.ts: Added "datasource" entity and "/search/find/datasources" page in disabled list for eosc.
3. result-preview.component.html:
   a. Do not show "Not yet registered" compatibility label in services.
   b. For eosc, show in datasources "Not yet registered in OpenAIRE".
4. quick-selections.component.ts: Changed uk-child-width-auto@l to uk-child-width-auto@m (not nice in medium screens for 2 types).
5. newSearchPage.component.ts: "Include" filter name for services changed to "Other Services"
2022-05-19 18:35:59 +03:00
Konstantina Galouni 6caba7a155 [Aggregator | Library | new-theme]: Fixes for eosc portal in search forms.
1. advancedSearchForm.component.html: Updated width in div for entity selection in advanced search form (uk-width-large@m uk-width-2-5@xl uk-width-1-1).
2. newSearchPage.component.html:  In <advanced-search-form> added horizontal padding (on the left it was already there) - the form is centered and leaves some space from the right side of page.
3. aggregators.ts:
   a. Commented background css in .search_box_bg.
   b. Do not apply custom button css for .uk-button-text with parent .search_box_bg or #searchForm.
   c. Added padding: 10px in buttons with parent .search_box_bg or #searchForm.
2022-05-19 12:14:28 +03:00
Konstantina Galouni 7d563c19a8 [Explore & Library | new-theme]: Updates of paging in claims and orcid links pages | Fixes for server side rendering.
1. fos.component.ts & sdg.component.ts: [Bug fix] Added properties.domain as prefix in request for vocabulary - Network error on server.
2. displayClaims.component.html: Used <results-and-pages> before results and <paging-no-load> after results.
3. searchMyOrcidResults.component.html: After results use <paging-no-load>.
4. displayClaims.module.ts & searchMyOrcidResults.module.ts: Imported NoLoadPaging.
5. dataProvider.component.ts & organization.component.ts & project.component.ts & resultLanding.component.ts: [Bug fix] Fixed checks in ngAfterContentChecked, not to run on server.
6. dataProvider.service.ts: Added check if there are subjects.
7. orcid-work.component.ts: [Bug fix] On search view, add classes uk-button uk-button-link in orcid actions.
8. newSearchPage.component.ts: Removed console.log.
2022-05-17 00:31:28 +03:00
Konstantina Galouni 64b0e163fa [Aggregator & Library | new-theme]: [Bug fix] Set properly "dashboard" and "adminToolsPortalType" properties and show "Check compatible EOSC services" button in eosc portal too.
1. env-properties.ts:
   a. In Dashboard type added "aggregator".
   b. In PortalType added "funder", "ri", "project", "organization", "aggregator", "eosc".
2. environments/: Set "dashboard" property to "aggregator" and only for eosc set "adminToolsPortalType" property to "eosc".
3. entitiesSelection.component.ts: Added check if adminToolsPortalType is "eosc".
4. resultLanding.component.ts: In method "hasRightSidebarInfo()" check if adminToolsPortalType is "eosc" to show "Check compatible EOSC services" button.
5. resultLanding.component.html: Show "Check compatible EOSC services" for adminToolsPortalType "explore" or "eosc".
2022-05-16 17:14:50 +03:00
Konstantina Galouni 4242a65199 [Library | new-theme]: [NEW] #6915 - Added new fields in datasources/services.
1. dataProviderInfo.ts: Added fields jurisdiction, thematic, contentpolicy, identifiers.
2. dataProvider.service.ts: Parse new fields.
3. dataProvider.component.html: Added label "Thematic" when true | moved "web page" under the labels | Show identifiers, jurisdiction and contentpolicy.
4. dataProvider.module.ts: Import ResultLandingUtilsModule.
5. parsingFunctions.class.ts: In method "parseIdentifiers()" added parsing for classid "re3data".
6. showIdentifiers.component.ts: Show identifier when key is "re3data" too.
7. string-utils.class.ts: In Identifier class added class and check for "re3data".
8. searchDataproviders.service.ts: In method "parseResults()" parse "pid" and set identifiers.
9. newSearchPage.component.ts: In method "createKeywordQuery()" added check for identifiers for entityTypes "datasource" and "service".
2022-05-16 17:01:35 +03:00
Konstantina Galouni d61839718e [Library | Trunk]: [NEW] Added service entity.
1. result-preview.component.ts & datasourcesHelper.class.ts & entitiesSelection.component.ts & newSearchPage.component.ts & errorPage.component.ts & searchAll.component.ts: Added case for service entity.
2. searchFields.ts: Added  in OpenaireEntities names for Services | In methods "getFieldName()" and "getFieldParam()" case for service entity.
3. searchDataProviders.component.ts: Parametrize component to show/query for datasources or services.
4. quick-selections.component.ts: Delete reset of resultTypes from "initializeFilters()" method.
5. searchDataproviders.service.ts: In method "numOfSearchDataproviders2()" added parameter "typePathParam" to search for datasources or services | In method "parseResults()" set "entityType" according to eosctype field.
6. portal.ts: In method "getmockPortalInfo()" added entity and routes for service.
7. env-properties.ts: Added properties "searchLinkToService", "searchLinkToServices", "searchLinkToAdvancedServices".
8. dataProvider.component.html: Parametrize component to show for datasources or services | [Bug fix] Added [class.uk-invisible]="!dataProviderInfo" in #graph_and_feedback_template.
9. dataProvider.component.ts: Parametrize component to show/query for datasources or services.
10. dataProvider.service.ts: In method "getDataproviderInfo()" added parameter "typePathParam" to search for datasources or services.
11. searchAll.component.html: Added tab for search services.
2022-05-13 15:57:31 +03:00
Konstantina Galouni 5aa832d698 [Library | Trunk]: advancedSearchForm.component.html: Dropdown for advanced search link (all content) replaced with a link to advanced search results (research products). 2022-05-13 15:46:54 +03:00
Alex Martzios 10c70ad1da delete unused files/methods in landing pages 2022-05-10 12:44:10 +03:00
Konstantina Galouni bd6e141801 [Monitor Dashboard & Library | new-theme]: Renaming entity types using OpenaireEntities.
Files updated: develop.component.ts, methodology.component.ts,  claimEntitiesSelection.component.ts, directLinking.component.ts, linkingGeneric.component.html, linkingGeneric.component.ts, approved.component.ts, searchDataprovidersToDeposit.component.ts, errorPage.component.ts, dataProvider.component.html, dataProvider.component.ts, dataProvider.service.ts, relatedDatasourcesTab.component.ts, project.component.ts, myOrcidLinks.component.ts, searchMyOrcidResults.component.html, searchMyOrcidResults.component.ts, searchAll.component.html, searchAll.component.ts, advancedSearchForm.component.html, advancedSearchForm.component.ts, searchDataProviders.component.ts, searchResearchResults.service.ts, numbers.component.ts, other-portals.component.html, other-portals.component.ts, fetchDataproviders.class.ts, fetchResearchResults.class.ts, searchFields.ts, result-preview.component.ts
2022-05-09 13:13:44 +03:00
Alex Martzios b851b3e60b add placeholder img 2022-05-06 16:23:02 +03:00
Konstantinos Triantafyllou e39491e61e Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-05-06 14:02:51 +03:00
Konstantinos Triantafyllou 4e57dd41d2 Remove animation fade from results card and add scrollspy. Remove condition for selected filters sections 2022-05-06 13:47:54 +03:00
Konstantina Galouni 06bb169488 [Library | new-theme]: searchFilter.component.html: [Bug fix] Re-added (valueChange)="sort()" on sort by input | searchFilter.component.ts: Remove parameter from sort() method (not needed). 2022-05-06 13:44:59 +03:00
argirok db1cd20867 Add blur background in tabs slider arrows and in search selected filters 2022-05-06 13:13:45 +03:00
Konstantinos Triantafyllou daaa885b08 Fix a bug with in slider of selected filters, when it is an empty list 2022-05-06 12:57:57 +03:00
Konstantinos Triantafyllou 3e446872c9 Fix slider container with offset to avoid hide information in selected filters 2022-05-06 11:34:24 +03:00
Konstantina Galouni 39a54e060a [Library | new-theme]: Use OpenaireEntities in search pages
1. newSearchPage.component.html: In graph and feedback, replace uk-text-muted with uk-text-meta and add uk-margin-large-top.
2. datasourcesHelper.class.ts & searchDataProviders.component.ts & searchOrganizations.component.ts & searchProjects.component.ts & searchResearchResults.component.ts: Use OpenaireEntities for result type names.
2022-05-05 20:35:08 +03:00
Konstantinos Triantafyllou 0168c5e894 Delete some console logs. Change inputs in filters to small instead of x-small 2022-05-05 16:47:21 +03:00
Alex Martzios a40dfa0165 finish organization landing page 2022-05-05 13:44:46 +03:00
Konstantinos Triantafyllou 057eec2a02 Reorder portal search result information 2022-05-05 12:45:39 +03:00
Konstantinos Triantafyllou 74baa0a1c4 Remove card hover from portal results 2022-05-05 11:24:11 +03:00
Alex Martzios 06e8eb29dd progress on org landing and some other tweaks 2022-05-05 09:32:18 +03:00
Konstantina Galouni 83984ddf79 [Explore & Library & common-assets | new-theme]: No animation in sticky tabs | Tabs stop being sticky when bottom component is in viewport | Updates in powered by bottom message | Updates in statistics in datasource landing.
1. landing-utils.css: Commented transition ease-out in #main-tabs-div.
2. app.component.ts: Added id="bottom" in <bottom>.
3. newSearchPage.component.html: Updated "Powered by OpenAIRE Research Graph" to make the link underlined on hover.
4. metrics.component.ts: Add classes "uk-text-small uk-text-meta" in "Powered by".
5. resultLanding.component.html & project.component.html & dataProvider.component.html:
   a. Updated "Powered by OpenAIRE Research Graph" to make the link underlined on hover.
   b. Add uk-sticky attribute in id="main-tabs-div" only if shouldSticky is true (bottom is not in the viewport).
6. resultLanding.component.ts & project.component.ts & dataProvider.component.ts: Added fields shouldSticky and observer, check in ngAfterViewInit() if bottom is intersecting and kill the observer in ngOnDestroy().
7. statisticsTab.component.ts: Added customContainerClass="uk-background-default" customIframeClass="uk-blend-multiply" in <i-frame>.
8. showAuthors.component.ts: [Bug fix] In "View less authors" make only the link clickable, not the whole row.
2022-05-04 18:09:35 +03:00
argirok fc2fbb5ba0 fix issue with selected types filter 2022-04-21 16:35:34 +03:00
argirok 020a947687 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme
 Conflicts:
	searchPages/searchUtils/newSearchPage.component.html
2022-04-21 16:28:09 +03:00
argirok 8066223086 add uk flex in custom filter 2022-04-21 16:24:41 +03:00
argirok e79275be2a Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-04-21 15:29:09 +03:00
Konstantina Galouni 53d05bf54f [Explore & Library & Common Assets | new-theme]: Updates related to result landing redesign.
1. fos.component.css: Removed rule "mark.highlighted" and ".custom-bottom-border" updated with variables.
2. feedback.component.html: Updated width of email input for small screens.
3. parsingFunctions.class.ts: In "parseAllSubjects()" method, comment otherSubjects and push them in subjects.
4. showIdentifiers.component.ts: Updated classes in <modal-alert>.
5. showSubjects.component.ts: "Subjects by Vocabulary" and "Subjects" separated & view more functionality added in "Subjects".
6. resultLanding.component:
	a. Added button and modal for <addThis> (share in social media).
	b. View more functionality for related organizations.
	c. Graph and feedback section sticky.
	d. Added checks for summary tab and right sidebar.
	e. In small screens made right sidebar offcanvas.
7. resultLanding.module.ts: Updated iconsService.registerIcons to register link, graph, quotes.
8. orcid-work.component.ts: Added visually-hidden in icon buttons for landing | Updated classes in <modal-alert> and use buttons of alert instead of custom.
9. no-load-paging.component.ts: Use new component <results-and-pages> for results and pages number and set uk-flex-right in <paging-no-load> (default is center).
10. cookie-law.css: In ".cookie-law-wrapper" increased z-index from 100 to 1000.
11. showAuthors.component.ts: Removed shadow from search button | Updated classes in <modal-alert>.
12. icons.ts: Added "quotes" svg.
13. alert.ts: Updated modal to have header - body - footer (theme was updated too) | classTitle input set default to "uk-background-primary-opacity" | @Input() overflowBody: boolean = true; added to add overflow in body.
14. paging.module.ts: Added ResultsAndPagesNumComponent in declarations and exports.
15. pagingFormatter.component.ts: Add "uk-invisible" to previous and next buttons instead of hiding them.
16. pagingFormatterNoLoad.component.ts: Add "uk-invisible" to previous and next buttons instead of hiding them | Set customClasses default to "uk-flex-center".
17. tabs.component.ts: Updated margins/ paddings | Added @Input() offsetForSticky:number=0; to compare with the top distance for isSticky.
18. resultsAndPagesNum.component.ts: [NEW] Component to show number of results, number of pages and current page (used in paging).
19. landing-utils.css:
	a. Moved variables in .landing instead of :root.
	b. Added variable --landing-light-color-rgb: var(--light-color-rgb);
	c. Added glass filter in #graph_and_feedback.
	d. Set z-index of #main-tabs-div and #graph_and_feedback to 979 (default 980 caused problems with metrics box).
	e. Added padding-bottom: 80px and margin-top: 80px in .landing-sections.
	f. Added top rule for #right-sidebar-switcher.
	g. Added custom width rules for .landing-left-sidebar-width.
20. css-rules.txt: Added cookie-law-wrapper: 1000 info for z-index
21. explore-custom.css: Added variable --background-primary-rgb: var(--explore-color-rgb);
2022-04-20 17:40:18 +03:00
argirok 01a0a64ff8 update on row slider for selected filters 2022-04-20 11:01:18 +03:00
argirok 2dda0c1630 rename Openaire entities, use them in the filters 2022-04-19 18:47:38 +03:00
argirok cf9cb00e49 selected filters in one row slider 2022-04-19 18:03:09 +03:00
Konstantinos Triantafyllou b19ef578b4 Update advanced search form 2022-04-19 12:33:52 +03:00
Konstantinos Triantafyllou ca4da85090 Add openAccess in quick selection and make it responsive. Remove enter behaviour for select inputs in advanced-search-input 2022-04-19 02:09:42 +03:00
Konstantinos Triantafyllou 19bf9f7968 1. Entities Selections: Fix conditions. 2. Filters selected add uk-text-truncate 2022-04-18 14:43:33 +03:00
Konstantinos Triantafyllou 5f042433be Advanced form: apply new design (not completed). Entities selection for advanced form 2022-04-18 11:29:14 +03:00
Konstantinos Triantafyllou 0384fe87b9 Input make close uk-close. Search-filter: remove stopPropagation from sorting 2022-04-17 01:42:10 +03:00
Konstantinos Triantafyllou 8df2c1a2e1 Fix a bug with search-form. Change uk-text-muted to uk-text-meta 2022-04-16 01:10:34 +03:00
Konstantinos Triantafyllou cee1d9f876 Add advanced-search-input with entities selections in all search-pages 2022-04-16 00:49:35 +03:00
Konstantinos Triantafyllou d17f9b4d5c Add searchForm input in all search pages 2022-04-15 15:38:41 +03:00
Konstantinos Triantafyllou 73b6704124 1. Search Pages: Download link, search from bg with dark option. 2. Input add a no value selected option for select type. Search input toggle if input has no value. 3. Sidebar: Add uk-nav 2022-04-15 11:08:12 +03:00
Konstantinos Triantafyllou d983a24aa4 Fix some issues in input and search input. Add search input in search-page. 2022-04-12 17:20:51 +03:00
Konstantinos Triantafyllou c98bf5aa6f Remove a < committed by mistake 2022-04-12 15:38:44 +03:00
Konstantinos Triantafyllou 9893c9d8f9 Add disable behaviour in inputs in search 2022-04-12 15:34:33 +03:00
Konstantina Galouni fa58577e8c [Library | new-theme]: searchSorting.component.ts & newSearchPage.component.html: Removed ":" after "Sort by" and "Results per page placeholders | result-preview.component.html: Use class uk-text-meta instead of uk-text-muted. 2022-04-12 14:12:45 +03:00
Konstantinos Triantafyllou f20fe90aa2 1. Navbar: Change navbar to be sticky always. 2. Search Filter: Add new inputs. 3. Page-content: Remove offset changing base on menu. 4. Pages add new search-input. 5. Advanced Search Input: Add enter behaviour and make inputs by default equal size. 2022-04-07 18:17:52 +03:00
Alex Martzios acca43d45a tweaks for search page inputs (select) 2022-04-06 16:26:45 +03:00
argirok 01f9facb37 fix filter view-all after merging with linking branch 2022-04-06 14:39:57 +03:00
argirok c5b384c656 Filters in search page: don't render mobile filters, if burger menu is not active 2022-04-06 13:31:52 +03:00
argirok 2370c61eb9 Merge remote-tracking branch 'origin/new-theme' into new-theme-linking 2022-04-06 13:20:13 +03:00
Konstantinos Triantafyllou 6de4cf1282 Remove uikit toggle from search-filters to test perfomance. Fix icon rerendering if svg is changed. Fix some input issues regarding filterOptions 2022-04-06 10:35:10 +03:00
Alex Martzios dfd5876217 new inputs for search page and other overall tweaks 2022-04-05 15:26:26 +03:00
Alex Martzios 59ff682af7 redesign of admin-dashboard pages 2022-03-22 17:47:38 +02:00
Konstantinos Triantafyllou e678ca1072 Merge from master 2022-03-21 14:39:34 +02:00
Konstantina Galouni 6c0724f026 Rename some result refine filter names and reorder them. 2022-03-17 15:13:07 +02:00
argirok 6d7b1976a9 Merge branch 'new-theme' into new-theme-linking 2022-03-16 19:18:26 +02:00
argirok b027575fc0 claims updates 2022-03-16 18:54:22 +02:00
Konstantinos Triantafyllou e103ced738 Merge remote-tracking branch 'origin/master' into new-theme 2022-03-16 15:33:05 +02:00
Konstantina Galouni 6759508fb6 [Library]: Fixes (major: Parsing of organizations in result landing) & Addition of "FOS" and "SDGs" in result refine filters and result landing pages.
1. searchFields.ts: Added fos & sdg refine filters for research results.
2. resultLandingInfo.ts: Added string arrays "fos" and "sdg".
3. HelperFunctions.class.ts: Added method for sdg sorting (splits value, keeps only number before dot and compares numerically).
4. searchResearchResults.service.ts: [Bug fix] when parsing "dateofacceptance", stringify it only if it has a value.
5. searchFilter.component.ts: When sorting filters, sort differently SDGs.
6. resultLanding.service.ts:
	a. [Bug fix] Fix in parsing subtitle.
	b. [Bug fix] Parsing of "Related organizations" was accidentally deleted when parsing of relations changed.
	c. Parse "FOS" and "SDGs" in their specific fields, separately from subjects.
7. resultLanding.component.ts:
	a. [Bug fix] Do not make call for opencitations (deprecated).
	b. Updated method "hasPrimaryInfo()": Description is now array and added checks for organizations.
8. resultLanding.component.html: Display of "FOS" and "SDGs" separately from subjects.
9. showPublisher.component.ts: [Bug fix] Remove from html name of developer!
10. parsingFunctions.class.ts: Parse "FOS" and "SDGs" in their specific fields, separately from subjects.
11. metrics.component.ts: [Bug fix] Default value of "metricsClicked" should be false.
2022-03-15 23:31:10 +02:00
Konstantinos Triantafyllou 1a2925a890 Add loading in search page 2022-03-15 16:29:59 +02:00
Alex Martzios e1a632e63f redesign of result-preview component 2022-03-15 13:13:28 +02:00
Konstantinos Triantafyllou da84e94951 Change filter-tag to uk-label. Change background in quick contact to primary 2022-03-10 18:29:46 +02:00
argirok 2542d452be Merge remote-tracking branch 'origin/new-theme' into new-theme-linking 2022-03-09 10:52:52 +02:00
Konstantinos Triantafyllou 53a0cd733b Merge changes from master 2022-03-08 20:42:50 +02:00
argirok 24848d2bee search add a div to include image in the search bar - if needed 2022-03-08 15:29:52 +02:00
Alex Martzios ca07367d23 result-preview minor tweaks 2022-03-03 16:41:07 +02:00
Konstantinos Triantafyllou 4698a5fafd Delete old sidebar. Make some changes in navbar and user-mini 2022-03-02 23:48:21 +02:00
argirok dcffb611a2 v2 2022-03-02 12:18:24 +02:00
Konstantinos Triantafyllou 13fee133e4 Add new icon for restricted. Change tabs base on new guidelines. Change how-to base on new mocks 2022-02-23 00:37:18 +02:00
Konstantinos Triantafyllou 94519de68b Search page: Change form class back to searchForm 2022-02-21 16:34:43 +02:00
Konstantinos Triantafyllou 5c60c42063 Merge remote-tracking branch 'origin/master' into new-theme 2022-02-21 16:33:33 +02:00
argirok 514cd0dd12 complete previous commit for
clean up search dataproviders for doiRawValue
2022-02-21 16:29:03 +02:00
Konstantinos Triantafyllou 5a69cb2101 Resize icon in portal search result. Delete warning in IconsService. 2022-02-17 17:30:37 +02:00
argirok 497a19a60d apply changes for datasource search pages #7546 2022-02-16 18:43:20 +02:00
Konstantinos Triantafyllou e590ce7b9e Merge commit '014dc9e5562890b61fbafa7705d2f31d0cbcdb74' into new-theme 2022-02-16 18:28:25 +02:00
Konstantinos Triantafyllou cf6ab4a03b Fix filter on disable bug. Add new private icon in portal-search-results. Add method to convert a stakeholder into StakeholderInfo 2022-02-16 18:18:12 +02:00
Konstantinos Triantafyllou 4e9981f24f Add default size usage in icons. Some changes in portal search results. Delete text-as-svg (no need) 2022-02-16 12:01:41 +02:00
Konstantina Galouni 304276f3bc [Library]: Fixes in ORCID put-codes query & query dynamic menu only in development environment.
1. dataProvider.component.ts: Comment log for dataProviderInfo.fundedContent.
2. searchResult.component.ts: In initialize() method, before calling orcidService.getPutCodes, added more checks for type (result, publication, dataset, software, other).
3. navigationBar.component.ts: Call _helpContentService.getMenuItems only in development environment.
2022-02-16 11:40:05 +02:00
Konstantinos Triantafyllou 4e49e7f489 Add new text-as-svg pipe. Add gradient fucntionallity on icons 2022-02-15 16:25:46 +02:00
Konstantinos Triantafyllou db58e5c3e8 Change search page base on new mocks for portal results 2022-02-14 18:02:00 +02:00
Konstantinos Triantafyllou e5a644f2ae Make breadcrumbs also as Input in search page 2022-02-11 16:00:34 +02:00
Konstantinos Triantafyllou 59a7ffd7ce Some small changes in contact and search communities 2022-01-28 13:57:47 +02:00
Konstantinos Triantafyllou 03f412c550 Update search page layout base on new theme 2022-01-21 10:20:46 +02:00
Konstantinos Triantafyllou 13efcd8891 Change filters list to uk-list-large 2022-01-20 13:42:10 +02:00
Konstantinos Triantafyllou 78ee2e4bcd Update search componenents with new theme 2022-01-20 11:19:44 +02:00
Konstantinos Triantafyllou e8f9970074 Icon component: Add visually hidden parameter. Change inside svg instead of scaling. Search change filters to links with uk-label 2022-01-19 14:30:48 +02:00
argirok 845db0a835 truncate text for open access mandate and collected from aggregator_name labels - better display in mobile 2022-01-03 16:10:15 +02:00
argirok 1475fb754b Merge branch 'master' of code-repo.d4science.org:MaDgIK/openaire-library 2021-11-18 12:42:32 +02:00
argirok f19f5e6367 Search pages:skip query parameter if value is empty 2021-11-18 12:42:12 +02:00
Konstantinos Triantafyllou 7ef741c205 Add logoUrl function in string utils and logoUrl pipe for HTML usage 2021-11-12 14:07:55 +02:00
Konstantinos Triantafyllou b9e6894ba1 Portal search result add getLogoUrl 2021-11-12 12:55:07 +02:00
Konstantinos Triantafyllou 02efeb4038 Portal search results fix hasPersmission method. Add private icon in hidden communities 2021-11-03 17:44:12 +02:00
Alex Martzios 045665ae10 Work in progress 2021-11-03 14:00:05 +02:00
Alex Martzios 1ca8d54296 Progress in showing the communities properly - CONNECT 2021-11-03 11:41:17 +02:00
Konstantinos Triantafyllou 5c7430ae7c Portal search card add uk-card class 2021-10-19 15:24:42 +03:00
Konstantinos Triantafyllou ff98d8187b Align portal search results to center vertically. Add Restricted label top right 2021-10-19 15:20:30 +03:00
Konstantinos Triantafyllou 0b3e699796 Portal search results remove link if user has not permission to visit a specific dashboard 2021-10-05 18:12:19 +03:00
argirok 81195135c2 enable impact factors for inspired-ris, show all featured datasets in enermaps featured tab 2021-09-07 13:13:06 +03:00
argirok 18dd1379ad changes for the fix in search pages - #6937 2021-08-13 15:48:41 +03:00
argirok 725d2aa7e3 Search pages: fix #6937- results per page change is not applied when the page or the keyword changes 2021-08-13 12:42:50 +03:00
argirok 3d413cde2d SEO - accessibility: In images add alt, add specific width and height, in links add <span class="visually-hidden"></span> with descriptive text - not visible (add class in library.css) 2021-08-10 13:46:33 +03:00
k.triantafyllou 08bf703186 [Library]: Move angular 11 to trunk. Remove no needed files. Delete angular upgrade branches
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61381 d315682c-612b-4755-9ff5-7f18f6832af3
2021-07-14 11:19:57 +00:00
argiro.kokogiannaki eee822bdeb [Library|Trunk]
SEO changes:
- ignore quick filter in search pages. don't add qf=true, the filter is NOT applied by default.
- add page in the canonical url
- keep order of params to have the same url in canonical no matter the order of the filters
- add prev/ next links

TimeOut interceptor: set it 3000 for server and 6000 for client



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61019 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-19 07:39:08 +00:00
argiro.kokogiannaki 6eed709019 [Library|Trunk]
- Remove inline argument for parsed contexts, projects, remove unused code with <mark> tag


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61002 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-13 15:21:46 +00:00
argiro.kokogiannaki bbdf705ea8 [Library |Trunk]
Search page: fix prefix initialization



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61001 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-13 10:02:50 +00:00
konstantina.galouni ea1795becc [Trunk | Library]:
1. newSearchPage.component.html: In search pages show warning message when there is an error (e.g. timeout) getting refine filters. 
	(do not hide message for not available filters when existingFiltersWithValues > 0 - when there are filters created by url)
2. searchResearchResults.component.ts & searchProjects.component.ts & searchOrganizations.component.ts & searchDataProviders.component.ts:
	a. Set refine to true when there was an error in the previous refine query (searchPage.searchUtils.refineStatus != this.errorCodes.DONE).
	b. When there is an error getting refine filters, call searchPage.prepareFiltersToShow([], 0) (and prepareRangeFiltersToShow() for results and projects).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60992 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-12 14:22:08 +00:00
argiro.kokogiannaki 3d7a6e7260 [Library|Trunk]
Search page: 
	fix for undefined properties
	add page prefix as an input() attribute (for connect)



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60986 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-12 07:18:34 +00:00
konstantina.galouni ac16d505d6 [Trunk | Library]:
1. newSearchPage.component.ts: [Bug fix] Initialize properties (Envproperties) in field definition, not in ngOnInit method (when parent called a method that needs property, may had not been initialized).
2. portal-search-result.component.html: Removed tooltip from description.
3. portal-search-result.component.ts: In method "_formatDescription()" call method "StringUtils.HTMLToString()" before cutting it.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60984 d315682c-612b-4755-9ff5-7f18f6832af3
2021-05-11 09:14:53 +00:00
argiro.kokogiannaki d97a4d6f69 [Library | Trunk]
Search pages: 
	updating canonical url with filters
	update title with filter values



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60976 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-28 15:54:30 +00:00
konstantina.galouni f7fe97900f [Trunk | Library]:
1. myOrcidLinks.component.ts: 
	a. Remove comments from file.
	b. Update and move on top of the page, message about green icons and when the data will be synchronized with ORCID.
	c. Align "Discover research results related to you" on the right side of title.
	d. [Bug fix] Set "baseUrl" with properties.myOrcidLinksPage.
2. orcid-work.component.ts: Show last update date in ORCID, on hover of Update button.
3. searchResult.component.ts: Add a missing condition (|| properties.adminToolsPortalType == "community") to get ORCID putCodes for community dashboards except for Explore portal.
4. env-properties.ts: Added property "myOrcidLinksPage?: string;".
5. result-preview.component.html: 
	a. Add a missing condition (|| properties.adminToolsPortalType == "community") to get ORCID putCodes for community dashboards except for Explore portal.
	b. Hidle "result.orcidUpdateDates" from results preview (this info is moved on hover of update button).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60875 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-16 08:31:05 +00:00
k.triantafyllou 01a6d0a22b [Library | Trunk]: Entities selection add enable all parameter
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60868 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-15 18:26:38 +00:00
k.triantafyllou deff0f595e [Library | Trunk]: Search page fix missing argument on queryChange
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60785 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-02 11:45:00 +00:00
argiro.kokogiannaki 3ef2e0168d [Library|Trunk]
Enermaps integration:
- parse enermaps id
- show in results and in landing (to be revised)
- add enermaps url property
- add function to query all results for community id/ context




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60783 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-02 09:17:00 +00:00
argiro.kokogiannaki 56081c33da [Library|Trunk]
- Cache Interceptor service: add explore home page search queries (stats numbers)
- Result Landing: enhance noindex filter (avoid common title/authors/abstract)
- Search module: remove unused module



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60750 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-30 11:50:15 +00:00
argiro.kokogiannaki d856aadf61 [Library|Trunk]
community service: keeps subscription is array, update clear method.
Advanced search: add check for selected fields array


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60730 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-26 15:45:30 +00:00
konstantina.galouni 4e5ccfa88b [new-UI | Library]:
1. no-load-paging.component.ts: [Bug fix] Added pipe "number" to totalPages.
2. searchProjects.service.ts: Nothing but removed a ";" which was double.
3. search-input.component.ts: 
	a. Added "bordered" class when input is focused (showSearch) or when a keyword exists (selected).
	b. Added "uk-visible@m" and "uk-padding-small" clases when showing selected keyword (padding is added so that border does not move).
4. icons.ts: Added icon "info" (from uikit).
5. string-utils.class.ts: Removed a console.log from "HTMLToString()" method.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60681 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-22 00:18:09 +00:00
konstantina.galouni 127c489da4 [Trunk | Library]:
1. resultLanding.component.html & result-preview.component.html: Show orcid buttons in all environments (production too) | in <orcid-work> added "resultTitle" property.
2. myOrcidLinks.component.ts: Added "getPersonalDetails()" method and link to advanced research outcomes page, filtered by user's name (if personal details from ORCID fails, use name from AAI - getUserInfo).
3. searchMyOrcidResults.module.ts: Removed PagingModule and added NoLoadPaging.
4. searchMyOrcidResults.component.ts: Added method "totalPages()" to calculate pages in paging.
5. searchMyOrcidResults.component.html: 
	a. Added <no-load-paging> (instead of custom paging with <paging-no-load>).
	b. In <orcid-work> added "resultTitle" property.
	c. Fix widths of grid inside card for result preview and orcid buttons.
6. orcid-work.component.ts:
	a. Added "resultTitle" @Input property, to show it in notifications, instead of pids.
	b. Updated messages for errors and for multiple put-codes.
	c. Use "danger" notifications instead of "warning" when an error occurs.
	d. For search and my orcid links pages, in orcid buttons, use <icon> for icons | For landing page, updated icons in orcid buttons.
	e. Added message "The action will affect your real ORCID iD." in tooltips, when environment == 'beta'.
	f. Removed property "procedurePaused" and its usage replaced by "currentAction".
	g. [Bug fix] For search pages, added "uk-align-right", in order orcid button not to take width for the whole line.
	h. [Bug fix] In method "getOrcidWorks()" check "Session.isLoggedIn()" was missing.
7. orcid.component.ts: If personal details from ORCID fails, use name from AAI - getUserInfo.
8. orcid.module.ts: Added IconsModule and registered icons: add, remove, preview, refresh in IconsService.
9. searchResult.component.ts: Call "orcidService.getPutCodes()" in all environments (production too).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60619 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-11 01:40:53 +00:00
argiro.kokogiannaki cca8a3c7f3 [Library|Trunk]
Enermaps datasets: 
	apply changes in search  results components to be able to add custom title and add an image if available.



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60612 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-10 10:41:38 +00:00