Add 'external' support to action buttons

Hey, I’ve made an account extension to supply a returns portal url on orders that uses the order name and customer email prefilled. However, clicking the button opens in the same tab, and ideally it would open in a new one.

I’m using this extension point: customer-account.order.action.menu-item.render and I believe I have to return a button, so no workarounds are working for me.

I ask that we support ‘external’ so the action can open its link in a new tab.

Hi @wfjohn

Does this target offer a <Link> component?

You may be able to wrap the button with a link, and the link itself can support an external prop.