ae291c99ba
Closes #17089 ### 1. Can't reopen record after having navigated to its show page After opening a record in the show page from the command menu and going back to the index, clicking the same record again did nothing. The command menu navigation stack was not cleared when opening in the show page, so the "already open" check skipped reopening. We now clear the command menu navigation stack before navigating to the show page (in `RecordShowRightDrawerOpenRecordButton`), so the same record can be reopened from the index. ### 2. Row doesn't highlight when opening command menu after return from show page After returning from the record show page to the index, the first row click opened the command menu but the row did not highlight. The "side panel close" event was emitted not only when the panel actually closed, but also when opening the command menu (cleanup ran with `isCommandMenuClosing` and always emitted the event). Listeners like `RecordTableDeactivateRecordTableRowEffect` then deactivated the row. We now emit the side panel close event only when the close animation actually completes (`CommandMenuSidePanelForDesktop`), and skip emitting it when cleanup is run from the open path (`useNavigateCommandMenu` passes `emitSidePanelCloseEvent: false`). The table still deactivates the row when the user closes the panel, but no longer when they open the command menu by clicking a row.
Run yarn dev while server running on port 3000