Commit Graph

94 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou ac0d97404a Rename all component css to less. Import less from common-assets and delete deprecated.css. Remove dashboard-theme submodule 2022-07-17 16:24:47 +03:00
Konstantinos Triantafyllou de5874e334 Add property errorLink in navigation to error 2022-05-11 12:57:00 +03:00
Konstantinos Triantafyllou c9499ea0a6 Remove some console logs. Fix selected filters alignment 2022-05-05 17:18:58 +03:00
Konstantinos Triantafyllou 8c76b808d9 1. Change selected fitlers in monitor base on filters in search. 2. Add label secondary with color of monitor 2022-04-18 14:44:44 +03:00
Alex Martzios 56a877461d tweak for print.css and add click-outside-or-escape directive for indicators' description overlay 2022-04-13 13:22:22 +03:00
Alex Martzios f9c5aa616d update methodology page content, new css rules for printing, new description for indicators 2022-04-12 13:03:47 +03:00
Konstantinos Triantafyllou 0b814da356 Monitor Page: Remove filters if user is logged out 2022-04-11 16:23:10 +03:00
Konstantinos Triantafyllou e27936ccc5 Some changes in grid of indicators, both monitor and indications pages. Update libraries 2022-04-11 12:31:09 +03:00
Konstantinos Triantafyllou 3c7e7963f5 1. Remove PreloadAllModules from app-routing. 2. Replace deprecated icons with Material icons. 3. Redesign indicators page base on new theme. 2022-04-09 16:25:09 +03:00
Konstantina Galouni 84c155bb2e [Library & Monitor Dashboard | new-theme]: Small update on notifications & filters offcanvas.
1. shadow.css: Added variable --shadow-main-dark.
2. offcanvas.css:
   a. Set --offcanvas-shadow: var(--shadow-main-dark);
   b. In class .offcanvas-switcher remove transition (will not be visible when offcanvas is open)
   c. [Bug fix] In class .offcanvas-count increased font size and make background always round, added line-height: 20px.
   d. In rule ".offcanvas .uk-offcanvas-bar" set border-radius to 4px.
3. notification-utils.ts: Full stop added in messages.
4. notification-sidebar.component.css: In rule "#notifications .notification-list ul" set height: calc(100% - 77px).
5. notifications-sidebar.component.ts:
   a. Removed anything related to offcavnas events
   b. Removed commented code
   c. Added in icons visuallyHidden.
6. monitor.component.html:
   a. Removed "open" class when offcanvas is open.
   b. Added in icons visuallyHidden
   c. Added sign in link in filters when user is not logged in
   d. Added uk-text-small class in "Clear".
7. monitor.component.ts:
   a. Removed anything related to offcavnas events
   b. Added method "logIn()".
2022-04-05 19:55:01 +03:00
Konstantina Galouni 5df716ca5f [Library & Monitor Dashboard | new-theme]: Applied new theme & redesign changes in notifications & filters offcanvas switcher icons and boxes.
1. offcanvas.css: [NEW] Custom css for custom 'offcanvas' classes.
2. import.css: Import new file offcanvas.css
3. structure.css: Removed custom css for notifications offcanvas.
4. monitor.component.ts: Added property "offcanvasOpen" which is set on UIkit.util.on events for offcavnas "#style_switcher" (filters).
5. monitor.component.html: Added "offcanvas-switcher", "offcanvas", "offcanvas-close" classes | Small changes in close button, switcher button and message.
6. monitor-dashboard-custom.css: For #filters_switcher_toggle only top is defined here. Now css will be imported by offcanvas.css file.
7. notification-user.component.ts: Updated default value for property 'colorClass' from 'portal-color' to 'uk-text-primary'.
8. notifications-sidebar.component.ts:
   a. Added property "offcanvasOpen" which is set on UIkit.util.on events for offcavnas "#notifications".
   b. Added "offcanvas-switcher", "offcanvas", "offcanvas-close" classes
   c. Small changes in close button, switcher button and font sizes.
9. notifications-sidebar.module.ts: Removed iconsService.registerIcons from constructor.
10. notification-sidebar.component.css: Unnecessary css removed | css updated and moved to new file offcanvas.css.
2022-03-30 19:18:06 +03:00
Konstantinos Triantafyllou 1f653c10d5 Add new uikit version. Change sticky in monitor page 2022-03-14 18:36:50 +02:00
Konstantinos Triantafyllou 586b28aeb3 Add logoUrl in header of monitor page and hide it if header is sticky 2022-03-11 01:09:23 +02:00
Konstantinos Triantafyllou 9c67703a2d Change stakeholder page with the new theme. Some fixes in methodology and develop 2022-03-02 23:58:53 +02:00
Alex Martzios 051be69058 Add print button in dashboard's page 2021-10-29 16:56:44 +03:00
Alex Martzios 353d5e7a5b Add print button and functionality for dashboard graphs - commented out for now 2021-10-21 11:57:46 +03:00
Konstantinos Triantafyllou 71bed68e05 Revert change sizes in number indicators 2021-10-19 15:56:30 +03:00
Konstantinos Triantafyllou 9ee588df82 Change description overlay. Fix a bug in case of more than one sections has no indicators. Make numbers with fixed width 2021-10-19 15:30:17 +03:00
Argiro Kokogiannaki be871e043b [Monitor Dashboard | trunk]
app: for Default profiles remove  menu for users and pages 
add properties for monitor stats tool
stats tool: apply new schema changes
	in indicator form add method to check for schema enhancements and update the url


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@60258 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-15 16:02:30 +00:00
Argiro Kokogiannaki 2071d524d2 [Monitor Dashboard|Trunk]
- package.json: clean up citation.js + wikidata
- Admin tools: 
	remove components- use directly library components
- Properties: updates for helptexts




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@60203 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-11 09:28:34 +00:00
Argiro Kokogiannaki 20ef481a4a [Monitor dashboard | Trunk]
Admin tools:
	- move amdin tool components underadmin-tool folder
	- create admin tool routing module
	- remove guard from each module and put it in admin tool routing module

Piwik:
	- add piwik from configuration service and pass it in search, landing, monitor

App component:
	- when stakeholder changes: update or reset properties adminToolsCommunity, adminToolsPortalType and init community information


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@60171 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-18 15:31:21 +00:00
Konstantinos Triantafyllou 1f953e598c [Monitor Dashboard | Trunk]: Add note for https on edit-stakeholder. Change number indicator form logic
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@60161 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-17 15:39:31 +00:00
Konstantinos Triantafyllou 479463ca63 [Monitor Dashboard | Trunk]: Some UI changes
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@60004 d315682c-612b-4755-9ff5-7f18f6832af3
2020-12-01 15:43:43 +00:00
Argiro Kokogiannaki f51535542e [Monitor Dashboard|Trunk]
-Search pages: 
	-updates for custom filter
	-add
	-remove custom filter parameters

-Monitor component:
	- apply height sizes
	- put indicator title inside the card
	- add link to graph
	- add last update of statistics date
	- encode and handle filter parameters similar to search pages

-Indicators: add height in the form


 


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59980 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-27 10:46:58 +00:00
Konstantinos Triantafyllou cdc417b60c [Monitor Dashaboard | Trunk]: 1. Add window resize method. 2. Some changes on stakeholder's page. 3. Make width of sidebar smaller.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59976 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-26 16:23:21 +00:00
Argiro Kokogiannaki 086992a91b [Monitor|Trunk]
-edit numbers:
	- create url: parse the index id properly
	- save url: keep only the path from url
	- set stat-tool the default option
	- hide other options for non admins
	- set default json paths for stats-tool

-search link: pass the stakeholder filter in parameters


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59920 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-19 16:16:36 +00:00
Argiro Kokogiannaki 5404b8575a [Monitor Dashboard | Trunk]
code cleaning:
-remove unused imports, files
- add unsubscribe calls



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59847 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-13 16:42:12 +00:00
Argiro Kokogiannaki 2ce065b70e [Monitor Dashboard | Trunk]
-call setSidebar when stakeholder is already available from admin
-hide section title when there are no indicators
-


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59789 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-05 16:50:06 +00:00
Argiro Kokogiannaki 62fbea02fa [Monitor Dashboard|Trunk]
- remove helptexts call from monitor
- updates for sidebar



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59777 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-05 08:26:05 +00:00
Argiro Kokogiannaki 5f6c0884b5 [Monitor Dashboard|Trunk]
-set SEO titles also for private view
- add check in getTypesByUserRoles


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59771 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-04 16:04:29 +00:00
Argiro Kokogiannaki 6302cce3e9 [Monitor Dashboard|Trunk]
preview:
	move preview button to topic.component
monitor.component, app
	update methods to show the profile based on the preview value and the visibility



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59765 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-04 11:16:47 +00:00
Konstantinos Triantafyllou bd7925772f [Monitor Dashboard | Trunk]: Add footer on front page
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59762 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-04 09:10:54 +00:00
Argiro Kokogiannaki 63e5b51dcd [Monitor Dashboard|Trunk]
- update checks for roles
- Stakeholder form: create stakeholder type if curator of that type of portal administrator



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59747 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-03 09:42:47 +00:00
Argiro Kokogiannaki 264a16c9bf [Monitor|Trunk]
-remove isPublic/isActive and their funtionalities
-add visibility
-update stakeholder and indicator cards

-add beta version of stats tool



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59675 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-23 13:58:16 +00:00
Argiro Kokogiannaki 6a8ed470f7 [Monitor Dashboard|Trunk]
-apply changes for baseLink, domain properties

-add jsonld in monitor page
-add files for production version (robots.txt, index.html)




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59412 d315682c-612b-4755-9ff5-7f18f6832af3
2020-09-18 09:19:47 +00:00
Argiro Kokogiannaki 7d57db25e0 [Monitor Dashboard | Trunk]
Indicators Page: 
 - keep parameters 
 - add feadback link

Admin manage number indicators:

 - add message when stakeholder parameterization is not applied
 - preview the number API url (similar to charts)
 - json path: auto generate if the first one has comma separated values
 - fix stakeholder parameterization for numbers from stats-tool

Filtering:
 - fixes


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59224 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-06 07:34:41 +00:00
Argiro Kokogiannaki 9c93f0760a [Monitor Dashboard|Trunk]
- smaller screen show the mini sidebar
- with esc or click outside hide the filters
- set background
- Search Results/ Projects use the same index field as in the refine fields for funder and RI

- filters: 
	named queries - don't apply filter if already applied with different value
	for charts with multiple queries check if it is comparing query on different values of the same filter

- environments.beta/prod.ts: add reseach outcomes search routes 


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59218 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-04 07:57:51 +00:00
Argiro Kokogiannaki 098af07766 [Monitor|Dashboard]
Filters: add co-funded filter



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59185 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-28 15:56:48 +00:00
Argiro Kokogiannaki 1c08f50c75 [Monitor Dashboard|Trunk]
Apply initial changes according to the latest mocks
Filters:
	hide filter icon when filter panel is open
	show an overlay film when at least one active filter cannot be applied to a chart
	when a filter is already applied by default to a chart (with multiple queries) with different value --> change the chart color to one with lower opacity





git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59183 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-28 14:57:17 +00:00
Argiro Kokogiannaki 60c74f8176 [Monitor| dashboard]
add filtering  fl0 for  parameterized named queries



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59122 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-15 10:06:15 +00:00
Argiro Kokogiannaki 7c9230c658 [Monitor dashboard | trunk]
monitor Component: Add fl0 filter


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59118 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-14 15:22:39 +00:00
Argiro Kokogiannaki d767faeecd [Monitor Dashboard|Trunk]
Search pages:
	update the custom filter: add name, organization custom filter is set to not hidden
Update filter icon css


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59104 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-14 08:25:59 +00:00
Argiro Kokogiannaki 204cb9a597 [Monitor Dashboard|Trunk]
Indicators page - Filters:
	filters in burger menu on the right
	add range filter component
	
Indicator utils:
	AddFilter(): add filter for parameterized queries
	parameterizeDefaultQuery(): 
		for parameterized queries stakeholder position is not fixed in first place. parameters contain start/end year in first 2 places.
		make it work for double queries like "name":"monitor.funder.greenvsgold.name.type","parameters":["2020","2020","European Commission","dataset","2020","2020","European Commission","dataset"]
		


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59061 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-10 08:37:51 +00:00
Argiro Kokogiannaki 887884c260 [Monitor dashboard | Trunk]
Enable adding numbers from stats-tool

Adding filters not in the indicator object, but on demand when filters are applied
Use common code for charts and number objects from stats tool



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59056 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-07 14:08:47 +00:00
Konstantinos Triantafyllou b69e50e978 [Monitor Dashboard | Trunk]: Move sidebar and header to app component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59048 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-06 09:19:01 +00:00
Argiro Kokogiannaki 9af3095840 [Monitor Dashboard|Trunk]
Admin:
-add monitor logo in left sidebar
-add stakeholder name and logo on the blue bar
-back button takes you to /admin



Monitor.component.html
-manage buttons takes you to /admin
- private preview to work if admin or curator




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@58998 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-26 10:52:58 +00:00
Argiro Kokogiannaki da5dbee3aa [Monitor Dashboard |Trunk]
Admin and stakeholder page:
-update titles (use stakeholder.name)
-indicator description in the bottom


Admin: 
-rename stakeholder to profile
-update titles (use stakeholder.name)
-add name when there is no logo
-back button takes you to stakeholder page not /admin
-indicator description in the bottom
-Add sections for numbers is enabled only for administrators



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@58990 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-25 08:10:42 +00:00
Argiro Kokogiannaki 286b82c01a [Monitor dashboard|Trunk]
For the menu use the stakeholder name instead of index_name

redirect to error pages changed:
	-private stakeholder -- > message private data
	-public stakeholder with no topic/category/subcategory to show (either because is private, inactive or simpe they don't exist) --> message no indicators yet
	-inactive stakeholder/topic/category/subcategory OR the alias from URL doesn't exist --> error page





git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@58986 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-24 13:36:00 +00:00
Argiro Kokogiannaki 28e432bf54 [Monitor Dashboard|Trunk]
Number indicators: 
	edit available only for portal admins
	parsing the url to parameterize and work for other indicators
	when requesting to get the numbers use the getNumberUrl to properly set the stakeholder id
	



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@58924 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-16 07:30:45 +00:00
Argiro Kokogiannaki 09b8683328 [Monitor Dashboard|TRunk]
Topic - Icon:
	change topic.iconUrl to icon
	show it as inner html in sidebars
Create AdminDashboardGuard:
	use it in restricted parts
	check if portal admin, community curator or monitor curator





git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@58901 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-12 10:46:11 +00:00