-
Notifications
You must be signed in to change notification settings - Fork 2
Notifications section #28
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
base: main
Are you sure you want to change the base?
Conversation
const welcomeNotification: Notification = { | ||
id: '-1', | ||
title: 'Welcome to Application Collection extension!', | ||
description: 'Go to https://docs.apps.rancher.io/ to learn how to get started.', | ||
type: 'info', | ||
dismissed: false, | ||
timestamp: new Date().getTime() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can decide whether to include this notification by default or not. This notification can help the user get started in case they don't have much context about the extension or the product.
It is true that right now there's not much content related to the extension in the documentation site. But it may help users to know about how to use some apps.
This PR adds a new section for notifications:
Thanks to this section we will be able to notify the users about the status of ongoing tasks in the background without having to block the whole UI. Some examples are:
Notifications are stored in the extension backend, thus they won't dissappear between extension updates.