Closed PhillipsOwen closed 2 weeks ago
Adds a dialog to capture a share comment. also added a control to the layers tray that shows the comment.
This update requires at least 2 steps to test.
Creation of the share link
Loading the share link
Here is an example share URL:
http://localhost:8080/#share=run_id:4378-2024041512-gfsforecast~comment=Look%20at%20these%20obs%20from%20the%2015th!~obs=%5B%7B%22id%22:%228454049%22,%22lat%22:41.58694,%22lng%22:-71.41,%22location_name%22:%22Quonset%20Point%22,%22station_name%22:%228454049%22,%22csvurl%22:%22https://apsviz-ui-data.apps.renci.org/get_station_data?station_name=8454049&time_mark=2024-04-17T12:00:00Z&data_source=GFSFORECAST_NCSC_SAB_V1.23&instance_name=ncsc123_gfs_sb55.01&forcing_metclass=synoptic%22%7D,%7B%22id%22:%228518750%22,%22lat%22:40.700556,%22lng%22:-74.014167,%22location_name%22:%22The%20Battery%22,%22station_name%22:%228518750%22,%22csvurl%22:%22https://apsviz-ui-data.apps.renci.org/get_station_data?station_name=8518750&time_mark=2024-04-17T12:00:00Z&data_source=GFSFORECAST_NCSC_SAB_V1.23&instance_name=ncsc123_gfs_sb55.01&forcing_metclass=synoptic%22%7D%5D
if this PR is satisfactory, please merge and remove the branch upon approval.
nevermind. going to add observations to this branch.
Adds a dialog to capture a share comment. also added a control to the layers tray that shows the comment.
This update requires at least 2 steps to test.
Creation of the share link
Loading the share link
Here is an example share URL:
http://localhost:8080/#share=run_id:4378-2024041512-gfsforecast~comment=Look%20at%20these%20obs%20from%20the%2015th!~obs=%5B%7B%22id%22:%228454049%22,%22lat%22:41.58694,%22lng%22:-71.41,%22location_name%22:%22Quonset%20Point%22,%22station_name%22:%228454049%22,%22csvurl%22:%22https://apsviz-ui-data.apps.renci.org/get_station_data?station_name=8454049&time_mark=2024-04-17T12:00:00Z&data_source=GFSFORECAST_NCSC_SAB_V1.23&instance_name=ncsc123_gfs_sb55.01&forcing_metclass=synoptic%22%7D,%7B%22id%22:%228518750%22,%22lat%22:40.700556,%22lng%22:-74.014167,%22location_name%22:%22The%20Battery%22,%22station_name%22:%228518750%22,%22csvurl%22:%22https://apsviz-ui-data.apps.renci.org/get_station_data?station_name=8518750&time_mark=2024-04-17T12:00:00Z&data_source=GFSFORECAST_NCSC_SAB_V1.23&instance_name=ncsc123_gfs_sb55.01&forcing_metclass=synoptic%22%7D%5D
if this PR is satisfactory, please merge and remove the branch upon approval.