1. tabs.component.ts: If tabs are more than 2, add class (in all html) 'uk-visible@m' - <small-tabs> will be displayed instead.
2. small-tabs.component.ts: Show small tabs if they are more than 2 and add class 'uk-hidden@m'.
3. resultLanding.component & project.component & organization.component & dataProvider.component:
a. Show tabs without waiting for initialization - do not calculate number of tabs.
b. Show summary tab always - if no primary or secondary information, show alert message.
c. Remove checks and 'uk-visible@m', 'uk-hidden@m' from calling <my-tabs> and <my-small-tabs> - chekcs are now inside components.
d. Add 'uk-active' in first tab (no need to calculate which tab is first).
e. resultLanding.component & project.component & dataProvider.component:
Summary tab always visible - if no primary or secondary information, show alert message.
f. organizations.component: projects tab always visible.
g. resultLanding.component & project.component: Add margins in linking button.
4. organization.component:
a. [Bug fix] Execute search queries only once for each tab.
b. [Bug fix] In datasets and other tab, show appropriate view (not projects tab).
c. [Bug fix] On initialization, get projects results (not just count).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58807 d315682c-612b-4755-9ff5-7f18f6832af3
1. fetchResearchResults.class.ts & searchResearchResults.service.ts: Change queries when searching results of organizations/ projects/ dataproviders to sort by date (landing page tabs).
2. dataProvider.component & project.component:
a. Use <search-result> instead of <result-preview>.
b. Add in "view all" link of search tabs parameter for sorting by date.
c. [Bug fix] Show tabs loading only when tabs are not initialized (if not tabs, don't show loading forever).
3. project.component:
d. Make "#search_tab" template same as in "dataprovider.component" (will be possibly replaced by common component).
e. In Deposit link use secondary button.
f. In pie chart (in statistics), enable "dataLabels".
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58799 d315682c-612b-4755-9ff5-7f18f6832af3
1. Add fields 'firstTab' (to add 'uk-active' in active tab on start), '_numberOfTabs' (to count existing tabs - checks for showing tabs/ small tabs), 'tabsAreInitialized'.
2. Selects have first option selected by default.
3. Add methods 'public get hasPrimaryInfo(): boolean', 'public get hasSecondaryInfo(): boolean', 'public get numberOfTabs(): number' for checking when and how to show tabs.
4. Do not use 'square-button' button.
5. Use svg version for linking icon | Rename 'Research results' to 'Research outcomes'.
6. Add checks for tabs (when and how to show them) | Loading until tabs are initialized | In small screens use <small-tabs>.
7. Update 'Powered by OpenAIRE graph' and 'Last update date' to be the same as in resultLanding.component.
8. Update margins and paddings.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58788 d315682c-612b-4755-9ff5-7f18f6832af3
1. tab.component.ts: Remove field 'active'.
2. tabs.component.ts: Add again "selectTab" to send output EventEmitter to parent component when tab changes.
3. small-tabs.component.ts: Tooltip in fake tab | in fake tab use uikit icon 'more' from (svg version) | hide active tab from list | Use field 'activeTab: TabComponent' | close drop when there is 'document'.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58787 d315682c-612b-4755-9ff5-7f18f6832af3
1. small-tabs.component.ts: File added for small screens - active tab & a fake tab are always visible, while all tabs are shows in a list, toggled by fake tab (connected to switcher 'small-tabs-content').
2. tabs.component.ts: Tabs are connected to switcher 'tabs-content'.
3. tabs.module.ts: Add 'SmallTabsComponent' in declarations & exports.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58758 d315682c-612b-4755-9ff5-7f18f6832af3
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
1. tabs.component.ts: Remove unnecessary logs.
2. alert.ts: Input field 'classTitle' added - applied on 'uk-modal-title' (background in landing pages' modals).
3. project.component:
a. comment 'test' right column in tabs
b. apply 'ModalSelectDirective' in <mat-select> inside modals
c. In modals pass in classTitle: landing-modal-header & in classBody: landing-modal & fix paddings and margins.
d. [Bug fix] Show 'View all' button in search results (inside tabs) by comparing totalResults with 'searchNumber'.
e. In 'Share results', dynamic content is NOT hidden by default and there is no toggle button anymore.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58733 d315682c-612b-4755-9ff5-7f18f6832af3
1. searchResult.component: Removed field 'dividerNotCard' added to show results in card or not (added in r58717) - result-preview is used instead.
2. tabs.component.ts: Removed class 'uk-width-3-4' from 'main-tabs'.
3. project.component: [Landing redesign]:
a. Add field 'public searchNuumber: number = 5;' to set how many results to search and display.
b. Use '<result-preview' instead of 'search-result'.
c. Fix margins and paddings in page to align app box with right column in tabs.
d. Show open access mandate (not in labels) only for 'No'.
e. Move update date next to openaire graph.
f. Add class 'user-actions' in ul in app box (right box of page) and set margins.
g. Add class 'basic-info' in ul for basic information (set margin).
h. Get indexUpdateDate from service if available.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58724 d315682c-612b-4755-9ff5-7f18f6832af3
Claims:
update search forms and filters according to the new design (Projects, Results)
add result type as Refine field
add range filter component
make basket stiky
make alert close to work
change research results -> research outcomes
Range Filters:
add showQuickButtons
smaller input, - between the inputs
Search:
change research results -> research outcomes in placeholder
NewSearchPage: make static method that creates range query
Fields:
add resulttypeId
change Year range to Active within for projects
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58697 d315682c-612b-4755-9ff5-7f18f6832af3