eionet2-dashboard 1.8.10 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/CHANGELOG.md +40 -1
  2. package/CONFIGURATION.md +17 -1
  3. package/DATA.md +84 -0
  4. package/Jenkinsfile +2 -2
  5. package/api/package-lock.json +187 -187
  6. package/appPackage/manifest.json +2 -2
  7. package/env/.env.dev +1 -1
  8. package/package.json +2 -2
  9. package/tabs/junit.xml +15 -0
  10. package/tabs/package-lock.json +1 -1
  11. package/tabs/package.json +1 -1
  12. package/tabs/src/components/Tab.jsx +14 -4
  13. package/tabs/src/components/activity/Activity.jsx +2 -2
  14. package/tabs/src/components/activity/EventList.jsx +175 -58
  15. package/tabs/src/components/activity/activity.scss +1 -0
  16. package/tabs/src/components/event_registration/Approval.jsx +1 -0
  17. package/tabs/src/components/event_registration/EventExternalRegistration.jsx +219 -0
  18. package/tabs/src/components/event_registration/EventRegistration.jsx +1 -1
  19. package/tabs/src/components/my_country/AtAGlance.jsx +31 -14
  20. package/tabs/src/components/my_country/CountryMembers.jsx +2 -2
  21. package/tabs/src/components/my_country/GroupView.jsx +51 -20
  22. package/tabs/src/components/my_country/GroupsBoard.jsx +2 -2
  23. package/tabs/src/components/my_country/MyCountry.jsx +8 -1
  24. package/tabs/src/components/self_service/UserEdit.jsx +53 -10
  25. package/tabs/src/data/constants.json +2 -1
  26. package/tabs/src/data/icsHelper.js +13 -2
  27. package/tabs/src/data/messages.json +1 -2
  28. package/tabs/src/data/provider.js +5 -2
  29. package/tabs/src/data/selfServiceProvider.js +2 -0
  30. package/tabs/src/data/sharepointProvider.js +64 -26
  31. package/tabs/src/tests/events-list.test.skip.js +83 -68
package/CHANGELOG.md CHANGED
@@ -4,7 +4,46 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
- ### [1.8.10](https://github.com/eea/eionet2-dashboard/compare/1.8.9...1.8.10) - 30 May 2024
7
+ ### [2.0.0](https://github.com/eea/eionet2-dashboard/compare/1.8.10...2.0.0) - 25 October 2024
8
+
9
+ #### :rocket: New Features
10
+
11
+ - feat: nfp user invite (Refs #278720) [Mihai Nicolae - [`2c78d72`](https://github.com/eea/eionet2-dashboard/commit/2c78d7215eda3b9e68faa0ec228d0ad7e750f44e)]
12
+ - feat: improvements (Refs #278720) [Mihai Nicolae - [`e70baee`](https://github.com/eea/eionet2-dashboard/commit/e70baee4ea1e8bd1c78a4691b8da12c40e52ac43)]
13
+ - feat: documents data At a glance (Refs #278720) [Mihai Nicolae - [`823fc03`](https://github.com/eea/eionet2-dashboard/commit/823fc03f12e8b3ad75cb5b96acf7a77f9b0d3949)]
14
+ - feat: ics improvements (#273595 ) [Mihai Nicolae - [`c1247e9`](https://github.com/eea/eionet2-dashboard/commit/c1247e9d9e60da56921c65cb42521d5827d243e8)]
15
+ - feat: change condition for register button(#273601) [danac - [`5d0a29c`](https://github.com/eea/eionet2-dashboard/commit/5d0a29c7c76c7f86e041ba63fc99fe5eab7893c9)]
16
+ - feat: user medata and improvements( #267377) [Mihai Nicolae - [`97f9dcc`](https://github.com/eea/eionet2-dashboard/commit/97f9dcc7f1f404e90836728b19f9ec5d8f90d7bf)]
17
+ - feat: groups filtering(#271860) [Mihai Nicolae - [`6da2e21`](https://github.com/eea/eionet2-dashboard/commit/6da2e213bdb305e265ed3c0a052db55504353ac3)]
18
+ - feat: icon for pcp (#267377) [Mihai Nicolae - [`3c11cff`](https://github.com/eea/eionet2-dashboard/commit/3c11cff8b96eae1c73d4701ec692f913d6f0750f)]
19
+ - feat: filter events [Mihai Nicolae - [`64e5e33`](https://github.com/eea/eionet2-dashboard/commit/64e5e33bdf01bde66a6a462fdd55270e70c790c2)]
20
+ - feat: filter out working groups(#271860) [Mihai Nicolae - [`f640d88`](https://github.com/eea/eionet2-dashboard/commit/f640d8835ff45be8b1705277a73926ef83ff5947)]
21
+ - feat: additional metadata(#267377 ) [Mihai Nicolae - [`9771751`](https://github.com/eea/eionet2-dashboard/commit/97717512d5fbf4b56dd090087139fc4f66248d21)]
22
+
23
+ #### :bug: Bug Fixes
24
+
25
+ - fix: correct wrong commit [Mihai Nicolae - [`cfae2c8`](https://github.com/eea/eionet2-dashboard/commit/cfae2c87d9a5615791aadf7ddf6eef5532765e80)]
26
+ - fix: small correction [Mihai Nicolae - [`64555e2`](https://github.com/eea/eionet2-dashboard/commit/64555e2646323380532754c268ff73237d4fceeb)]
27
+
28
+ #### :house: Internal changes
29
+
30
+ - chore: format [Mihai Nicolae - [`e587432`](https://github.com/eea/eionet2-dashboard/commit/e5874326444b4b68652143ac0908704722942af8)]
31
+ - chore: hide invite column [Mihai Nicolae - [`edfb571`](https://github.com/eea/eionet2-dashboard/commit/edfb571f20ad5dd20c6422e6f86ab908a3ad7d19)]
32
+ - chore: small manifest correction [Mihai Nicolae - [`2a7cb3c`](https://github.com/eea/eionet2-dashboard/commit/2a7cb3c4803e200b48d0f7bee06e47967ac954d8)]
33
+ - chore: fix package.lock [Mihai Nicolae - [`1833532`](https://github.com/eea/eionet2-dashboard/commit/1833532beabe5e666c94ad5ee90cbb0629434b01)]
34
+ - chore: version [Mihai Nicolae - [`cebf75a`](https://github.com/eea/eionet2-dashboard/commit/cebf75ad7651502d9ae8ad0c876639198f5b5fae)]
35
+ - chore: version [Mihai Nicolae - [`801c980`](https://github.com/eea/eionet2-dashboard/commit/801c9809feb9050683325d931ac5a7dfcc37b349)]
36
+ - chore: format [Mihai Nicolae - [`96a2ba4`](https://github.com/eea/eionet2-dashboard/commit/96a2ba486d8841340f5ff3152e75e7ecbc5bdaea)]
37
+
38
+ #### :hammer_and_wrench: Others
39
+
40
+ - test: use nodejs16 [valentinab25 - [`a96704e`](https://github.com/eea/eionet2-dashboard/commit/a96704ececc8a82bb090a8ae90e9dd980fd3ce32)]
41
+ - test: use nodejs16 [valentinab25 - [`38b88b5`](https://github.com/eea/eionet2-dashboard/commit/38b88b5d125139001496c672f990939c42f9dfa7)]
42
+ - format [Mihai Nicolae - [`bd6252c`](https://github.com/eea/eionet2-dashboard/commit/bd6252cfe8cee2149b7ec4928c087c8329463804)]
43
+ - ICS improvements [Mihai Nicolae - [`4d176b0`](https://github.com/eea/eionet2-dashboard/commit/4d176b04a88c9a79aa7e00a9582889ca32d13a86)]
44
+ - improvement (WIP) [Mihai Nicolae - [`8d8eb76`](https://github.com/eea/eionet2-dashboard/commit/8d8eb760614f76b327a92250335ae89139d53ce7)]
45
+ - error simulation [Mihai Nicolae - [`640e5fc`](https://github.com/eea/eionet2-dashboard/commit/640e5fc10b216b85e98a6812283abebb0d0ea057)]
46
+ ### [1.8.10](https://github.com/eea/eionet2-dashboard/compare/1.8.9...1.8.10) - 3 June 2024
8
47
 
9
48
  #### :rocket: New Features
10
49
 
package/CONFIGURATION.md CHANGED
@@ -17,4 +17,20 @@ Configuration keys
17
17
 
18
18
  ### [1.8.2]
19
19
  Configuration keys
20
- - DashboardNoOfDisplayedYears - The numbers of years used in the Country overview to display information about progress.
20
+ - DashboardNoOfDisplayedYears - The numbers of years used in the Country overview to display information about progress.
21
+
22
+ ### [1.9.0]
23
+ Configuration keys
24
+ - EventTypeTooltipHybrid - Text for tooltip displayed on events list on icon for hybrid meetings.
25
+ - EventTypeTooltipPhysical - Text for tooltip displayed on events list on icon for physical meetings.
26
+ - EventTypeTooltipOnline - Text for tooltip displayed on events list on icon for online meetings.
27
+ - DashboardLeadIconTooltip - Text for tooltip displayed for Lead (PCP) in groups grid and self-service.
28
+
29
+ ### [2.0.0]
30
+ Configuration keys
31
+ - RegisterOthersButtonTooltip - Text for tooltip on Register other button in events list
32
+ - InviteOnlineEmailSubject - Subject for email sent for online meeting invite by NFP
33
+ - InviteOfflineEmailSubject - Subject for email sent for offline meeting invite by NFP
34
+ - InviteOnlineEmailBody - Body for email sent for online meeting invite by NFP
35
+ - InviteOfflineEmailBody - Body for email sent for Offline meeting invite by NFP
36
+ - EventInvitationByNFPError - Message displayed when NFP tries to invite users that can register themselves for an event
package/DATA.md ADDED
@@ -0,0 +1,84 @@
1
+ ## Definitions
2
+ - WorkingGroup - group where the name starts with the prefix configured in the WorkingGroupPrefix option in Configuration list
3
+
4
+
5
+ In the following sections are detailed the conditions behind the counters displayed in the At a glance section in the Dashboard.
6
+
7
+ ## Representation section
8
+
9
+ In this section the information is filtered by country if the country is selected. If not total counts are displayed.
10
+
11
+ ### Members
12
+ - Total count of users in the User sharepoint list
13
+
14
+ - Details link will open the User sharepoint list filtered by country if selected.
15
+
16
+ ### Members pending sing in
17
+ - Count of users with SignedIn = false. These users have been invited but have not finalized the sign-in process.
18
+
19
+ - Details link will open the User sharepoint list filtered by country if selected and by SignedIn = false (0).
20
+
21
+ ### Organisations
22
+ - Total count of organisations in the Organisation sharepoint list
23
+
24
+ - Details link will open the Organisation sharepoint list filtered by country if selected.
25
+
26
+ ### Groups with nominations
27
+ - The count of groups with nominations is computed by from the groups that have at least one user in the sharepoint list (signed in or not).
28
+
29
+ - Total number of groups is computed from the choices available in the membership column in the User sharepoint list excluding WorkingGroups.
30
+
31
+ ### Groups with signed in users
32
+ - The count of groups with signed in users is computed by from the groups that have at least one user with SignedIn = true in the sharepoint list. Always should be smaller than the previous count.
33
+
34
+ - Total number of groups is computed in the same way as in the previous counter.
35
+
36
+
37
+ ## Info detailing country progress
38
+
39
+ This section provides information of the selected country participantion in the events/consultations/enquiries. It is visible only if the country is selected.
40
+ The data is diplayed separately per year for the last three years (including current year).
41
+
42
+ ### Consultations
43
+ - The total count of consultations is computed using the following condition:
44
+
45
+ ```
46
+ Year = selected year
47
+ AND Deadline < Today
48
+ AND ConsultationType = 'Consultation'
49
+ AND IsECConsultation IN (Eionet-and-EC, Eionet-only, N/A)
50
+ AND EionetGroups has at least a non WorkingGroup
51
+ ```
52
+
53
+ - The number of consultations for which the country has responded is computed with the following condition added to the list obtained with total condition:
54
+
55
+ ```Respondants includes the selected country```
56
+
57
+ ### Enquiries
58
+ - The total count of enquiries is computed using the following condition:
59
+
60
+ ```
61
+ Year = selected year
62
+ AND Deadline < Today
63
+ AND ConsultationType = 'Enquiry'
64
+ AND IsECConsultation IN (Eionet-and-EC, Eionet-only, N/A)
65
+ AND EionetGroups has at least a non WorkingGroup
66
+ ```
67
+
68
+ - The number of enquiries for which the country has responded is computed with the following condition added to the list obtained with total condition:
69
+
70
+ ```Respondants includes the selected country```
71
+
72
+ ### Events
73
+ - The total count of events is computed using the following condition:
74
+
75
+ ```
76
+ Year = selected year
77
+ AND Group has at least a non WorkingGroup
78
+ AND MeetingEnd < Today
79
+ ```
80
+
81
+ - The number of events attended by a user from the selected country is computed with the following condition added to the list obtained with total condition:
82
+
83
+ ```Countries includes the selected country```
84
+
package/Jenkinsfile CHANGED
@@ -5,7 +5,7 @@ pipeline {
5
5
  environment {
6
6
  GIT_NAME = "eionet2-dashboard"
7
7
  SONARQUBE_TAGS = "eionet2"
8
- PATH = "${tool 'NodeJS'}/bin:${tool 'SonarQubeScanner'}/bin:$PATH"
8
+ PATH = "${tool 'NodeJS16'}/bin:${tool 'SonarQubeScanner'}/bin:$PATH"
9
9
  }
10
10
  stages{
11
11
 
@@ -37,7 +37,7 @@ pipeline {
37
37
  steps {
38
38
  script{
39
39
  checkout scm
40
- tool 'NodeJS'
40
+ tool 'NodeJS16'
41
41
  tool 'SonarQubeScanner'
42
42
  sh "cd tabs; yarn install"
43
43
  }