Commit Graph

20 Commits

Author SHA1 Message Date
Konstantina Galouni 38a8802d7e [Explore & Library | explore-redesign]: First update for direct linking according to redesign.
1. claimContextSearchForm.component.ts & claimProjectSearchForm.component.ts & claimResultSearchForm.component.ts: Added "@Input() public centerAlign: boolean = false".
2. claimContextSearchForm.component.html & claimProjectSearchForm.component.html & claimResultSearchForm.component.html: align search form to the center if centerAlign is true (in direct linking).
3. linkingGeneric.component.ts:
   a. Scroll to top smoothly when changing step.
   b. Added method "getEntityName()" to resolve entity name from entity type.
4. linkingGeneric.component.html: Redesign in direct linking:
   a. Hidden stepper.
   b. Title before search form
   c. Back button instead of breadcrumb.
   d. Search form aligned to the center.
   e. In basket, no tabs, but source on top of link source to.
   f. Button to Step 3 renamed to "Summarise".
5. HelperFunctions.class.ts: In methods "scroll()" and "scrollTo()" added parameter "smooth: boolean = false" for smooth scroll.
6. tsconfig.json: Commented "angularCompilerOptions": { "strictTemplates": true}.
2023-02-15 23:56:16 +02:00
Konstantinos Triantafyllou ed20502959 Helper Functions: Add routerMatcher function in order to add more than one path in route configuration. 2022-11-07 16:55:27 +02:00
Konstantina Galouni 656a3634e2 [Library | new-theme]: Do not show provenance value if no provenance vocabulary or if no label for this provenance value.
1. fundedBy.component.ts: Added local field "provenancesCalculated" to check for each provenance label only once and do not show provenance if no vocabulary or if not label for this value.
2. result-preview.component.ts: Do not show provenance if no vocabulary or if no label for this value.
3. HelperFunctions.class.ts: In method "getVocabularyLabel()" added parameter "returnIfNotFound: boolean = true" to return null if no vocabulary or if no label for this value, when it is false.
2022-09-09 00:35:11 +03:00
Alex Martzios 66fecd2f41 make asynchronous calls for vocabularies when getting the result landing info 2022-09-06 16:28:51 +03:00
Konstantinos Triantafyllou 013ce7d5f4 Add swap function for arrays. Add reorderElements in stakeholder service 2022-07-14 14:37:07 +03:00
Konstantinos Triantafyllou 3b6498cb2e Dropdown Filter: Add overflow-auto. Fix all forms with disabled fields. Change all dashboard pages in order to apply sticky in actions instead of header. 2022-07-13 20:25:19 +03: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 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
k.triantafyllou 0e6b1e13ca [Library | Trunk]: Fix some errors on server from numbers component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60974 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-28 15:03:45 +00:00
k.triantafyllou b600dc4756 [Library | Trunk]: Add equals object function and change input chip label condition with it
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60949 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-21 15:28:35 +00:00
argiro.kokogiannaki 0f7349ce6f [Library|Trunk]
Search Pages:

        Change scroll behaviour after query is submitted. Scroll under form if filters or page changes, scroll to top when keyword changes
        Hide filters and range filters when there are no results
        Autocomplete for Result type vocabulary: combine publications and dataset vocabularies: 

Filters:
 Results: 
        Remove Collected From Filter "collectedfrom","collectedfrom"    
        Project appears when funder is selected
Repositories: add Collected From Filter "collectedfromname"



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58739 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-21 13:17:28 +00:00
k.triantafyllou 8a78f4c730 [Library]: Modal: add margin bottom for very large modals
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57672 d315682c-612b-4755-9ff5-7f18f6832af3
2019-11-24 16:28:25 +00:00
k.triantafyllou efb6f3e435 [Library]: Make modal works with uikit js. Add deep copy custom function
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57665 d315682c-612b-4755-9ff5-7f18f6832af3
2019-11-22 08:51:17 +00:00
k.triantafyllou 445e9f0441 [Library]: Change copy method
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57643 d315682c-612b-4755-9ff5-7f18f6832af3
2019-11-20 10:31:14 +00:00
k.triantafyllou a6cfa14f32 [Library]: Helper functions clear
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57599 d315682c-612b-4755-9ff5-7f18f6832af3
2019-11-13 14:17:32 +00:00
k.triantafyllou d8fa5dab6f [Libary]: Add a function on helper functions
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57590 d315682c-612b-4755-9ff5-7f18f6832af3
2019-11-12 15:54:03 +00:00
k.triantafyllou 955464fdca [Library]: Add copy function on HelperFunctions
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57573 d315682c-612b-4755-9ff5-7f18f6832af3
2019-11-11 13:27:18 +00:00
k.triantafyllou f079122f18 1. Add at tinyUrl at properties.ts. 2. Renamed curatorPhotoService to utilitiesService. 3. Add a isTiny function on HelperFunctions.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56013 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-06 10:51:39 +00:00
konstantina.galouni 6125f3553e [Trunk|Library]: create class HelperFunctions in utils folder, where static scroll function is placed.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55415 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-24 10:39:15 +00:00