Skip to content
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

Replace Gap and FlexBox with new spacing components #2369

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

SHolleworth
Copy link
Contributor

No description provided.

Copy link

(auto-deploy) A deployment has been created for this Pull Request

Preview links

As part of the code review process, please ensure that you test against the following

Version URL
Web https://web.env.reactivetrader.com/pull/2369
OpenFin - FX fins://openfin.env.reactivetrader.com/pull/2369/config/rt-fx.json
OpenFin - Credit fins://openfin.env.reactivetrader.com/pull/2369/config/rt-credit.json
OpenFin - Launcher fins://openfin.env.reactivetrader.com/pull/2369/config/launcher.json
OpenFin - Workspace fins://openfin.env.reactivetrader.com/pull/2369/workspace/config/workspace.json

Performance

Please ensure that this PR does not degrade the performance of the UI. We should maintain a performance score of 95+.

https://developers.google.com/speed/pagespeed/insights/?url=https://web.env.reactivetrader.com/pull/2369

@@ -76,11 +76,7 @@ export const NoRfqsWrapper = styled.div`

// Card Footer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

started off taking against this pointless-looking comment .. 😂
.. then found AcceptedCardState is not used, and the final item QuantityTypography is not part of the footer ..
I used to have a mode set in VS Code where it annotated the usage count of each identifier .. got annoying, but might be useful when refactoring, like this ..?

>
<Typography>{EMAIL}</Typography>
{EMAIL}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor point - what is the point of Link here .. I'd rather just have the plain Typography element inline - like this, it makes me think that Link has some "special powers" 🙂

@@ -17,10 +16,10 @@ const Row = ({
variant="Text sm/Regular underlined"
color="Component colors/Utility/Blue dark/utility-blue-dark-500"
onClick={onClick}
paddingBottom="md"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ ^ can we get some typing on the color, do you think?
I know it has to allow "red", "white" and "inherit" and wotnot .. so not that easy .. but perhaps "csstype"'s Color | UISK theme Color ?
.. seems the base div component's def of color takes precedence - may not be worth the effort, but it would be nice to have completion, I would think ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants