-
Notifications
You must be signed in to change notification settings - Fork 258
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
refactor: adopt primer design system ui components #1589
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Lovely, nice touch. |
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
I think open in background is broken on this branch |
Just tested and it's working for me... |
Will do some more testing |
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
How has the testing been going @bmulholland ? For me it's been really stable. Once this is merged I plan to (finally) move forward with #985 - I have configured this on the atlassify codebase so should be an easy port across |
Signed-off-by: Adam Setch <[email protected]>
Yeah it's been working well for me :) |
@afonsojramos - I know you're a busy man atm, but if you do happen to have time to shake this down would love your feedback, too |
Giving it a try! 👀 |
Wow, this has been a huge amount of work! Everything looks great! However, I've found a couple of visual issues:
And got a few questions regarding implementation on some things. I know that to add primer/react we needed to add I'm also (sometimes) seeing some errors on the console, but I think that is related to this: https://styled-components.com/docs/faqs#shouldforwardprop-is-no-longer-provided-by-default |
Appreciate the kind words @afonsojramos and the feedback on some visual inconsistencies. I'll address them shortly 👨💻 |
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Apologies this took a while to get back to. Items 1, 2 and 3 have been addressed I think we're getting quite close to this being merged. 6.x.x milestone perhaps? |
@setchy do you want some help in the replacement of the |
Absolutely! Always welcome a friendly hand. I haven't attempted to remove the style components used with primer components... I'm not sure how feasible that will be, but if possible I'm keen |
Seems like it is not possible 😅 We need to override the component's defaults... Oh well 🤷 It's annoying, but isn't much of a problem. |
Thanks for taking a look 🙏 |
Closes: #1541
Adopts the excellent GitHub Primer Design System Component Library - https://primer.style/components to replace our custom components and provide a level-up on user experience and visual consistency.
This PR, though sizeable, focuses on replacing the following components
I have also replaced most tests to use
data-testid
andgetByTestId
so that they're more resilient to UI changesItems found during testing that should be resolved