We've got a button that just redirects a user to an another website with some parameters on a record page.
The business asks us to validate the record(making sure that some of the fields are not blank and have certain values) before redirecting the user.
In Salesforce Classic I would create a JS button, where I would validate the record and then redirect the user(or just show an error). In Lightning Experience, JS buttons are not supported.
What would be the best way to achieve the business request? The only Idea I've got rn is to create a quick action that opens Aura component, where I validate the record and then redirect the user the url. Which is kind of inconvenient, because quick action + lightning component would always render a panel.