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

Add banner notification type #773

Draft
wants to merge 51 commits into
base: main
Choose a base branch
from
Draft

Conversation

mwinkens
Copy link

@mwinkens mwinkens commented Mar 19, 2024

This feature allows adding a banner as an announcement option. The user has to click it away in order to use the navbar again, because it's hidden behind it. Allows for multiple banners.

With #767 this also allows for a daily warning, for example: "Info: Today office is disabled due to a maintenance". This also allows to set this over the API endpoint (if you can verify as admin) in an automatic manner.

I might need some help with proper css here. This announcement works on every(!) page, where js is loaded and you are a logged in user. Doesn't show announcements to not-logged-in users

dark mode:
Bildschirmfoto vom 2024-04-08 13-56-17

light mode:
Bildschirmfoto vom 2024-04-08 13-59-01

based on #767 , therefore stays a draft until merged
related #147

Signed-off-by: Marvin Winkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
mwinkens and others added 16 commits March 18, 2024 09:43
Co-authored-by: Joas Schilling <[email protected]>
Signed-off-by: mwinkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Co-authored-by: Joas Schilling <[email protected]>
Signed-off-by: mwinkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Co-authored-by: Joas Schilling <[email protected]>
Signed-off-by: mwinkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Co-authored-by: Joas Schilling <[email protected]>
Signed-off-by: mwinkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Co-authored-by: Joas Schilling <[email protected]>
Signed-off-by: mwinkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Co-authored-by: Joas Schilling <[email protected]>
Signed-off-by: mwinkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Co-authored-by: Joas Schilling <[email protected]>
Signed-off-by: mwinkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Co-authored-by: Joas Schilling <[email protected]>
Signed-off-by: mwinkens <[email protected]>
Co-authored-by: Joas Schilling <[email protected]>
Signed-off-by: mwinkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Signed-off-by: Marvin Winkens <[email protected]>
Copy link

github-actions bot commented Apr 3, 2024

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

src/Banner.vue Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants