-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 support of Global Notification #2071
Comments
You can use Refer this PR for reference: faker-js/faker#1487 |
Keeping it open for docs. |
@brc-dd Thanks for redirecting me to here, I've tried your implementation, but I think it's still better to make it built-in.
I know those are all for preventing layout shifts during SSR, but it's basically all caused by we are using If we can change the HTML structure a bit, to make it part of the documents instead of inserting into the slot and changes those heights and CSS variables with JS, it's going to be a lot easier to deal with. Thoughts? 🙏 |
Once one of the above is missing, it's just hard to get it done. Those are all because of the lack of built-in support, and due to that we are using the slot way, it's also hard to make it dynamic, e.g. to make it a plugin. Honestly I think make this built-in is kind of a basic functionality of content-based SSG tool, especially VitePress is widely used for documenting technical tools. |
Yes, this functionality should be built-in! The more I work with VitePress, the more I’m convinced I made the wrong choice and should have gone with Starlight instead. It really seems we have to build everything basic ourselves. Furthermore, the level of support and community engagement here is rather disappointing. |
Is your feature request related to a problem? Please describe.
Sometimes I need to inform the user about a project, such as status or other notifications.
Describe the solution you'd like
I think adding a banner at the top of the page would be a good solution.
It should be at the top of the page, with the content box on the left and centre and a cancel button on the right.
Describe alternatives you've considered
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: