Files
Nicholas-XiongandGitHub 9db5dd8798 fix: close Settings modal when opening project from Routines (#1490)
* fix: close Settings modal when opening project from Routines

Fixes #1355

When clicking 'Open project' in Routine history, the Settings modal
now closes automatically, providing a clean transition to the project.

Changes:
- Added onClose prop to RoutinesSection component
- Call onClose after navigate() in Open project button handler
- Pass onClose from SettingsDialog to RoutinesSection

This ensures the modal dismisses after navigation, consistent with
other modal-based navigation actions in the app.

* fix: pass onClose prop to RunHistory component

Address review feedback: RunHistory component now receives and uses
the onClose prop to properly close Settings modal when navigating.
2026-05-13 11:15:36 +08:00
..