-
Notifications
You must be signed in to change notification settings - Fork 1.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
Get rid of Bootstrap style imports #29200
Comments
Here is the GitStart Ticket for this issue: https://app.gitstart.com/clients/sourcegraph/tickets/SG-29200 |
@gitstart-sourcegraph, let's also remove the following imports and copy CSS rules that we need to our CSS files:
Feel free to create a separate issue for each import. |
Hi @valerybugakov here are some bootstrap imports on codebase we could work on as part of this issue, kindly take a look.
|
@gitstart-sourcegraph, let's create issues and spec PRs for selected items from the list above. |
As discussed with @valerybugakov |
@gitstart-sourcegraph, let's also extract |
@gitstart-sourcegraph, created an issue to unblock bootstrap removal from the VSCode package. Let me know if you have questions! |
@gitstart-sourcegraph, after addressing feedback here, could you take a look at importing the remaining Bootstrap imports into our codebase? We want to bring utility classes and mixins used by our codebase. Please drop classes and mixins if they are not used anywhere. @import 'bootstrap/scss/functions';
@import 'bootstrap/scss/variables';
@import 'bootstrap/scss/mixins';
@import 'bootstrap/scss/reboot';
@import 'bootstrap/scss/utilities'; Let's split this work into multiple PRs – one PR per import removed. |
Problem statement
We depend on Bootstrap styles in our global styles a lot. But we don't plan to move forward with Bootstrap because we're working on the Wildcard design system. To ease the transition to our styles and gain more control over visual changes, we want to move Bootstrap styles that we need into our codebase and eventually drop Bootstrap dependency.
Success criteria
bootstrap
CSS rules that we need are moved into our codebase.bootstrap
package is removed from the monorepo dependencies.Linked issues
global-styles/list-group.scss
#29252client/branded/src/global-styles/nav.scss
#29253@import 'bootstrap/scss/progress
#29355@import 'bootstrap/scss/button-group'
#29356@import 'bootstrap/scss/forms
#30279@import 'bootstrap/scss/custom-forms
#30280@import 'bootstrap/scss/input-group'
#30281@import 'bootstrap/scss/tables
#31574reactstrap
Form
component toForm
from thebranded
package #32438ListGroupItem
andListGroupItem
reactstrap
imports #32439@import 'bootstrap/scss/grid
#32458reactstrap
Tooltip
implementation into the codebase #32819reactstrap
Dropdown
migration to Wildcard components #32820@import 'bootstrap/scss/variables'
#40294@import 'bootstrap/scss/function'
,@import 'bootstrap/scss/mixins'
#40295@import 'bootstrap/scss/utilities'
#40296bootstrap
removal #41397bootstrap
SCSS variables #41398Implementation details
Let's start with these SCSS files and create a separate PR for each one:
client/branded/src/global-styles/list-group.scss
client/branded/src/global-styles/nav.scss
Notes:
client/branded/src/global-styles/index.scss
. Keep that in mind while migrating to CSS variables.Time estimate
/cc @taylorsperry @muratsu
The text was updated successfully, but these errors were encountered: