framework icon indicating copy to clipboard operation
framework copied to clipboard

[11.x] MailMakeCommand: Add new `--view` option

Open ryangjchandler opened this issue 9 months ago • 3 comments

This pull request adds a new --view option to the make:mail command that will create a new empty Blade file and configure the Mailable to use it by default.

It behaves the same way as the existing --markdown option.

I imagine this would be a nice and small workflow optimisation for folks, including myself. I'm always creating new Blade views for regular HTML emails and manually updating the Mailable.

ryangjchandler avatar May 14 '24 17:05 ryangjchandler

Could a maintainer mark this as draft please so it doesn't show up on Taylor's feed? I still need to write tests :^)

ryangjchandler avatar May 14 '24 17:05 ryangjchandler

@ryangjchandler you can do that on the right sidebar "Still in progress? Mark as draft"

Jubeki avatar May 14 '24 17:05 Jubeki

@ryangjchandler you can do that on the right sidebar "Still in progress? Mark as draft"

Has that button moved or something cause I could swear it used to show up on the bottom for me! Thanks :^)

ryangjchandler avatar May 14 '24 17:05 ryangjchandler