diff --git a/src/components/sidebar/sidebar.js b/src/components/sidebar/sidebar.js
index 66f08ec3..e7bb41d9 100644
--- a/src/components/sidebar/sidebar.js
+++ b/src/components/sidebar/sidebar.js
@@ -5,8 +5,8 @@ import { Tray } from './tray';
import { MenuItem } from './menu-item';
import SidebarTrays from '../trays';
-// ordered list of tray keys for lower portion of sidebar
-// tray for unlisted keys will be stuck into upper sidebar list.
+// ordered list of tray keys for the lower portion of sidebar
+// tray for unlisted keys will be stuck into the upper sidebar list.
const LOWER_SIDEBAR_MENU_ITEM_IDS = [
'help_about',
'settings',
@@ -34,7 +34,7 @@ export const Sidebar = () => {
setActiveKey(null);
return;
}
- // otherwise, open desired tray.
+ // otherwise, open the desired tray.
setActiveKey(newKey);
}, [activeKey]);
@@ -63,7 +63,7 @@ export const Sidebar = () => {
},
// we'll add a delay to this exit animation to give ample time
// for the disappearing tray get out of they view before going translucent.
- // otherwise we see it sliding behind the sidebar
+ // otherwise, we see it sliding behind the sidebar.
// this is also nice for accidental mouse leaves. we'll also fade slower than we un-fade.
transition: 'max-width 250ms, filter 250ms, background-color 1000ms 500ms',
display: 'flex',
diff --git a/src/components/trays/help-about/helpAboutTray.js b/src/components/trays/help-about/helpAboutTray.js
index 6ef8fca1..0d5163c5 100644
--- a/src/components/trays/help-about/helpAboutTray.js
+++ b/src/components/trays/help-about/helpAboutTray.js
@@ -1,12 +1,39 @@
import React, {Fragment} from 'react';
-import { AccordionGroup, Accordion, AccordionSummary, AccordionDetails, Stack, Typography, List, ListItem, ListItemDecorator }
+import { AccordionGroup, Accordion, AccordionSummary, AccordionDetails, Stack, Typography, List, ListItem, ListItemDecorator, Divider }
from '@mui/joy';
-import { Layers as LayersIcon, Storm as HurricaneIcon, Checklist as ModelSelectionIcon, Delete as RemoveIcon, Tune as SettingsIcon,
+import { Layers as LayersIcon, Storm as HurricaneIcon, Checklist as ModelSelectionIcon, DeleteForever as RemoveIcon, Tune as SettingsIcon,
Share as ShareViewIcon, HelpCenter as HelpAboutIcon, Map as MapIcon, LightMode as LightModeIcon,DragHandleRounded as HandleIcon,
KeyboardArrowDown as ExpandIcon, ArrowDropUp as MoveUpArrow, KeyboardArrowLeft, Tsunami as WaveHeightIcon, QueryStats as ObservationIcon,
- Air as WindVelocityIcon, Water as WaterLevelIcon, BlurOn as WaterSurfaceIcon, Flood as FloodIcon }
+ Air as WindVelocityIcon, Water as WaterLevelIcon, BlurOn as WaterSurfaceIcon, Flood as FloodIcon, ToggleOn as OnOffIcon }
from '@mui/icons-material';
+import SvgIcon from '@mui/material/SvgIcon';
+
+/**
+ * gets a svg component for the observation point icon.
+ *
+ * @param color
+ * @param name
+ * @returns {JSX.Element}
+ */
+const getObsSVGIcon = ( color, name ) => {
+ return (
+
+
+
+
+ {name}
+
+ );
+
+};
+
/**
* This component renders the help/about tray
*
@@ -125,32 +152,41 @@ export const HelpAboutTray = () => {
What do all the icons mean?
- Each icon represents a functionality of the application available to the
+
+ Each icon represents a functionality of the application available to the
user.
- Collapsable tray items
- Model run/layers selected list.
- Hurricane track list.
- Model run filtering and selection.
- Remove various map items.
- Application settings.
- Share your view with a colleague.
- Application help/about (here).
+
+ Collapsable tray items:
+ Model run/layers selected list
+ Hurricane track list
+ Model run filtering and selection
+ Remove various map items
+ Application settings
+ Share your view with a colleague
+ Application help/about
-
- Map model layer types
- Maximum Significant Wave Height layer
- Observation layer
- Maximum Wind Speed layer
- Maximum Water Level layer
- HECRAS Water Surface layer
- Inundation layer
+
+ Map model layer types:
+ Maximum Significant Wave Height
+ Observations
+ Maximum Wind Speed
+ Maximum Water Level
+ HECRAS Water Surface
+ Inundation
-
- Other action buttons
+
+ Map observation points:
+ { getObsSVGIcon('#FFFF00', 'NOAA/NDBC') }
+ { getObsSVGIcon('#3D4849', 'NCEM') }
+ { getObsSVGIcon('#BEAEFA', 'NOAA/NOS') }
+
+
+ Action buttons:Toggle light or dark mode.Select a different base map.Reorder a model run up or down in the list.
- Remove a model run or layer.
+ Turn on/off a layer
+ Remove a model run or layer. or Expand or collapse an item. or Reorder a model layer. or Move through tropical advisories or synoptic cycles.
diff --git a/src/components/trays/layers/layer-card.js b/src/components/trays/layers/layer-card.js
index bf1f00d2..6cae3aa0 100644
--- a/src/components/trays/layers/layer-card.js
+++ b/src/components/trays/layers/layer-card.js
@@ -67,7 +67,7 @@ export const LayerCard = ({ index, layer }) => {
-
+
{layer.properties.product_name}
{
return (
}
onClick={ handleClickToggleState }
>Add a Model Run
@@ -36,7 +36,7 @@ export const TrayContents = () => {
return (
}
onClick={ handleClickToggleState }
diff --git a/src/components/trays/model-selection/DropDownOptions.js b/src/components/trays/model-selection/DropDownOptions.js
index 5ea4537a..73c7b424 100644
--- a/src/components/trays/model-selection/DropDownOptions.js
+++ b/src/components/trays/model-selection/DropDownOptions.js
@@ -36,7 +36,7 @@ export default function DropDownOptions(data) {
return (
{data.data[data.type].filter(item => item !== "").map(item => (
-
+
))}
);
diff --git a/src/components/trays/model-selection/catalogItems.js b/src/components/trays/model-selection/catalogItems.js
index 1928d4b0..1665ffcb 100644
--- a/src/components/trays/model-selection/catalogItems.js
+++ b/src/components/trays/model-selection/catalogItems.js
@@ -175,11 +175,11 @@ export default function CatalogItems(data) {
{ setAccordianDateIndex(expanded ? itemIndex : null); }}>
- {catalog['id']}
+ { catalog['id'] } {
// loop through the data members and put them away
@@ -192,7 +192,7 @@ export default function CatalogItems(data) {
.map((mbr, mbrIdx) => (
// create the checkbox
{
field: { clearable: true },
actionBar: { actions: ['clear'] },
}}
-
onChange={(newValue) => {
setChangedSynopticDate(newValue);
}}/>
-
-
+
{ }
diff --git a/src/components/trays/model-selection/tropicalTab.js b/src/components/trays/model-selection/tropicalTab.js
index c5124127..4fd7addf 100644
--- a/src/components/trays/model-selection/tropicalTab.js
+++ b/src/components/trays/model-selection/tropicalTab.js
@@ -150,19 +150,19 @@ export const TropicalTabForm = () => {