Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UD] As an admin, I would like to have a possibility to add information / warning header to the User Dasboard #18769

Closed
ibuziuk opened this issue Jan 11, 2021 · 3 comments
Assignees
Labels
area/dashboard kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@ibuziuk
Copy link
Member

ibuziuk commented Jan 11, 2021

Describe the solution you'd like

From time to time, Admin needs to communicate some information with the users e.g.:

  • scheduled maintenance
  • deprecation / EOL notifications

Admin should have a possibility to configure the header that will be applied to the UD layout.

from the UX perspective It could look similar to the warning we are having for workspace format were not only the text, but also links are supported in the message body:

image

Describe alternatives you've considered

A possible solution could be configuring a header via product.json e.g.:

 "header" : {
    "warning": "On date January 04, 2019 07:00 GMT, The service will undergo scheduled maintenance. More information can be found on the <a href="url">website</a>"
  }

Additional context

The proper solution would be having the extended Admin UI for that purpose and allowing admin / super-admin to edit the header via UI without the necessity of redeploying the instance.

@ibuziuk ibuziuk added the kind/task Internal things, technical debt, and to-do tasks to be performed. label Jan 11, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jan 11, 2021
@ibuziuk ibuziuk changed the title [UD] As an admin I would like to have a possibility to add information / warnings headers to the User Dasboard [UD] As an admin I would like to have a possibility to add information / warning header to the User Dasboard Jan 11, 2021
@sleshchenko sleshchenko added severity/P2 Has a minor but important impact to the usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jan 11, 2021
@sleshchenko sleshchenko added this to the 7.26 milestone Jan 15, 2021
@ibuziuk ibuziuk changed the title [UD] As an admin I would like to have a possibility to add information / warning header to the User Dasboard [UD] As an admin, I would like to have a possibility to add information / warning header to the User Dasboard Jan 19, 2021
@JPinkney JPinkney self-assigned this Jan 22, 2021
@amisevsk amisevsk added severity/P1 Has a major impact to usage or development of the system. and removed severity/P2 Has a minor but important impact to the usage or development of the system. labels Jan 25, 2021
@JPinkney
Copy link
Contributor

This has been implemented in: eclipse-che/che-dashboard#143. Unfortunately, we aren't able to render the text as html because I believe it opens us up for xss attack so it's just shown as plaintext

@ibuziuk
Copy link
Member Author

ibuziuk commented Feb 2, 2021

@JPinkney thanks, but we also need to refer to some URL similar to what already exist in UD - https://user-images.githubusercontent.com/1461122/104163902-6e732700-53f7-11eb-9af1-e15e58d7cc68.png

Could you please provide this possibility also?

@sleshchenko
Copy link
Member

Now <a> tags are allowed and target and href attributes are allowed @ibuziuk please reopen if it's not sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

5 participants