artisan-ui icon indicating copy to clipboard operation
artisan-ui copied to clipboard

Keeping track of the opened command group in the URL

Open philipmclifton opened this issue 3 years ago • 1 comments

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.

philipmclifton avatar Jun 21 '21 08:06 philipmclifton

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.

lorisleiva avatar Aug 06 '21 10:08 lorisleiva