-
Notifications
You must be signed in to change notification settings - Fork 24
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
PORTALS-2651 #1547
PORTALS-2651 #1547
Conversation
- Remove Bootstrap CSS and dependencies - Remove Downshift (no longer used) - Remove some missed bootstrap classes
3093c3e
to
fa153cf
Compare
@@ -201,7 +201,6 @@ export const EntityUpload = forwardRef(function EntityUpload( | |||
/> | |||
{/* File input */} | |||
<input | |||
className="form-control" | |||
type="file" | |||
id="filesToUpload" | |||
name="file upload" |
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.
These input
s with form-control
are not visible, so removing the class doesn't matter
// TODO: Remove * ? | ||
* a.ignoreLink:not(.btn, .MuiLink-root, .MuiButton-root) { | ||
@include SRC_Mixins.ignoreLink; | ||
&:visited, | ||
&:active, | ||
&:link { | ||
@include SRC_Mixins.ignoreLink; | ||
&:visited, | ||
&:active, | ||
&:link { | ||
@include SRC_Mixins.ignoreLink; | ||
} | ||
} | ||
} |
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.
This selector touches a lot, and isn't bootstrap-specific, so I left it, even though I want to remove it.
- react-bootstrap usage was removed - react-app-polyfill is no longer used (we do not use CRA and synapse-react-client is not a standalone web application) - prop-types is unused, and we use TypeScript
"classnames": "^2.5.1", | ||
"dagre": "^0.8.5", | ||
"dayjs": "^1.11.10", | ||
"downshift": "^6.1.12", |
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.
was previously used in UserSearchBox
(v1), is no longer used
@@ -88,11 +86,8 @@ | |||
"plotly.js": "2.28.0", | |||
"plotly.js-basic-dist": "^2.30.0", | |||
"pluralize": "^8.0.0", | |||
"prop-types": "^15.8.1", |
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.
Not used, plus not needed since we use TypeScript
"qrcode": "^1.5.3", | ||
"raf": "^3.4.1", | ||
"react-app-polyfill": "^3.0.0", |
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.
Not used since synapse-react-client used create-react-app (a while ago!)
headline1: 'p', | ||
headline2: 'p', | ||
headline3: 'p', | ||
headline1: 'h1', |
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.
I think using ranked headings is an accessibility win as well
Remove bootstrap 4 and react-bootstrap