Closed interim17 closed 5 months ago
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
🟡 | Statements | 73.27% | 603/823 |
🟡 | Branches | 68.38% | 80/117 |
🔴 | Functions | 40.31% | 79/196 |
🟡 | Lines | 71.73% | 538/750 |
99 tests passing in 7 suites.
Report generated by 🧪jest coverage report action from eba4d9744a73d208bb7034921d6ec6e1c2ac6201
When I compared these to the design, the x
in the modal looks farther away from the right edge in your build. I think this is probably the default antd positioning, but just FYI
When I compared these to the design, the
x
in the modal looks farther away from the right edge in your build. I think this is probably the default antd positioning, but just FYI
suggestion: add justify-content: center;
to .style__modal--vTNFd .ant-modal-close-x
All the secondary buttons lose their outline on focus:
Ooops, I had a type in my primary button focus selector, it was actually targeting focused secondary buttons. I think that fixed it.
When I compared these to the design, the
x
in the modal looks farther away from the right edge in your build. I think this is probably the default antd positioning, but just FYI
You're right, I have a fix for that lined up in my next set of changes. Used your justify-content
suggestion though, can see about the other fix later.
Time to review
Medium: mostly reorganization, pruning of unused variables, renaming, etc
Problem
A maintenance PR to organize colors modal button styles, and make some style fixes on modal buttons. Preliminary work to some updates to
CustomModal
.With the exception of modal buttons, these changes should not affect current styling anywhere else in the application.
To review:
Inspect the website for inadvertent changes, and inspect the three modals: share trajectory, version info, upload file (screenshots below).
Almost all changes are trivial except for
colors.css
. Incolors
I have tried hard to confirm that all removed variables were unused, and no styles were unintentionally changed by reorganization/pruning. Missing something here and messing with other styles unintentionally is the primary concern in reviewTheme and styling:
primary-button
andsecondary-button
class names to match theme, removeantd
buttontype
to prevent adding and removing their styling.- use consistent naming scheme for light theme color variablesGeneral color maintenance:
dark-blue-grey
anddark-blue-gray
defined and it also makes searching the repo more reliable if we are consistentremoved unused css vars:
renamed/reused: (using primary and secondary now to match UX usage)
Screenshots (optional):
Old:
New:
Old:
New:
Old:
New:
Old:
New: