-
Notifications
You must be signed in to change notification settings - Fork 34
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
Upgrade to Bootstrap v4 #1519
Upgrade to Bootstrap v4 #1519
Conversation
@leplatrem I'm gonna keep this one open a few days because I'd love to get your thoughts! To make it easy I've deployed it here. Mainly just looking to hear if there's anything that's obviously broken. |
This is amazing, Dylan 🤩 💯 you rock! The UI look is great! |
Apparence of schema fields in attributes of in readonly collectionbefore Apparence of permissions formWe lost the 2 columns view Broken attachment formNo way to attach files anymore ? Signoff plugin popup windows brokenI would have to investigate this one myself, since there's no easy way to reproduce without a remote-settings instance. |
Dylan, this is what I could find after a first round ;) But it looks fantastic! This work has remained as TODO for sooo long!! |
@leplatrem After digging into the issues you pointed out, I realized that the majority of them stem from the switch to With that in mind, I think the best path forward is to fork |
Note to self: The permissions form uses custom classes, |
Isn't this essentially the same as "reimplementing each form element type" (which is what @rjsf/bootstrap-4 does and what you were trying to avoid)? |
Great point! I'm not so much against a reimplementation so much as I'm against the specific reimplementation choices made by the Bootstrap 4 theme. By making the modifications myself to the Bootstrap 3 widgets, it's my hope that I can (at the very minimum) output the same HTML structure for the majority of the components, and make specific, minimal changes to support the Bootstrap 4 theme. As it stands, the Bootstrap 4 theme offered by That being said, I'm certainly not opposed to switching back to |
@leplatrem Okay, I think it's ready for another look! It's deployed here. |
@leplatrem Alright, unless you see anything wrong with this deploy, I'll merge this in! 🎉 One thing I want to note: it looks like your default browser font is a bit bolder than what's intended. My guess is that it's because Bootstrap v4 switches to a system-default font-stack. For reference, here's what the changes look like on Windows: |
You're a champion! Thank you!! |
This PR upgrades the site to the latest release of Bootstrap. It's mostly some class changes and HTML-structure changes to accommodate the new BS4 components. There were also a handful of test changes to account for the new markup.