Closed Bug 1497931 Opened 6 years ago Closed 4 years ago

Switch from bootstrap to reactstrap

Categories

(Tree Management :: Treeherder: Frontend, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: sclements)

References

Details

Attachments

(2 files)

Since:
* we're currently using a mixture of the two, and they only share CSS, so the bundle includes twice the JS it needs to
* bootstrap requires jquery (unlike reactstrap), which further bloats our bundle - and once we move away from angular (which uses jquery) plus remove our own usages (bug 1492003), bootstrap will be the only non-perfherder thing left using it
* reactstrap is much more readable to contributors than plain bootstrap IMO
Depends on: 1515798
No longer blocks: treeherder-react

There's still Bootstrap/jquery being used in the HelpMenu and Login components (and potentially others), so we can't remove it until those have been switched over to reactstrap.

Assignee: nobody → sclements
Status: NEW → ASSIGNED
Priority: P3 → P1

Merged first part (convert login and help menu components): https://github.com/mozilla/treeherder/commit/2e7531044c8a7384d2def118d8c89593a5a4e508

Attached file GitHub Pull Request
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: