hilla icon indicating copy to clipboard operation
hilla copied to clipboard

[autocrud] Deep linking support for editing

Open Artur- opened this issue 1 year ago • 3 comments

Crud should out of the box be able to support urls like /myview - shows crud /myview/edit/foobar12 - selects the item with id 'foobar12' in the grid and shows the values in the form

Artur- avatar Oct 03 '23 07:10 Artur-

Could this be an AutoGrid feature too? Deep linking for row selection (which is relevant for example in the case of lazy loading)

tarekoraby avatar Oct 03 '23 12:10 tarekoraby

What is the use case? I don’t think auto grid even enables selection automatically

Artur- avatar Oct 03 '23 13:10 Artur-

One use case is an AutoGrid with an attached selection listener that, upon selection, populates a non-form component. As the end user of such AutoGrid, I sometimes want to share a URL with my colleagues that automatically highlights a specific row and opens the related component.

tarekoraby avatar Oct 03 '23 18:10 tarekoraby