-
Notifications
You must be signed in to change notification settings - Fork 145
Home Screen - Changed activity panel button styles #5496
Conversation
Hi @samueljseay,
Good question. A few months ago, I tried the approach you mentioned but the reviewers felt that it would have been easier to review if we created the branches from the depending branch and pointing to |
Hi @samueljseay, Chatting with @jeffstieler he said that chaining PRs work better for him too so I'll change the base of this and the other PRs |
@octaedro this doesn't seem to match the design: Am I referencing the wrong design? |
@@ -224,6 +224,7 @@ class OrdersPanel extends Component { | |||
{ cards } | |||
<ActivityOutboundLink |
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 wonder how much value the ActivityOutboundLink
component really has... this is the only usage of it. Why don't we just get rid of it?
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.
Looking at the fact that you're adding more code to this unused component to remove the icon rendering I agree that ditching it has some value here. It has a bit of styling associated with it, but that styling could just move to a class name on a <Link>
that you render here instead? It would be great to keep removing unused code to trim the code base down.
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.
Good idea! I changed it in the commit 57ae4f5
Hi @jeffstieler, I know it's a little confusing, I think that the latest designs are here pbIJXs-ma-p2#comment-1017. |
Sheesh, I was in Figma and on a different iteration. 🤦 |
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.
Keen to see what you think about removing that component.
@@ -224,6 +224,7 @@ class OrdersPanel extends Component { | |||
{ cards } | |||
<ActivityOutboundLink |
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.
Looking at the fact that you're adding more code to this unused component to remove the icon rendering I agree that ditching it has some value here. It has a bit of styling associated with it, but that styling could just move to a class name on a <Link>
that you render here instead? It would be great to keep removing unused code to trim the code base down.
This commit removes the ActivityOutboundLink component
Thank you @jeffstieler and @samueljseay for your reviews. I addressed the change you mentioned. |
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.
Great stuff @octaedro tests well and the code looks great. Thanks for removing that old component! 🧹 🚀
This PR is a follow-up of the PR 5455, so a rebase will be necessary.
This PR changes the styles of the panel button "Manage all orders".
Screenshots
Detailed test instructions:
Home
screen.Manage all orders
inside theOrders
panel is visible.Manage all orders
and verify it's working as expected.Changelog Note:
Dev: Home Screen - Changed activity panel button styles