hebeworks / Solomon

www.mysolomon.co.uk
Eclipse Public License 1.0
5 stars 6 forks source link

Open Frames using query string parameters #82

Closed SteAllan closed 8 years ago

SteAllan commented 8 years ago

Change Frames (Manipulation Panel, Bottom Drawer etc.) to open and close by detecting query string parameters. This will allow the user to press the back button in their browser to close a frame. See #81 for more details.

SteAllan commented 8 years ago

Initial thought is the query string could be as follows:

?frame=manipulation_panel, ?frame=bottom_drawer etc

SteAllan commented 8 years ago

We'll need to make sure the user is given a warning message when the try to close a Frame without saving any changes.

We'll also need to gracefully handle when they go forward through their browser history: ideally we don't want the user to open an empty Frame.

nathanhebe commented 8 years ago

Basic working use of query params to record state of manipulation panel & bottom drawer. When opening either of these, application controller appends a query string, when the browser triggers the back/history the state changes and an observer in application controller closes the modal if necessary.

Additional functionality