Commit Graph

430 Commits

Author SHA1 Message Date
Konstantina Galouni b1c9d3dc01 [Library | new-theme]: project.component.html: Small fixes in project landing redesign. 2022-04-28 16:53:49 +03:00
Konstantina Galouni e658c5d23a [Library | new-theme]: Redesign of project landing page and small upadates on result landing and common components.
1. addThis.component.ts: Updated social icons of addThis.
2. landing-header.component.ts: Added "uk-text-small" in subtitle.
3. metrics.component.ts: Added method "clickedMetrics()" to set "metricsClicked" | Added metricsClicked and metrics.infos conditions for loading table or iframes | Added customContainerClass and customIframeClass in <i-frame>.
4. project.component: Updated project landing page according to UI redesign.
5. project.module.ts: Import LoadingModule, IconsModule, InputModule.
6. project.service.ts: Use parsingFunctions.parseDescription.
7. projectService.module.ts: iconsService.registerIcons([link, graph]).
8. resultLanding.component.html: Small fixes in ui | Added right arrow on tooltips of actions that are links to other pages | Display of description updated as innerHtml (#7345).
9. orcid-work.component.ts: Added flex=true in <icon>.
10. input.component.ts: Added disabled?: boolean in Option interface and show disabled options as muted.
11. projectInfo.ts: Updated description to be string[] instead of string.
12. iframe.component.ts: Added @Input() customContainerClass: string = ""; and @Input() customIframeClass: string = "";
13. search-tab.component.ts: Updated according to redesign | Update "getEntityName()" to return values from OpenaireEntities.
14. tabs.component.ts: Added "uk-height-1-1" in custom tabs | In #mytabs::before set left:0.
2022-04-28 12:13:06 +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
Konstantinos Triantafyllou e8cb2adf44 Update feedback message after sent 2022-04-19 16:44:20 +03:00
Konstantinos Triantafyllou e808c7e26b Update feedback page and fix a bug with events 2022-04-19 16:07:21 +03:00
Konstantinos Triantafyllou 9c1f1dd97d Metrics delete click module and change width rules 2022-04-19 14:04:19 +03:00
Konstantinos Triantafyllou 69273b938a Metrics base on new theme 2022-04-19 13:58:10 +03:00
Konstantina Galouni e28e06b239 [Library & common-assets | new-theme]: Updates for redesign.
1. availableOn.component.ts: Updated class of title to "uk-text-light-grey" and added custom-external icon to links and updated accessright icons.
2. citation.class.ts: Added fileFormatOptions: Option[] to use it in input options.
3. citeThis.component.ts: Updated select inputs using "input" from InputComponent | Updated copy to clipboard button to link.
4. citeThis.module.ts: Import InputModule.
5. fos.component.ts: Updated class of title to "uk-text-light-grey".
6. fundedBy.component.ts: Updated class of title to "uk-text-light-grey" and updated links with uk-text-emphasis class.
7. landing-header.component.ts: Increase authorsLimit to 7 | Changed class of "under curation" to uk-text-primary (used to be custom class).
8. metrics.component.ts: Updated in clickOutside event.
parsingFunctions.class.ts: Updated open, closed and unknown with icon names instead of paths to svgs (download accessright icons).
9. relatedTo.component.ts: Updated class of title to "uk-text-light-grey" and added custom-external for links.
10. resultLandingUtils.module.ts: Inport AlertModalModule (to open modal).
11. sdg.component.ts: Updated class of titlte to "uk-text-light-grey".
12. showIdentifiers.component.ts: Added view more functionality.
13. showPublisher.component.ts: Updated custon-external class.
14. resultLanding.module.ts: registerIcon link.
15. resultLanding.component.html: Updated css for result landing and commented annotations (b2note).
16. orcid-work.component.ts: Updated orcid action button for landing page.
17. orcid.module.ts: registerIcons orcid_add and orcid_bin.
18. customOptions.class.ts: [Bug fix] [By Kostis] registryOptions() was not returning properly httpHeaders.
19. showAuthors.component.ts: Updated css
20. icons.ts: Export svgs orcid_add, orcid_bin, link.
21. alert.ts: Removed margin from title.
22. result-preview.component.html: Title of results set to <h2> and uk-h6 and when links to uk-link-heading | accessRightIcon for hostedBy_collectedFrom.
23. result-preview.module.ts: Imported IconsModule.
24. landing-utils.css: Updates in landing css & css of landing-action-button & added backdrop filter missing rules.
25. utils.css: Updated class orcid-clipboard-wrapper and renamed to clipboad-wrapper | Update class .custom-external to set in content with code instead of name and updated not to underline it on hover
26. library.css: Added class .default-dropdown with max-width: 500px;
2022-04-16 10:47:30 +03:00
argirok 0e8143b4e2 Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-04-12 18:18:57 +03:00
argirok 9d245840ad landing tabs - changes for the background color 2022-04-12 18:14:29 +03:00
Konstantina Galouni 322ee51e26 [Library & common-assets| new-theme]: Fixes in custom-external.
1. resultLanding.component.html: [Bug fix] In EGI Notebook, uk-text-uppercase should be in text (custom-external icon could not be loaded).
2. resultLanding.component.ts: Removed unnecessary log.
3. result-preview.component.html: Added properly "custom-external" class.
4. utils.css: In class "custom-external", set verical-align: super.
2022-04-12 16:52:49 +03:00
Konstantina Galouni 599f590b8e [Library | new-theme]: resultLanding.component.html: Linking action button updated to redirect to direct linking page. 2022-04-12 15:20:43 +03:00
Konstantina Galouni 4ddef450a8 [Library | new-theme]: [NEW] landing-utils/: Added fos.component.ts and sdg.component.ts | Redesign updates on availableOn.component.ts & fundedBy.component.ts & relatedTo.component.ts & resultLanding.component.html | resultLanding.component.ts: [Bug Fix] Updated how "isLoggeIn" is calculated (userManagementService.getUserInfo() instead of Session). 2022-04-12 15:15:04 +03:00
Konstantina Galouni bb6c1833a9 [Library | new-theme]: showIdentifiers.component.ts: Optimize imports and use uk-text-meta class | showPublisher.component.ts: Use uk-text-small and uk-text-meta classes. 2022-04-12 15:05:53 +03:00
Konstantina Galouni 84b3a8b75d [Library | new-theme]: resultLandingInfo.ts: Added export interface Context and set in ResultLandingInfo class contexts: Context[]; | parsingFunctions.class.ts: In method "parseContexts()" use interface Context. 2022-04-12 15:01:45 +03:00
Konstantina Galouni d6e9ce2a5c [Library | new-theme]: showAuthors.module.ts: Imported AlertModalModule | showAuthors.component.ts: When authors > 2*threshold, open them in modal & Replaces "view all ... authors" with "+ ... Authors" & updated orcid dropdown according to new theme | landing-header.component.ts: Use "uk-text-small" everywhere and removed @Input() small & change authorLimit from 30 to 3 & removed "small" input from <showAuthors>. 2022-04-12 14:51:54 +03:00
Konstantina Galouni fe3f62b9bd [Library | new-theme]: metrics.component.ts: Replaces old custom class "space" with "uk-margin-small-left" | metrics.component.css: Css updated to move mertics widget and its arrow in a new position (not ready). 2022-04-12 14:21:54 +03:00
argirok 51efcfc19c Landing tabs: title to appear when tabs stick to top, add css for the sections, css for featured tabs 2022-04-08 18:26:27 +03:00
argirok 29d92edb91 Content providers: tabs and title sticky on top 2022-04-06 18:27:55 +03:00
argirok 44bb9772a9 tabs: add disabled tab,
Content providers add check for other > 0
2022-04-06 18:02:15 +03:00
argirok 9630d27fe8 Tabs as slider, scroll effect
apply changes for content providers
2022-04-06 17:01:25 +03:00
Konstantina Galouni 362dd1cc80 [Library | new-theme]: Delete fromYearAfterToYear.directive.ts, inValidYear.directive.ts, rangeYearsRequired.directive.ts directives from rangeFilter folder (validator functions moved to string-utils.class.ts (previous commit)). 2022-04-05 16:50:49 +03:00
Konstantina Galouni c4e6f6e09c [Library & Common-Assets | new-theme]: 1st version of restructure of result landing page according to redesign | Bug fix in method "hasMetrics".
1. landing-header.component.ts: Remove from <showTitle>, isH1 input.
2. metrics.component.ts: On metrics error, emit also "pageViews: 0".
3. showTitle.component.ts: Remove "isH1" input property and add in title class uk-h5 always.
4. resultLanding.component.html: Redesign (currently broken) of result landing page.
5. orcid-work.component.ts: Remove label "Add to / Remove from ORCID".
6. import.css: Import "landing-utils.css".
7. landing-utils.css: Comment all existing css rules and add new.
2022-04-04 12:14:54 +03:00
Konstantinos Triantafyllou dc0544d0d8 Page content: Add padding in header and inner. Complete input, textarea and select base on new redesign 2022-03-28 01:21:55 +03: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
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
Alex Martzios e1a632e63f redesign of result-preview component 2022-03-15 13:13:28 +02:00
Konstantinos Triantafyllou 53a0cd733b Merge changes from master 2022-03-08 20:42:50 +02:00
argirok 0d66dab63e enable feedback when recaptcha key is available 2022-03-08 15:25:58 +02:00
Konstantinos Triantafyllou 4698a5fafd Delete old sidebar. Make some changes in navbar and user-mini 2022-03-02 23:48:21 +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
argirok dccf62d445 Update Abstract to be an array - fix issue with B2Find missing information 2022-02-14 17:04:09 +02:00
Konstantina Galouni a7a80723d5 [Library]: availableOn.component.ts: [Bug fix] Fix ExpressionChangedAfterItHasBeenCheckedError - Array.from(map.keys()) not just map.keys(). 2022-02-14 16:24:10 +02:00
Alex Martzios 049ac1a8a1 add 'SDG' and 'FOS' as fields options - report issues 2022-02-04 13:01:54 +02:00
Konstantina Galouni ae970394e9 [Library]: resultLanding.component.html & result-preview.component.html: [Bug fix] In accessmode label added class "uk-text-truncate" to cut text and show ellipsis when larger that the available space. 2022-01-07 18:35:45 +02:00
Konstantina Galouni e1c520d65f [Library]: Altmetrics bug fix (more checks for previous commit) (from landing page with identifiers to landing page without: ERROR) | Updated parsing of relations in result landing page #7231.
1. result-preview.component.ts: Display relationName (added in beforeTitlte).
2. resultLandingInfo.ts: Added field "relatedResults" (replaced other structures for relations) and "relatedClassFilters".
3. resultLanding.component.html:
	a. In tab "Related research" show all relations.
	b. [Bug fix] Added check when accessing resultLandingInfo.identifiers for altmetrics.
4. resultLanding.module.ts: Import MatFormFieldModule and MatSelectModule for filtering relations in tab which shows all relations.
5. result-preview.ts:
	a. Added in class RelationResult "percentageName" (e.g. trust) and "relationName" (e.g. IsSupplementedBy) fields.
	b. Added in class ResultPreview "relationName" field (e.g. IsSupplementedBy).
	c. In method "relationResultConvert()", removed "relation" from parameters (included in RelationResult).
6. resultLanding.service.ts:
	a. Updated parsing of relations (parse all relations for research results).
	b. Updated sorting of relations.
7. resultLanding.component.ts: Handle updated relations and show them in one tab all together.
8. parsingFunctions.class.ts: Updated parsing of relations - parse all relations for results and keep the relationName and the percentageName.
2022-01-07 12:16:23 +02:00
Konstantina Galouni 8140beb701 [Library]: Altmetrics bug fix (from landing page with identifiers to landing page without: ERROR) | Instances model changed to merge common urls #7153 & #7156.
1. deletedByInference.service.ts: Call updated parsing method for hostedBy_collectedFrom.
2. result-preview.component.html: Updated display of hostedBy_collectedFrom (new schema).
3. availableOn.component.ts: Updated display of instances in download from section of result landing page (new schema - merged instances with common url and multiple collectedfrom & hostedby)
4. result-preview.ts: Updated class HostedByCollectedFrom (new schema).
5. resultLanding.service.ts:
	a. Updated parsing of hostedBy_collectedFrom (new schema).
	c. Updated sorting of hostedBy_collectedFrom.
6. resultLanding.component.ts:
	a. Use updated resultLandingInfo.hostedBy_collectedFrom to check if this result will be indexed or not.
	b. [Bug fix] Set hasAltmetrics to false when requesting a new id.
7. parsingFunctions.class.ts: Updated parsing of hostedBy_collectedFrom according to new schema.
2022-01-07 12:01:22 +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 5c215af73e Merge branch 'master' of code-repo.d4science.org:MaDgIK/openaire-library 2021-12-17 15:41:15 +02:00
argirok f911dec31e landing pages: keep the loaded url as canonical if there is a timeout error - show the correct message 2021-12-17 15:39:32 +02:00
argirok 55ec94b95f Subjects: add subjects section in home page. add 50 in the link to the search results
update login properties beta/test
Landing allow index off newly added records - zenodo
2021-12-17 14:35:18 +02:00
argirok e58a2b0008 Merge branch 'master' of code-repo.d4science.org:MaDgIK/openaire-library 2021-12-17 11:41:52 +02:00
Konstantinos Triantafyllou 8ad3eff16b Fix a bug with community subject changed while getting community Info in landing contexts 2021-11-30 18:21:35 +02:00
argirok c5f3c0b744 Merge branch 'master' of code-repo.d4science.org:MaDgIK/openaire-library 2021-11-25 12:05:27 +02:00
Alex Martzios 2f65202142 resultLanding: add view more/less button for more than 3 communities 2021-11-25 11:57:49 +02:00
Alex Martzios 130691b60a Remove dev condition for relatedTo component 2021-11-24 16:52:58 +02:00
argirok fc78ac5777 update show subjects component with route links to advanced search - for 2 special subjetcs 2021-11-24 15:55:54 +02:00
Alex Martzios de6c91cbab resultLanding: display community categories and concepts only when on browsing that community 2021-11-23 13:50:44 +02:00