Customization:
- update with the new Object
- update the way it is initialized
- clean up code
- test usage through app.component
- add preview Component (for Admin quick look)
Community Component:
- updates on Enermaps integration
- updates with opscidia integration
- update tabs (use customClass attribute)
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60815 d315682c-612b-4755-9ff5-7f18f6832af3
1. affiliations.component.html: organizations slider in community first page: "coloredBackground" class added in <a> links for next and previous slider items
2. connect-custom.css: Css added for "coloredBackground" class (on focus and on hover too) - background color same as this of the page (#F7FCFF) and on hover opacity: 0.9.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60787 d315682c-612b-4755-9ff5-7f18f6832af3
-Routing module: remove properties resolver
-App component:
- check for manager and hidden status of community.
- show private data error page
- or login for status manager
- if community is not loaded show connect menu
Connect menu:
- use url instead of route if it is a community
- remove community parameter for dev
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60745 d315682c-612b-4755-9ff5-7f18f6832af3
1. connect-custom.css: [Bug fix] Add .connectApp .uk-pagination > * > *:hover in rule .connectApp .uk-pagination > * > * so that paging does not change color (white) on hover.
2. app.component.ts: [Bug fix] In some cases both <schema2jsonld> tags where active - added in the second one more check "&& community".
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60013 d315682c-612b-4755-9ff5-7f18f6832af3
1. /connect-assets/:
a. In /about/ added updated icons (1.svg, 2.svg, 3.svg, 4.svg, cycle.svg) and removed .png.
b. In /banner/ added updated icons (login.svg, togetger.svg) and remove .png.
c. In /home/ added updated icons (1.svg, 2.svg, 3.svg, dashboard.svg) and removed .png.
d. sketch_line_arrow.svg & sketch_line_arrow_large.svg: Replaced stroke color #94b2e2 with #bcc3ce.
2. connect-custom.css:
a. Added class "connect-background" with portal-main-color background.
b. Added rule ".connectApp .text-small" (class text-small) for font-size: 14px;
c. Added rule ".connectApp .uk-pagination > * > * " for color: #1a1a1a;
d. Added class "contactUsBackground" for linear background with gradient in contact us sections.
3. curators.component.html: [Bug fix]: Show "Biography" title only when bio is available.
4. browse-community.component.html & communities.component.html & contact.component.html
& faqs.component.ts & learn-how.component.ts & learn-in-depth.component.ts & my-communities.component.html:
Updated fonts, colors and some margins according to new mocks.
5. In dashboard: subjects.component.ts & organizationsPage.component.ts & curators.component.html: Page title set to <h4>.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60009 d315682c-612b-4755-9ff5-7f18f6832af3
- update properties / use prod.prod propertis for production instance
- remove checks for production ready instances
- simplify sitemap
- remove subscribe for properties
- Add community title for custom filter
- update piwik ids - use the same for beta and production
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59991 d315682c-612b-4755-9ff5-7f18f6832af3
code clean up:
-remove unused imports, code, files (Old search pages for results, etc)
-remove Freeguard from modules
-unsubscribe all subscriptions
-Services: configuration, communities, subscribers, user management: unsubscribe from app component or the component that uses them (clearSubscriptions())
-Fetchers: unsubscribe from the component that uses them (clearSubscriptions())
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59826 d315682c-612b-4755-9ff5-7f18f6832af3
Angular.json: file replacements fixes for beta/prod
Server.ts: build and serve sitemap.xml based on domain (Other for connect.openaire.eu, other for communities)
App component: add Organization & Search Action jsonld there (Remove from connect and community home page components)
Udpdate and add jsonld descriptions
Remove unused Sitemap files
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59244 d315682c-612b-4755-9ff5-7f18f6832af3
1. src/main.server.ts: Call enableProdMode when not development environment.
2. package.json: Remove "--sourceMap" flag from server build | Development rules added for server side.
3. angular.json: Development configuration added for server side.
4. app.component.ts: Initialize communityFull info from app component (call configurationService.initCommunityInformation).
5. community.component.ts: Get communityFull info from state (call configurationService.communityInformationState) | Add subscriptions in array to unsubscribe in ngOnDestroy.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59138 d315682c-612b-4755-9ff5-7f18f6832af3
Angular.json:
-in prod/beta configuration add replacements for index.html, robots.txt
-add sitemap.xml file
Clean up index.html
add css files in styles.css
PRoduction:
communities browse: in production show link to beta or prod based on the list of prodReadyCommunities
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59029 d315682c-612b-4755-9ff5-7f18f6832af3
1. assets/connect-assets/home/entities: svg files added for entity types in community first page.
2. connect-custom.css: Classes added for icons in entity types in community first page.
3. community.component: Analytics tab redesigned - entity tabs added & charts in cards.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58676 d315682c-612b-4755-9ff5-7f18f6832af3
1. community.component:
a. [Bug fix] Add 'uk-tab' and 'uk-active' class to load css without javascript enabled.
b. In tab 'Summary', reorder information - description goes on top.
c. Cut description in first 500 characters, if length > 600, otherwise do not cut it.
2. curators.component: Add 'view all/ less' functionality.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58653 d315682c-612b-4755-9ff5-7f18f6832af3
1. community.component.ts: Add fields 'public thresholdDescription: number = 550;' and 'subscribers: number = 0;' and method 'public countSubscribersEvent($event)'.
2. community.component.html:
a. Move curatos, projects & content providers, zenodo communities inside tab 'Summary'.
b. In tab names add class 'tab-header' and remove 'uk-text-bold'.
c. Cut description according to 'thresholdDescription'.
3. curators.component.html: Add 'uk-inline-block' class in <a>, in order not to break name and surname of a curator into 2 lines.
4. results.component.ts: Add 'view all' link on top right corner too and change class of link to 'uk-button uk-button-text'.
5. subscribe.component.ts: Add output event when getting subscribers number (used by community.component to add margin in needed).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58616 d315682c-612b-4755-9ff5-7f18f6832af3
1. subscribe.component.ts: Remove unnecessary prints.
2. searchCommunities.component.ts:
a. [Bug fix - sometimes on 1st load] Remove data binding for 'sort' in <new-search-page>.
b. [Bug fix - no results on 1st load] Remove data binding for 'filters' in <new-search-page>.
c. Add field 'private userFilterLoaded:boolean = false;' to init all filters correctly when user is logged in.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58595 d315682c-612b-4755-9ff5-7f18f6832af3
1. app-routing.module.ts: Add route '/subjects'.
2. app.component.ts: Group subscribe and invite buttons under id="subscribeAndInviteBtn" (keep distance between them alwayes the same) | uncomment menu item 'Subjects' in About.
3. app.module.ts: import 'SubscribeService' (singleton service to update everywhere subscriber status).
4. libUser.module.ts & subscribe.module.ts: remove import of 'SubscribeService' (singleton service to update everywhere subscriber status).
5. community.component.html:
a. Improve some checks
b. In main tabs of the page (class main-tabs) add class 'uk-text-truncate' and remove class 'uk-width-3-4' (each tab has max-width)
c. Add icon in 'Analytics' tab
d. [Bug fix] In description, fix overflow and max height of box
6. community.component.ts: Add field '@ViewChild(SubscribeComponent) subscribeComponent: SubscribeComponent' to add some checks in html.
7. curators.component.html: Remove div with class 'image-front-topbar' | Update css for title | Add <breadcrumbs> | Add user icon for each curator.
8. curators.component.ts: Initialize breadcrumb | [Bug fix] In methods 'getPageContents()' and 'getDivContents()' use communityId (instead of 'connect').
9. curators.module.ts & organizationsPage.module.ts & inviteBasic.module.ts: import 'BreadcrumbsModule'.
10. organizationsPage.component.ts: Update css for title | Add <breadcrumbs> | Initialize breadcrumb.
11. subjects.component.ts, subjects.module.ts, subjects-routing.module.ts: Add page for Subjects.
12. invite.component.html: Add <breadcrumbs> in longView | Add icon in button 'Invite users'.
13. invite.component.ts: Initialize breadcrumb.
14. subscribe.component.ts:
a. Add icon in button "Subscribe"/ "Subscribed"
b. Add class 'uk-display-inline-block' in showNumbers (members)
c. Initialize and get subscriber status with new methods of service (initIsSubscribedToCommunity() & isSubscribed - BehaviorSubject instead of isSubscribedToCommunity())
15. connect-custom.css: Group css for #subscribeBtn, #inviteBtn into #subscribeAndInviteBtn | Add css for class 'user-circle-background' (background of user icon in curators).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58574 d315682c-612b-4755-9ff5-7f18f6832af3
1. app.component.ts: <subscribe> and <invite> components added (floating buttons on the right side of each page for communities).
2. community.component.html:
3. community.component.ts:
a. 'projectsCalculated' and 'contentProvidersCalculated' fields added, to calculate tootlip after both requests complete
b. added methods for building tootips
c. 'activeTab' set to 'summary'.
4. affiliations.component.html: minor phrasing changes (e.g. title).
5. curators.component.html: shortview changed.
6. results.component.ts: Title changed | 'View all' moved to the bottom.
7. customization.component.ts: Changed '--portal-main-color' from '#4C9CD5' to '#4687E6' | Changed '--portal-dark-color' from '#24857F' to '#2D72D6'.
8. invite.component.html: shortview changed.
9. invite.component.ts: 'properties' field as input (get it is called from app.component).
10. invite.module.ts & inviteBasic.module.ts: InviteBasicModule created to declare InviteComponent without routing and login guard | InviteModule imports InviteBasicModule and adds routing and login guar$
11. subscribe.component.ts: Changes for subscribe button and members | 'properties' field as input (get it is called from app.component).
12. connect-custom.css: css for subscribe and invite buttons and for tooltip with 'community-page-tooltip' class.
13. customization.css: class 'communityBackground' added and css for 'subtitle' class inside 'communityBackground'.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58549 d315682c-612b-4755-9ff5-7f18f6832af3
Add html page for connect (helptexts):
Publications
Add new html Pages per community (helptexts):
Projects and funding
National Bulletins
Content (moved from connect to separate page per community)
add the routes and the menu items for the above pages
Use htmlComponent for pages that their main content comes from helptexts
includes piwik, metatags and jsonld updates
Links to community pages: for production installation go to BETA
Remove unnused component AboutPageComponent
Piwik: add ids for new communities
Community page:
add check for communities without charts
add check if charts is Active
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58471 d315682c-612b-4755-9ff5-7f18f6832af3
1. my-communities.component.ts: Use new method "isSubscribedToCommunity()" without email parameter (subscribe.service).
2. subscribe.component.ts: Do not reveal users' (subscribers') emails:
a. Check when method "init()" is called .
b. Use new methods "isSubscribedToCommunity()", "subscribeToCommunity", "unSubscribeToCommunity" without email parameter (subscribe.service).
c. Use method "getNumberOfCommunitySubscribers()" instead of "getCommunitySubscribers()".
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58460 d315682c-612b-4755-9ff5-7f18f6832af3
1. communities.component.ts & contentPage.component.ts & shareInZenodo.component.ts & helper-test.component.ts & organizationsPage.component.ts &
learn-how.component.ts & learn-in-depth.component.ts & my-communities.component.ts:
"properties" as first parameter in methods of helper.service.ts.
2. contact.component.ts & curators.component.ts & invite.component.ts:
a. "properties" as first parameter in methods of helper.service.ts
b. create request path in service (email.service.ts, curator.service.ts).
3. htmlPage.component.ts & htmlPage.service.ts: "properties" as first parameter in methods of htmlPage.service.ts.
4. customization.component.ts: create request path in service (layout.service.ts).
5. subscribe.component.ts: create request path in service (subscribe.service.ts).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58421 d315682c-612b-4755-9ff5-7f18f6832af3