Commit Graph

1001 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou 40ef950715 Merge remote-tracking branch 'origin/develop' into angular-16 2023-08-23 16:52:36 +03:00
Konstantinos Triantafyllou c658f6b63f Fix dropdown-filter where the mobile dropdown opens in Desktop too. 2023-08-23 16:52:21 +03:00
Konstantinos Triantafyllou 7906b056c9 Fix drops and dropdowns in avalableOn, result-preview and showAuthors 2023-08-23 16:42:52 +03:00
Konstantinos Triantafyllou d9a8283630 Update to Uikit 3.16.24 2023-08-22 17:08:46 +03:00
Konstantinos Triantafyllou 51e3980179 Update angular to version 16 2023-08-01 14:29:27 +03:00
Konstantinos Triantafyllou 3b6822c71f Update material to version 15 2023-08-01 11:40:55 +03:00
argirok 4e3df67f7e Loading modal component: click on background not close the modal, fix mobile version conflicting with ng-content 2023-07-28 11:16:30 +03:00
Konstantina Galouni 6b2864ad02 [Library | develop]: entity-actions.component.ts & transferData.component.html & orcid-work.component.ts & resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html: Added "tooltips/messages" under the landing actions in mobile-small screens. 2023-07-27 15:28:40 +03:00
Konstantinos Triantafyllou 0a56d1fae6 Remove mobile-dropdown when navigation start from container. 2023-07-27 10:38:41 +03:00
Konstantinos Triantafyllou 056faac88f Add mobile-dropown in dropdown-filter. Fix input autocomplete in mobile. Fix icon alignment in fundedBy. Add scroll to top in fs-modal and on change tab in landing mobile bar. 2023-07-26 11:49:50 +03:00
Konstantinos Triantafyllou 86ba54c7d0 Fix mobile-dropdown open-close. Fix input in mobile. Add mobile-dropdown in availableOn, fundedBy, showAuthors. 2023-07-25 19:09:09 +03:00
Konstantina Galouni 6ecde003af [Library | develop]: [Bug fix from previous commit] string-utils.class.ts: Closing brackets correctly in getPIDFromIdentifiers method. 2023-07-25 13:31:26 +03:00
Konstantina Galouni 52fc9ce22a [Library | develop]: helper.class.ts: Added return false in method "isCurator()" as fallback | stakeholder.ts: Added return "" in methods "getFilter()", "getResultFilter()", "getProjectFilter()", "getOrganizationFilter()", "getCountryFilter()" as fallback | string-utils.class.ts: Added return null in method "getPIDFromIdentifiers()" as fallback. 2023-07-25 13:24:24 +03:00
Konstantina Galouni 27f644aad1 [Aggregator | develop]: In search bars, set in placeholder the portal name according to the configuration name.
1. home.component: Get portalName by config.portalAsObservable>name and set placeholder to "Search "+portalName.
2. portal.ts: Added parameter "name: string" in method "getMockCommunityInfo()" and set communityInfo.name = name;
3. aggregators.ts: In method "getCommunityInfoByMenuId()", added "name" parameter in Portal.getMockCommunityInfo() | Updated titles in PortalAggregators>AggregatorInfo.
2023-07-24 19:56:51 +03:00
Konstantina Galouni b18cfcf533 [Library | develop]: resultLanding.component.html & resultLanding.component.ts & transferData.component.html & transferData.component.ts: In desktop view, reverted data transfer modal to normal instead of full screen & small fixes for action icon and modal view | aligned "Go to search" back button with the rest of the page contents. 2023-07-20 17:06:46 +03:00
Konstantinos Triantafyllou 2b7c5da3d7 Input: Add * for required fields with type array. Scroll to top in open of a modal. 2023-07-18 15:27:02 +03:00
Konstantinos Triantafyllou 5645deec97 Change portal client-management to developers 2023-07-13 18:39:26 +03:00
Konstantinos Triantafyllou 2f98910712 Mock portal: Enable services. 2023-07-13 14:18:17 +03:00
Konstantinos Triantafyllou 8b57fae585 Add static configuration in configuration service 2023-07-13 13:44:19 +03:00
Konstantinos Triantafyllou 46b3e937bf Configuration service: init null if doesn't exist. 2023-07-13 12:21:35 +03:00
Konstantinos Triantafyllou 2312c5356b Remove a --> from search form. 2023-07-13 11:47:55 +03:00
Konstantinos Triantafyllou 5d6fa99a73 Piwik service: Change map to switchMap in order to return the observable. 2023-07-12 16:24:23 +03:00
Konstantinos Triantafyllou 37b7423e7f Simplify piwik logic: All work is done in piwik.service. 2023-07-12 15:05:25 +03:00
Konstantinos Triantafyllou 50422c0ab3 Merge remote-tracking branch 'origin/develop' into dynamic-piwik 2023-07-12 13:56:18 +03:00
Konstantinos Triantafyllou 9760ebab2e Create mobile-dropdown component and use it in Inputs. Change height to min-height in full-screen-modal and in cite-this. 2023-07-11 16:03:08 +03:00
Alex Martzios ae68622fb6 landing & search: add label for authors row 2023-07-11 12:59:43 +03:00
Konstantinos Triantafyllou 201792b0e3 Landing tabs: Add border-left and radius-left, reduce gutter between sections and align section content with Tab name. 2023-07-06 16:29:17 +03:00
Konstantinos Triantafyllou 76cb586ebd Add foslabel in searchFiles only for beta, dev. Change eoscifguidelines to refine. Input fix double icon in select with many values. 2023-07-06 12:53:37 +03:00
Konstantina Galouni 13b7f90707 Forgot to add in previous commit composer.ts file - bug fix in imports 2023-07-05 11:41:42 +03:00
Konstantina Galouni a6dee41979 Merging 'develop' branch into explore-redesign. 2023-07-05 11:40:43 +03:00
Konstantinos Triantafyllou aa10b35f7a Fix ResizeObserver condition in landings and fs-modal 2023-07-04 11:53:08 +03:00
Konstantinos Triantafyllou 18b5ce2201 Fix bodyHeight in full screen modal. 2023-07-04 11:08:39 +03:00
Konstantinos Triantafyllou 21fde9cbac Merge remote-tracking branch 'origin/develop' into stats-profile 2023-06-28 11:18:23 +03:00
Konstantinos Triantafyllou 8d8eda416b Update New Manager message base on #8687 2023-06-27 12:08:58 +03:00
Konstantinos Triantafyllou 23a47cc5da Merge develop into stats-profile 2023-06-26 15:25:47 +03:00
Konstantinos Triantafyllou 7d2eb68914 Add refreshToken and accessToken in userInfo. Add property for clientManagementAPI. Create jsonValidator 2023-06-26 11:31:22 +03:00
Konstantinos Triantafyllou 690226b031 Merge remote-tracking branch 'origin/develop' into stats-profile 2023-06-23 15:57:10 +03:00
Konstantinos Triantafyllou 56428d0dae Merge branch 'develop' of code-repo.d4science.org:MaDgIK/openaire-library into develop 2023-06-23 15:25:24 +03:00
Konstantinos Triantafyllou 633716b832 Add progress circle as example in theme component 2023-06-23 15:25:17 +03:00
Konstantina Galouni 558357b03e [Library | develop]: full-screen-modal.component.ts: [Bug fix] Removed uk-invisible class from ok and cancel buttons section (wrong check and buttons never appeared) & Added uk-disabled class in back link. 2023-06-22 16:48:10 +03:00
Konstantina Galouni 1307b4d290 [Library | develop]: transferData.component: Removed "demo" label from data transfer. 2023-06-19 11:02:23 +03:00
Konstantinos Triantafyllou 074fd93ea0 Merge remote-tracking branch 'origin/develop' into stats-profile 2023-06-16 10:03:07 +03:00
Konstantina Galouni a0b4ccff23 Merge remote-tracking branch 'origin/develop' into data-transfer-v2 2023-06-13 16:12:56 +03:00
Konstantina Galouni 806cec4043 Library | data-transfer-v2: transferData.component: Added checkbox in the form of accepting the data protection policy 2023-06-13 16:10:06 +03:00
Konstantinos Triantafyllou f81f6d051e Merge remote-tracking branch 'origin/develop' into stats-profile 2023-06-09 20:52:40 +03:00
Konstantinos Triantafyllou aa54090c5a Add locale in number pipes and stakeholder. 2023-06-09 20:52:10 +03:00
Konstantinos Triantafyllou a37662cd7e Merge remote-tracking branch 'origin/develop' into dynamic-piwik 2023-06-08 11:31:27 +03:00
Konstantinos Triantafyllou e6d4be5454 Add client-management-portal in Dasbboard values of properties. 2023-06-07 17:34:53 +03:00
Konstantina Galouni 9852bdeebf Merge remote-tracking branch 'origin/develop' into data-transfer-v2 2023-06-07 14:52:05 +03:00
Konstantinos Triantafyllou 0f265f435b Add emal composer for cache indicators report. Move parse userinfo from user-management service to helper. 2023-06-07 14:22:14 +03:00
Alex Martzios 8f492223d0 search page - results: add mobile actions, display authors and pids (but not in "other versions" section 2023-06-07 11:09:43 +03:00
Konstantinos Triantafyllou 4e91d169e0 Merge remote-tracking branch 'origin/develop' into stats-profile 2023-05-29 15:25:23 +03:00
Konstantinos Triantafyllou bb8f196abb Disable local get calls in server because of network error and return empty element as a response. Fix bug in sdg with async calls. 2023-05-27 22:48:13 +03:00
Konstantina Galouni 3ee89e2bca [Library | develop]: ISVocabularies.service.ts: [Bug fix] In methods getFos() and getSDGs(), removed check and call to cache - these files are always local | sdg.component.ts: Set customFilter and pass it as parameter to <sdg>. 2023-05-26 14:37:34 +03:00
Konstantina Galouni d24576a5c7 [Library | develop & Eosc Explore | develop]: Added in eoscSubjects, "EOSC::Data Cube" | Updated eosc url params in landing for back "Go to Search" link - "return_path" and "search_params" (instead of pv).
1. parsingFunctions.class.ts: Added in eoscSubjects, subject "EOSC::Data Cube" (linked with Adam plarform).
2. result-preview.component.ts & fundedBy.component.ts & availableOn.component.ts & relatedDatasourcesTab.component.ts: Updated method "addEoscPrevInParams()" to add 2 parameters: "return_path" and "search_params" (instead of pv).
3. resultLanding.component.ts:
   a. Updated how this.prevPath is initialized (parse url params "return_path" and "search_params" instead of "pv").
   b. Added method "getEoscParams()" to return eosc params as a string (to be used in href).
   c. Updated method "addEoscPrevInParams()" to add 2 parameters: "return_path" and "search_params" (instead of pv).
4. project.component.ts & dataProvider.component.ts:
   a. Updated how this.prevPath is initialized (parse url params "return_path" and "search_params" instead of "pv").
   b. Updated method "addEoscPrevInParams()" to add 2 parameters: "return_path" and "search_params" (instead of pv).
5. organization.component.ts: Updated how this.prevPath is initialized (parse url params "return_path" and "search_params" instead of "pv").
6. metrics.component.ts: Added method "getEoscParams()" to return eosc params as a string (to be used in href).
2023-05-25 18:10:58 +03:00
Konstantinos Triantafyllou 39a7ed58be Properties: add hasMachineCache in order to use cookie or not. 2023-05-25 16:37:12 +03:00
Konstantina Galouni 9856805621 [Library | explore-redesign]: Fixes in usage counts iframes, bip iframe, orcid buttons in search results, filters button in small screens and fos/sdgs vocabulary calls.
1. dataProvider.component.html & project.component.html & resultLanding.component.html: [Bug fix] Updated checks for usage counts iframes and changed the order they appear (first views, then downloads).
2. dataProvider.component.ts & project.component.ts:
   a. [Bug fix] Added fields public hasViews: boolean = false; and public hasDownloads: boolean = false; - used in checks for displaying usage counts iframes.
   b. [Bug fix] Updated parsing of dataProviderInfo.measure.counts when querying external usage counts api.
3. resultLanding.component.ts:
   a. [Bug fix] Added fields public hasViews: boolean = false; and public hasDownloads: boolean = false; - used in checks for displaying usage counts iframes.
   b. [Bug fix] In bipFrameUrl, when environment == "beta", add "&src=beta" parameter.
4. orcid-work.component.ts:
   a. [Bug fix] Updated disabled class checks, to enable orcid buttons in search too when there are identifiers.
   b. When loading - action is in progress, show loading icon next to the label.
   c. In my orcid links page: renamed "Add to ORCID" to "Claim" and "Delete from ORCID" to "Remove".
5. newSearchPage.component.html: [Bug fix] Updated checks for "filters" floating button in mobile/ small screens.
6. Added method "detectChanges()" to be called by html.
7. navigationBar.component.html: Updated placeholder of search-input to align with the generic search form (Home page).
8. ISVocabularies.service.ts: [Bug fix] In methods getFos() and getSDGs(), removed check and call to cache - these files are always local.
2023-05-19 14:37:23 +03:00
Konstantina Galouni ab43152a6a [Library | data-transfer-v2]: For data transfer, open full screen modal instead of alert modal | Support transfer of hierarchical files | Show description in storage types.
1. full-screen-modal.component.ts: Added cancelButton: boolean = true; and show cancel button, only if cancelButton is true and okButton is false.
2. transferData.module.ts: Imported FullScreenModalModule.
3. transferData.component.html: Replaced <modal-alert> with <fs-modal> and updated the interface accordingly | In inputs, set [inputClass]="'flat'".
4. transferData.component.ts:
   a. Configure FullScreenModal, instread of AlertModal.
   b. In destinationOptions, set label to dest.description (used to be dest.destination).
   c. In transfer, in destinations, use also element.path, to keep the initial structure/ hierarchy when transfering files.
2023-05-16 16:36:43 +03:00
Konstantinos Triantafyllou 2ca9f0bdd4 Merge remote-tracking branch 'origin/develop' into stats-profile 2023-05-16 13:17:56 +03:00
Konstantina Galouni bda90f2c38 [Library | explore-redesign]: Bug fixes in range filter, advanced search link of search all page, search results "cards" in mobile screens.
1. rangeFilter.component: [Bug fix] Removed from method get disabled() check of isDisabled and added this check for class "disabled" in action/button (error on enter, because isDisabled was already true before triggering the action of yearChanged).
2. search-input.component.ts: [Bug fix] Added check for client side in ngAfterViewInit(), before calling "getComputedStyle".
3. searchAll.component:
   a. Set "advancedSearchLink" properly and pass it to each search entity page in "simpleSearchLink" parameter.
   b. In <advanced-search-form>, pass parameters [entityType]="activeEntity" and [advancedSearchLink]="advancedSearchLink" [advancedSearchLinkParameters]="parameters".
4. advancedSearchForm.component.html: Removed check this.entityType == this.selectedEntity from advanced search link.
5. searchFilter.component.ts: In filterKeywords() method, added cdr.detectChanges().
6. searchResult.component.html: [Bug fix] Reverted [isMobile] parameter to <result-preview" (removed by mistake in a previous merge).
2023-05-16 12:28:35 +03:00
Konstantinos Triantafyllou 53d3afefd1 Merge remote-tracking branch 'origin/develop' into explore-redesign 2023-05-16 11:12:28 +03:00
Konstantina Galouni e07891e4fa [Library | explore-redesign]: Moved <quick-selections> to the left as filter and re-arranged the order of the filters.
1. searchFields.ts:
   a. Added in HIDDEN_FIELDS, "instancetypename" (refine filter for research products).
   b. In DEPENDENT_FIELDS, set ["instancetypename"]: "type"
2. quick-selections.component.ts: Added again (as in the past), @Input() vertical: boolean=false and show types using <search-filter> if vertical is true.
3. searchAll.component.html: Changed medium top and bottom margins to uk-margin-top uk-margin-bottom.
4. newSearchPage.component.ts:
   a. In method "getFields()", check for HIDDEN_FIELDS, also dependencies to resultTypes.
   b. Added method "getFilterById()".
5. newSearchPage.component.html:
   a. Moved <quick-selections> to the left as filter (removed "include" line).
   b. Added <ng-template #search_filter> and re-arranged the order of the filters
2023-05-12 18:52:13 +03:00
Konstantinos Triantafyllou 5e4477c946 Range-filter: Add background modifier in input 2023-05-12 18:06:10 +03:00
Konstantinos Triantafyllou bfd1bc3f0b Merge branch 'explore-redesign' of code-repo.d4science.org:MaDgIK/openaire-library into explore-redesign 2023-05-12 17:25:20 +03:00
Konstantinos Triantafyllou 123f355344 Input: Extend enter - before unfocus. Range-Filder: Add on enter method, in order to change year range on search. 2023-05-12 17:24:27 +03:00
Alex Martzios 29723188bc resultLanding: in versions modal, expand authors instead of opening them in a new modal 2023-05-12 15:55:22 +03:00
Konstantinos Triantafyllou 73f2215c07 Modal: Fix UIkit undefined in server 2023-05-11 13:04:09 +03:00
Konstantinos Triantafyllou 1af14e068d Change range-filter with new year-range input and add messages in the validators. 2023-05-10 11:51:59 +03:00
Konstantina Galouni 128c03c671 Merged develop branch into explore-redesign 2023-05-09 19:04:06 +03:00
Konstantina Galouni 2963589359 [Library | explore-redesign]: availableOn.component.ts & resultLanding.component & result-preview.component: [Bug fix] Added method "getAccessLabel()" to create label from accessRight. 2023-05-08 16:41:42 +03:00
Konstantina Galouni e8d57386f3 [Library | explore-redesign]: Updated icon for "not available" access of sources on research products.
1. icons.ts: Added custom icon "unknown_access", when access is not available (locker with questionmark inside).
2. parsingFunctions.class.ts: Set "accessRightIcon" of each source to "unknown_access" icon, when access is not available.
3. resultLandingUtils.module.ts: Added "unknown_access" icon in iconsService.registerIcons.
4. resultLanding.component.html: Mobile view: Updated tooltip of access - added "access" word in the end.
5. availableOn.component.ts: Updated tooltip of access - added "access" word in the end.
6. result-preview.component.html: In mobile view, show access on the top right, next to the title.
7. searchResearchResults.service.ts: [Bug fix] Call parsingFunctions.addPublisherToHostedBy_collectedFrom after parsing journal, publisher and identifiers.
2023-05-08 10:53:38 +03:00
Konstantina Galouni e4ca050d80 [Library | explore-redesign]: showAuthors.component.ts: Added class "uk-text-italic" when displaying authors (not in modal) to make them more obvious among other info of the result. 2023-05-08 10:32:45 +03:00
Konstantinos Triantafyllou 52efae94e7 Delete console log 2023-05-02 14:24:08 +03:00
Alex Martzios beb43ed1b7 project & data landing/search page: get usage counts from index (measure field) 2023-05-02 12:00:40 +03:00
Konstantinos Triantafyllou e168143375 Merge remote-tracking branch 'origin/develop' into stats-profile 2023-04-27 16:28:48 +03:00
Konstantina Galouni 3be6013644 [Library | develop & Eosc Explore | develop]: index.html: Updated favicon for beta | transferData.component.ts: Added check for client side before opening Data Transfer modal. 2023-04-26 15:54:43 +03:00
Konstantinos Triantafyllou 49e2edfe84 Change piwik service methods in order to get the piwik from portal configuration 2023-04-26 14:10:45 +03:00
Alex Martzios 2d8be41146 search page: group time filters (e.g projects -> startdate, enddate, activewithin) 2023-04-26 12:28:37 +03:00
Alex Martzios d69b0d0bb5 resultLanding: remove numbers from FoS
FoS page: remove numbers from 3rd level only
2023-04-25 13:02:33 +03:00
Konstantinos Triantafyllou f00607f8d3 Merge branch 'develop' into stats-profile 2023-04-24 12:45:31 +03:00
Alex Martzios 7ef9869629 search page: cite this > parse missing information (to match landing page) 2023-04-21 13:37:19 +03:00
Konstantinos Triantafyllou aa86ee0fe3 Add entity-actions in all landing pages 2023-04-21 12:49:14 +03:00
Alex Martzios dd6f18db52 search page: simplify search bar - remove 2 steps 2023-04-21 11:04:43 +03:00
Konstantina Galouni f22a0bc806 [Library | develop & Eosc Explore | develop]: Added font-family "Inter" to align with Marketplace | Updated how back button "Go to search" is build - combine referrer and the new url parameter "pv", which is expected to have the previous url path and params.
1. /assets: Added /media/fonts/inter folder with the "Inter" font-family.
2. eosc-custom.less: Override the default font family to use 'Inter', sans-serif.
3. routerHelper.class.ts: Added method "addQueryParam()" to add a query parameter in already existing or not object with parameters.
4. search-tab.component.ts & searchResult.component & projects-in-modal.component.ts & result/deletedByInference/deletedByInference.component.ts & organization/deletedByInference/deletedByInference.component.ts: Added @Input() prevPath: string = ""; and pass it to the appropriate children components.
5. result-preview.component & fundedBy.component.ts & availableOn.component.ts & relatedDatasourcesTab.component.ts: Added @Input() prevPath: string = ""; and method "addEoscPrevInParams()" and call it when building queryParams of internal links.
6. metrics.component.ts: Added @Input() prevPath: string = ""; and use it when building internal urls.
7. resultLanding.component.ts & project.component.ts & organization.component.ts & dataProvider.component.ts:
   a. Added fields public referrer: string; and public prevPath: string;
   b. Read "pv" url property and get referrer.
   c. Added methods "addEoscPrevInParams()" and "eoscBackLink()".
8. resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html:
   a. Update "Go to Search" back link.
   b. Call "addEoscPrevInParams()" method when building queryParams of internal links.
   c. Pass "prevPath" to the appropriate children components.
2023-04-20 20:06:53 +03:00
Konstantinos Triantafyllou a49970aca6 Add number percentage pipe. Add format field in indicatorPath 2023-04-18 15:26:41 +03:00
Alex Martzios f641624b32 search page: show the search term in the title, above results 2023-04-10 11:51:18 +03:00
Konstantina Galouni e1b5f4a46d Library | explore-redesign: Merging develop branch into explore-redesign 2023-04-06 12:06:12 +03:00
Konstantinos Triantafyllou 9025836af4 Merge branch 'develop' of code-repo.d4science.org:MaDgIK/openaire-library into develop 2023-04-04 16:49:13 +03:00
Konstantinos Triantafyllou 4c328efa3a Merge branch 'monitor-production' into develop 2023-04-04 16:48:46 +03:00
Konstantinos Triantafyllou 133fdfbff2 Fix number pipe round in order to avoid round in numbers < 1000. Extend pipe to accept number in string format instead of number. 2023-04-04 16:48:05 +03:00
Konstantinos Triantafyllou 7ecb56ec98 Add getFos and getSDGs in vocabulary service and use it in the related components. 2023-04-03 12:53:40 +03:00
Alex Martzios 6679e6bac0 restrict result title in 3 rows for search page and 5 rows for landing page (included tooltip for landing) 2023-03-28 11:37:44 +03:00
Konstantinos Triantafyllou c275d96e19 Merge branch 'connect-admin-production' into develop 2023-03-27 15:56:58 +03:00
Konstantinos Triantafyllou 18f95b7e13 Update URL validator regex in order to allow www2. 2023-03-27 15:56:42 +03:00
Alex Martzios 932aaff111 changes for tooltips between landing and search pages, set a maximum height for 'download-from' dropdown, fix in fos-selection component 2023-03-27 13:03:07 +03:00
Konstantinos Triantafyllou a9f31d8307 1. Add notifications in user-mini in mobile 2023-03-24 17:13:33 +02:00
Konstantinos Triantafyllou 31d52de0e8 Merge branch 'monitor-production' into develop 2023-03-23 09:18:34 +02:00
Konstantinos Triantafyllou 4fa36bdd43 Fix server error in alert.ts where UIkit event handler is defined. 2023-03-23 09:18:19 +02:00
Konstantinos Triantafyllou 5bcc25fe84 Merge changes from monitor-production 2023-03-21 14:05:21 +02:00
Konstantinos Triantafyllou 8d3a83821b Modal: Add uikit close event, in order to catch click outside close events. 2023-03-21 14:00:47 +02:00