Keeping track of the opened command group in the URL
Opened this issue · 1 comments
philipmclifton commented
Nice work - i think most people use make: more than anything.
It would be good if the URL saved position "/artisan/make/etc'
So you could jump to the correct place easier and also use a cookie or something to remember if the options dialog was opened previously, to save clicks.
lorisleiva commented
Hi there 👋
So the URL already knows when you've selected a command because it goes /artisan/make:model
for example.
I think what you're talking about is keeping track of the opened group in the index page (/artisan
).
I think it's not a bad idea and since it's all in JavaScript using Alpine, we could do something like /artisan#make
to keep track of the currently opened group in the URL.