Commit Graph

153 Commits

Author SHA1 Message Date
Alex Martzios 69d6feb665 [develop | DONE | CHANGED] search page: remove top paging, remove results per page, remove total number of results, put selected filter, sorting and download on the same row, change to smaller labels for selected filters 2024-02-29 09:25:26 +02:00
argirok cdddec6925 [develop | DONE | FIXED] Search page: extra fixes for custom filter 2024-02-13 16:07:43 +02:00
Konstantina Galouni 59bd3918e8 [angular-16-irish-monitor | DONE | ADDED]: New type of filter (triplet) added - use of <mat-button-toggle-group> | Grouping of filters added | Fixed checks for dependent filters and added new checks for dependent to filter values.
1. newSearchPage.component.html: Added display of grouped filters | Added checks for triplet typed filters.
2. newSearchPage.component.ts: Fixed checks for dependent filters and added new checks for dependent to filter values.
3. searchFilter.component.html: New "triplet" type of filter | Grouping of filters - smaller titles.
4. searchFilter.component.ts: Added field "@Input() grouped: boolean = false" | Added check for triplet filter | Added method "tripletFilterChange()".
5. searchFilter.module.ts: Import MatButtonToggleModule.
6. searchResearchResults.component.ts: Fixed how groupedFilters are initialized - TODO: Add this fix in other search pages too.
2023-12-21 10:57:14 +02:00
argirok d804da4dd8 Merge branch 'develop' into angular-16-irish-monitor 2023-12-15 16:46:43 +02:00
Konstantina Galouni afcbb07a24 [develop-filters | DONE | ADDED]: Added structures for grouping and ordering search filters.
1. searchFields.base.ts: Added RESULT_FIELDS_ORDERED and PROJECT_FIELDS_ORDERED.
2. searchResearchResults.component.ts: Set and initialize orderedFields and orderedFilters and pass them to <new-search-page>.
3. newSearchPage.component.html: If there are orderedFilters, show filters from this structure.
2023-12-14 18:23:28 +02:00
Konstantina Galouni d9c7d35e57 [develop-filters | DONE | CHANGED]: Get 7 top values for each filter (minRef) and on view all click, query for top 100 for a specific filter.
1. searchResearchResults.service.ts & searchProjects.service.ts & searchOrganizations.service.ts & searchDataproviders.service.ts: In advanced search method added parameter minRef: boolean = false and if true, add in request url "&minRef=true" to query for top 7 values.
2. searchResearchResults.component.ts & searchProjects.component.ts & searchOrganizations.component.ts & searchDataProviders.component.ts: By default query filters with minRef=true | Added method "filterRequestedAll()" to be called on view all click of a filter.
3. searchHelperClasses.class.ts: Added in Filter public countAllValues?: number = -1; (-1: all filters not yet requested, 0: request failed) and public isOpen?: boolean = false; (checks if view all filter is clicked).
4. searchFilter.module.ts: Imported LoadingModule.
5. searchFilter.component.ts & searchFilter.component.html: Updated process on view all click.
6. newSearchPage.component.ts: Added method "filterToggled()".
7. newSearchPage.component.html: Bind filterToggled method to <search-filter> output.
2023-12-14 18:14:57 +02:00
Konstantina Galouni b0a67be290 [develop-filters | WIP | CHANGED]: Added static refine fields.
1. searchFields.base.ts: Added RESULT_STATIC_FIELDS/ DATASOURCE_STATIC_FIELDS and RESULT_STATIC_FIELD_VALUES/ DATASOURCE_STATIC_FIELD_VALUE and updated in RESULT_FIELDS type to static for resultbestaccessright, and added type and in DATASOURCE_FIELDS added eosctype.
2. staticAutoComplete.component.ts: Added @Input() public fieldValues; and added check not to query for values when static (fieldValues exists).
3. searchResearchResults.component.ts & searchProjects.component.ts & searchOrganizations.component.ts & searchDataProviders.component.ts: Added parameters for static fields in <new-search-page> and initialized them properly.
4. advancedSearchForm.component.html: Added parameter fieldValues to <static-autocomplete>.
5. advancedSearchForm.component.ts: Added method "public getFieldValuesForId(id: string)".
6. newSearchPage.component.html: Added parameter fieldValues to <advanced-search-form> and show static filters view case.
7. newSearchPage.component.ts: Added static filters - initialize them properly and make code for static filters more dynamic.
2023-12-14 17:30:29 +02:00
Konstantinos Triantafyllou 3e02680f5e [angular-16-irish-monitor]: Add orcid in user class. Fix orcid button text. Remove capitalize from buttons in download and data dump. 2023-12-08 15:33:44 +02:00
argirok f3c7ddec93 [angular-16-irish-monitor | DONE | ADDED] add zenodo dump url 2023-12-07 11:38:27 +02:00
argirok 62d4ab1a36 [angular-16-irish-monitor | DONE | UPDATED] Custom Filter accept single or an array of Custom filters 2023-11-13 11:18:00 +02:00
argirok ce8b104c20 [angular-16-irish-monitor | DONE | REMOVED] SearchCustomFilter: remove promptToAddFilter field, and code to add and remove filter 2023-11-09 16:11:12 +02:00
Konstantina Galouni 68c352d3d2 [develop | DONE | CHANGED]: In deposit page, move "Go to repository" button to top, aligned with the title when possible.
1. searchResultsForOrcid.component.html & searchMyOrcidResults.component.html: Removed [promoteWebsiteURL]="true", since this should be true only in deposit cards.
2. searchResultsInDeposit.component.ts: Added @Input() isMobile: boolean = false;
3. searchResultsInDeposit.component.html: Set parameter [isMobile]="isMobile" to <result-preview>.
4. newSearchPage.component.html: Set parameter [isMobile]="mobile" to <deposit-result>.
5. result-preview.component.html: In deposit cards align on the right of the title the "Go to repository" button and in mobile screens show it on the top right of the card.
2023-11-08 22:40:04 +02:00
Konstantinos Triantafyllou c0d4fd8ae7 Fix uk-sticky parameters in terminology and search 2023-08-23 10:40:05 +03:00
Konstantinos Triantafyllou 37b7423e7f Simplify piwik logic: All work is done in piwik.service. 2023-07-12 15:05:25 +03:00
Konstantina Galouni a296f091bb [Library | explore-redesign]: Bug fix in sticky tabs of search all | Updated formPlaceholderText of search form in search all - different for each entity | Search form not sticky in advanced search page.
1. searchAll.component.ts:
   a. [Bug fix] Subscribe to layoutService.isMobile and calculate there the "offset" (for sticky tabs).
   b. Updated "formPlaceholderText" - different for each entity.
2. newSearchPage.component.html: Added check, so that search form is not sticky in advanced search pages.
2023-05-19 17:49:38 +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 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
Konstantina Galouni ef742be1b2 [Library | explore-redesign]: Added/ updated how filters appear in mobile screens | Updated search forms.
1. general.less: Added fixed position for .filters-toggle-button.
2. newSearchPage.component.html: Added floating button for filters in mobile screens.
3. advancedSearchForm.component.html: Re-introduced commented out <entities-selection> inside <advanced-search-input> | Removed iconPosition and commented button for filters inside search form.
4. home.module.ts: Imported SearchInputModule.
5. home.component.html: Replaced <advanced-search-input> with <div search-input>
6. searchDataProviders.component.ts: Set entitiesSelection to false for <new-search-page>
7. newSearchPage.component.ts & searchAll.component.html: Set entitiesSelection to false for <advanced-search-form>
2023-05-08 17:10:51 +03:00
Alex Martzios 84bd4b24b8 search page: advanced-search > remove number of rules applied in search bar and moved them above the results 2023-05-02 12:11:25 +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 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
Konstantina Galouni 8789a0e5ee [Library | develop]: resultLanding.component.html & project.component.html & organization.component.html & dataProvider.component.html: Use new Graph badge to acknowledge OpenAIRE Graph & update message for feedback | newSearchPage.component.html: Use new Graph badge to acknowledge OpenAIRE Graph. 2023-03-28 19:27:02 +03:00
Konstantinos Triantafyllou 3b9d585da1 Fix pageing and downloads alignemnt in mobile 2023-02-22 16:43:51 +02:00
Konstantinos Triantafyllou 238aafd552 Change results preview. Add hosted by, metrics in search results. Create entity-metadata for entity medata. 2023-02-17 19:40:05 +02:00
Konstantinos Triantafyllou de42da8b6c Change search in order to apply mobile style 2022-12-07 16:56:16 +02:00
Konstantina Galouni f935e81959 [Library | EOSC Explore]: Updated styles | Updated link to Marketplace for EOSC::RO-crate | Bug fix in description of results versions | Removed timeout from reports.service.ts.
1. home.component.html: Added blue banner, white logo, aligned search form to the center and updated fonts according the new EOSC Marketplace.
2. parsingFunctions.class.ts: Updated link to Marketplace for eosc subject EOSC::RO-crate.
3. resultLanding.component.html: Updated how links to Compatible EOSC Services are displayed.
4. searchAll.component.html: Updated paddings and margins in search form of Search all page.
5. navigationBar.component.html: Set burger menu icon to light color if dark background.
6. advancedSearchDataProviders.component.ts & advancedSearchOrganizations.component.ts & advancedSearchProjects.component.ts & advancedSearchServices.component.ts & searchResearchResults.component.ts & searchDataproviders.component.ts & searchOrganizations.component.ts & searchProjects.component.ts & searchResearchResults.component.ts & searchServices.component.ts & search.component.ts: Set in searchForm, dark=true.
7. aggregators.ts: In eoscInfo, updated logoUrl and removed customCss of AggregatorInfo.
8. app.component.ts: Set header.darkBg: true.
9. Added eosc-custom.less file.
10. styles.less: import eosc-custom less file, instead of portal-custom.css.
11. deletedByInference.service.ts & result-preview.ts: [Bug fix] Parse description of versions properly.
12. reports.service.ts: Copy fix from angular-14 branch - do not timeout to 10000.
2022-11-28 14:37:37 +02:00
Konstantina Galouni 4734c7b821 [EOSC Explore]: package.json & CHANGELOG.md: Updated v1.0.2 | newSearchPage.component.html: Updated margins and paddings in search form | advancedSearchForm.component: Bug fix in advanced search form (fixed in angular 14) & smooth scroll to the last rule when adding new. 2022-11-18 15:03:08 +02:00
Alex Martzios 68e0aa98a8 update advanced search form 2022-10-25 17:21:53 +03:00
Alex Martzios 05ca7c7eea change the way we get the impact factors for search results 2022-08-02 12:43:39 +03:00
argirok 814a061ab8 Add background for dashboard home and deposit pages 2022-07-27 13:50:32 +03:00
Konstantinos Triantafyllou 9a03dd9a3d Import variables in quick-contact.less. Remove uk-section from breadcrumbs in search-page 2022-07-18 00:45:26 +03:00
Konstantinos Triantafyllou 01fd4ac49f Filters title alignment. Rename some component css files to less. 2022-07-17 16:01:39 +03:00
Konstantinos Triantafyllou 770c3fb3ef Deposit modal: Fix grid. Search form: fix paddings 2022-07-13 10:37:12 +03:00
Konstantinos Triantafyllou 7ebf4f7f90 Add dropdown-filter component. Fix Paging format base on new mocks. Make some alignments in subscribers, pages, search-page and result-prview. UI of Manage Links page except result preview. 2022-06-30 13:40:37 +03:00
Konstantina Galouni d9b8ea0476 [Library | new-theme]: newSearchPage.component.html: Updated classes for margins/paddings in search form, so that breadcrumb position is the same in all pages. 2022-06-22 12:57:00 +03:00
Konstantinos Triantafyllou 398b80d228 Change all offcanvas with uikit class. FIx search filter checkbox and radio label. Modal: Add container to avoid insert class at DOM 2022-06-17 02:57:56 +03:00
Konstantina Galouni 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
Konstantinos Triantafyllou 99e3aad2a0 Fix an issue with results per page causing page to crash 2022-06-06 11:55:11 +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
Konstantinos Triantafyllou dd6ece97c0 Fix available options in page per results in search page. 2022-06-01 16:28:44 +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 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 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
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
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