The Poudre Basin Information dashboards need a title at the top so that people are not confused about what dashboard they are viewing (they may not remember what menu was selected). I initially thought that this could be handled through the main dashboard properties and a component independent of the widgets and their layout. However, using a widget will allow flexibility to place titles in various places in dashboards. The text widget does not work well because it automatically scrolls, etc. Below are technical considerations:
The widget type would be title.
Title is by design a simple line of text.
Use title for the property similar to other widgets?
Need basic defaults like center the text, font size, etc. The title should be "large" but not overly so. Wrapping would be OK but need to test.
Need some basic formatting of the text, could handle with the style.
However, what if one line title is not enough. Would there be subtitle for text and what about style for that (could default but what if want to override.
For layout I set the number of rows to 1 and then had to change other widgets to use appropriate number of rows.
It may be appropriate to fix the row height so resizing a dashboard window keeps the title the same and readable (or have a minimum height so always readable). I'm not sure if flex will allow fixing the size on anything.
The Poudre Basin Information dashboards need a title at the top so that people are not confused about what dashboard they are viewing (they may not remember what menu was selected). I initially thought that this could be handled through the main dashboard properties and a component independent of the widgets and their layout. However, using a widget will allow flexibility to place titles in various places in dashboards. The text widget does not work well because it automatically scrolls, etc. Below are technical considerations:
title
.title
for the property similar to other widgets?subtitle
for text and what about style for that (could default but what if want to override.