observablehq / feedback

Customer submitted bugs and feature requests
42 stars 3 forks source link

Closing compare view after "Compare reverse" does not return to starting notebook #332

Closed mootari closed 2 years ago

mootari commented 2 years ago

Describe the bug

When a comparison is started from a fork and the user selects "Compare reverse", they can end up in the parent notebook after closing the compare view.

To Reproduce

Steps to reproduce the behavior:

  1. Open a fork
  2. Select "Compare fork" from the menu
  3. Select "Compare reverse" from the toolbar
  4. Close the compare toolbar

You're no longer viewing the fork, but the parent notebook.

Expected behavior

"Compare reverse" should retain the original context, so that closing the comparison returns to the fork.

mootari commented 2 years ago

Just logging this issue for posterity (and to encourage discussion). I don't think it can be "fixed", but it may offer some pointers for UI improvements.