marineenergy / apps

shiny apps for MHK-env
https://marineenergy.github.io/apps/
MIT License
3 stars 1 forks source link

handle Technology selected without any Projects #93

Closed bbest closed 2 years ago

bbest commented 2 years ago

From MarineEnergy.app_Review_GCS_120921.docx - Google Docs:

Projects page – an error occurs if one selects a technology that is not available (e.g., Current or Offshore Wind). Only Riverine, Tidal, and Wave work. We need to have a solution for this.

bbest commented 2 years ago

SOLUTION

Present something like:

Sorry, the Technology {tech-selected} does not match any available Projects. Instead, please select one of the following available technologies: {tech-available-list}.

Preferably:

bbest commented 2 years ago

Step 1. Empty Map & Timeline

image

bbest commented 2 years ago

Step 2. Add message to app

Here: Screen Shot 2021-12-13 at 1 54 16 PM

using:

bbest commented 2 years ago
  1. Select OTEC image

  2. Get message without Map or Timeline image

  3. Add Riverine image

  4. Get message still for OTEC, but Map and Timeline show for Riverine image