atomic-data-browser icon indicating copy to clipboard operation
atomic-data-browser copied to clipboard

Show search results in a dialog

Open Polleps opened this issue 3 years ago • 2 comments

At the moment when you start searching the app navigates to a new page. This means that if you were creating or editing a resource you'll lose all progress and have to start over. Quickly checking if a certain resource exists while editing is therefore not possible. Showing the results in a dialog above the current page would solve this as you would be able to close the dialog and continue with whatever it was you were doing.

Currently blocked by #24

Polleps avatar Jun 22 '22 13:06 Polleps

It does introduce some issues however as having the searchbar and the dialog visable at the same time will require some work/thinking.

Polleps avatar Jun 22 '22 13:06 Polleps

This means that if you were creating or editing a resource you'll lose all progress and have to start over.

That should not be the case, as every change is persisted in memory - even if you navigate away.

Showing the results in a dialog above the current page would solve this as you would be able to close the dialog and continue with whatever it was you were doing.

Seems like a pretty cool improvement - modal-like search, right?

It does introduce some issues however as having the searchbar and the dialog visable at the same time will require some work/thinking.

So we'd get two modals? Would stacking them make sense?

joepio avatar Jun 22 '22 14:06 joepio