Add Data Status Component#96
Open
krowvin wants to merge 29 commits into
Open
Conversation
jbkolze
suggested changes
Mar 5, 2025
jbkolze
left a comment
Contributor
There was a problem hiding this comment.
Component looks good -- just a little docs stuff to clean up (mostly around the useDataStatusFile update).
Contributor
Author
jbkolze
suggested changes
Apr 20, 2026
Comment on lines
+205
to
+224
| {activePoint && useInlineDetails ? ( | ||
| <div className="gww-mt-2 gww-rounded-lg gww-border gww-border-slate-200 gww-bg-slate-50 gww-px-3 gww-py-2"> | ||
| <div className="gww-flex gww-items-center gww-justify-between gww-gap-3"> | ||
| <span className="gww-text-[0.78rem] gww-font-semibold gww-text-slate-800"> | ||
| {label.primary} {label.secondary} | ||
| </span> | ||
| <span | ||
| className={`gww-inline-flex gww-items-center gww-rounded-full gww-px-2 gww-py-0.5 gww-text-[0.72rem] gww-font-semibold ${getQualityMeta(getQualityStr(activePoint)).pillClassName}`} | ||
| > | ||
| {getQualityMeta(getQualityStr(activePoint)).shortLabel} | ||
| </span> | ||
| </div> | ||
| <div className="gww-mt-1 gww-text-sm gww-font-bold gww-text-slate-900"> | ||
| {formatValue(activePoint[1], tsData?.units, precision)} | ||
| </div> | ||
| <div className="gww-mt-1 gww-text-[0.78rem] gww-text-slate-600"> | ||
| {formatDateWithZone(activePoint[0])} | ||
| </div> | ||
| </div> | ||
| ) : null} |
Contributor
There was a problem hiding this comment.
I get some pretty major layout-bouncing on hover with this display case (see: SWT docs example). Can this be addressed? Or, alternatively -- is there a real need for this separate display case?
…ting class until that can be fixed.
…odes directly/at the edge just before render
3a7c732 to
09d916f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR adds a data status component that uses quality codes returned via the timeseries endpoint to show a graphical bar line of quality codes at a glance.
It is similar to the DataStatusSummary.exe program within CWMS.
This allows districts to provide a path to a new line delimited file or an array of timeseries to be shown at a glance.
Thoughts