diff --git a/README.md b/README.md index 0edfeae4a51e0146acc177e2b2cd4597c6a64cf7..7d2478e3204586d4f958d7f7bb6eead441db3087 100644 --- a/README.md +++ b/README.md @@ -27,3 +27,18 @@ docker run -p 3000:3000 web-portal ## Testing locally push registration Push registration requires SSL and a valid cert, even on localhost. + +## Troubleshooting + +### sass build error on master +``` +/usr/src/app/node_modules/node-sass/lib/binding.js:13 + throw new Error(errors.unsupportedEnvironment()); + ^ +Error: Node Sass does not yet support your current environment: Linux/musl 64-bit with Unsupported runtime (88) +``` + +Solution: +``` +npm uninstall node-sass-chokidar && npm install node-sass-chokidar +``` diff --git a/src/about/components/AboutContact.js b/src/about/components/AboutContact.js index aadb542e8052808f36602003145c6ae5d946b0f9..acd384ffd7c8db69047ec89b4723200a218b16b6 100644 --- a/src/about/components/AboutContact.js +++ b/src/about/components/AboutContact.js @@ -15,7 +15,7 @@ const AboutContact = () => { The service is provided by IT-CDA-WF section and is part of the MALT activities as replacement option for mailing lists. </p> - <p>Report any issues or question at our Mattermost channel:</p> + <p>Report any issues or questions at our Mattermost channel or Service Now:</p> <a href="https://mattermost.web.cern.ch/it-dep/channels/notifications" target="_blank" @@ -23,6 +23,15 @@ const AboutContact = () => { > https://mattermost.web.cern.ch/it-dep/channels/notifications </a> + <br /> + <br /> + <a + href="https://cern.service-now.com/service-portal?id=functional_element&name=notifications" + target="_blank" + rel="noopener noreferrer" + > + Service Now + </a> </Container> ); }; diff --git a/src/about/components/AboutNotifications.js b/src/about/components/AboutNotifications.js index 8fceea965622915a68309d548992bc376e436fbe..73413a149c9140d50a25da5ebca07bd205eaaf6e 100644 --- a/src/about/components/AboutNotifications.js +++ b/src/about/components/AboutNotifications.js @@ -47,7 +47,19 @@ const AboutNotifications = () => { <List.Item>Normal</List.Item> <List.Item>Important</List.Item> <List.Item> - [Blocked] Critical (Only allowed for very specific channels after approval) + [Blocked] Critical + <br /> + Only allowed for very specific channels after approval. Critical notifications + bypass all preferences and are targeted to all users on all available devices. + Available after approval, request via{' '} + <a + href="https://cern.service-now.com/service-portal?id=sc_cat_item&name=request&fe=notifications" + target="_blank" + rel="noopener noreferrer" + > + ticket + </a> + . </List.Item> </List> </List.Description> @@ -132,23 +144,6 @@ const AboutNotifications = () => { the user is not, indeed, member of the channel, the user will not be notified. </p> <p> - Example: The channel <code>Windows</code> is used to announce patches, news, - etc. to the Windows users at CERN. For this reason, members of grappa group{' '} - <code>windows</code> have been added to this channel when it was created and - are part of it now. A new patch for Windows 11 will be lunched tomorrow, and - channel admins want to notify only the concerned users (<code>windows11</code>{' '} - grappa group members that belong to the channel). By adding the{' '} - <code>windows11</code> grappa group as a grappa group to send a direct - notification, only these members of the channel will be notified, so Windows - 10 and Windows Server users that are on the channel will not get the - notification. If for example the notification concerns now to Windows 10 and - Windows 11 users, by adding <code>windows10</code> and <code>windows11</code>{' '} - grappa groups as grappa groups to send direct notification will notify members - of both grappa groups that are members of the channel, excluding{' '} - <code>windows-server</code> members of the channel. If for some reason, extra - single users are required, it is possible to add them by specifying these - users by their emails or logins, so apart from the previous users reached, - these single users will be also notified ONLY if they are part of the channel. <Image src={`${process.env.PUBLIC_URL}images/about_images/venn_diagram.png`} size="medium" @@ -163,12 +158,12 @@ const AboutNotifications = () => { <br /> When to use each mode? <br /> - <code>Intersection between specified users or groups and channel members</code> mode - is useful to notify a subset of users from a channel, while - <code> to all specified users or groups</code> can be used if you want to make sure - that the notification reaches everyone and you may be not sure if they are on the - channel yet, or want to automate the process of adding users to a channel - dynamically while sending notifications. + <b>Intersection</b> between specified users or groups and channel members mode is + useful to notify a subset of users from a channel, while + <b> to all </b> specified users or groups can be used if you want to make sure that + the notification reaches everyone and you may not be sure if they are on the channel + yet, or if you want to automate the process of adding users to a channel dynamically + while sending notifications. <br /> </List.Description> </List.Item> diff --git a/src/notifications/components/SendNotificationComponent/SendNotificationComponent.js b/src/notifications/components/SendNotificationComponent/SendNotificationComponent.js index 86de1e8f3a9575960f89b0eef0daed0fee8e1960..a2d69bcd03bcdc9dcf5b0eb69a2478f3b7147af0 100644 --- a/src/notifications/components/SendNotificationComponent/SendNotificationComponent.js +++ b/src/notifications/components/SendNotificationComponent/SendNotificationComponent.js @@ -440,7 +440,6 @@ const SendNotificationComponent = ({ <CKEditor dispatchEvent={dispatch} type="classic" - debug data={editorData} uniqueName="body-editor" />