azavea / pwd-unitybar

Unified header for PWD Stormwater web apps
https://staging-pwd-unitybar.netlify.com/
Apache License 2.0
1 stars 2 forks source link

Add `showParcelViewerLink`, `showCreditsExplorerLink`, and `showConnectLink` props #83

Closed kellyi closed 5 years ago

kellyi commented 5 years ago

Overview

Add showParcelViewerLink, showCreditsExplorerLink, and showConnectLink props. These should default to true but host applications should also have the option to pass in false.

The desired behavior is that a false value for any of the above props would remove the application link from the app switcher menu. This will make it possible to use the Unity Bar in a production deployment for one application even if the other applications do not have production deployments.

Describe the solution you'd like

Unity Bar has

props. These are default true but when any of them is set to false, that application is not show in the app switcher menu.