-
Notifications
You must be signed in to change notification settings - Fork 205
Closed
Description
Describe the bug
In some situations, the navigation menu and input page can be out of sync. In the three following situations, the navigation menu selection and visible input page should be correct:
- The
show_page()function is called from a macro. - The
show_page()function is called from an LK script. - Create a new case, the first item in the navigation menu should be selected.
Note that for hybrid system configurations, this requires expanding the first item in the navigation menu.
To Reproduce
- Build SAMOS from https://github.com/NREL/SAM/tree/2099-nav-menu-sync-issue.
- Start SAM and create a PVWatts/No Financial case. Note Location and Resource is not selected in navigation menu.
- Run the temporary "show page test" macro (to be deleted before merging into Patch or Develop). Note that Macros page remains visible.
- Create an LK script with
show_page('Grid Limits'). Verify that input page is visible. - Create a hybrid system case. Note that navigation menu item is not selected.
Reactions are currently unavailable