Skip to content

Feature/dam profile chart#253

Open
thill02 wants to merge 3 commits into
mainfrom
feature/dam-profile-chart
Open

Feature/dam profile chart#253
thill02 wants to merge 3 commits into
mainfrom
feature/dam-profile-chart

Conversation

@thill02

@thill02 thill02 commented Jun 1, 2026

Copy link
Copy Markdown

No description provided.

@krowvin krowvin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made some suggestion fixes for you from our previous voice conversation.

Open to discussing A2W naming, we could also attribute the graphic to A2W on the page and/or mention that was the source of it? I'm just suggesting we don't name components with it if it does not pull data from that source. (I think I got them all?)

Also wondering if we should go ahead and make a "Graphics" menu / dropdown for link navigation?

Comment thread docs/src/bundles/route-bundle.js Outdated
import InteractiveFormTest from "../pages/docs/forms/interactive-test";
import { docsConfig } from "../config/docs.config";
import GetPrecisionPage from "../pages/docs/utilities/get-precision";
import A2wDamProfileDocs from "../pages/docs/plots/a2w-dam-profile";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest we remove A2w naming from all methods.

These do not pull data from A2W and can otherwise be generic.

Just go with DamProfileDocs and dam-profile

Suggested change
import A2wDamProfileDocs from "../pages/docs/plots/a2w-dam-profile";
import DamProfileDocs from "../pages/docs/plots/dam-profile";

Comment thread docs/src/bundles/route-bundle.js Outdated
"/docs/hooks/use-cda-blobs": useCdaBlobs,
"/docs/plots": PlotsDocs,
"/docs/plots/cwms-plot": CWMSPlotDocs,
"/docs/plots/a2w-dam-profile": A2wDamProfileDocs,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"/docs/plots/a2w-dam-profile": A2wDamProfileDocs,
"/docs/plots/dam-profile": DamProfileDocs,


function A2wDamProfileDocs() {
return (
<DocsPage middleText="A2W Dam Profile">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<DocsPage middleText="A2W Dam Profile">
<DocsPage middleText="Dam Profile">

import PropsTable from "../../components/props-table.jsx";
import chartProps from "../../../props-declarations/chart.jsx";

function A2wDamProfileDocs() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
function A2wDamProfileDocs() {
function DamProfileDocs() {

function A2wDamProfileDocs() {
return (
<DocsPage middleText="A2W Dam Profile">
<UsaceBox title="A2W Dam Profile">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<UsaceBox title="A2W Dam Profile">
<UsaceBox title="Dam Profile">


<A2WDamProfile
info={{
dambottom: 820,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
dambottom: 820,
damBottom: 820,

<A2WDamProfile
info={{
dambottom: 820,
damtop: 913,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
damtop: 913,
damTop: 913,

Comment thread lib/index.jsx Outdated
updateToast,
formatSubmissionMessage,
showDetailedError,
A2WDamProfile,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
A2WDamProfile,
DamProfile,

Comment thread docs/src/nav-links.js Outdated
href: `${BASE_URL}#/docs/plots/cwms-plot`,
},
{
id: "a2w-dam-profile",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
id: "a2w-dam-profile",
id: "dam-profile",

Comment thread docs/src/nav-links.js Outdated
href: `${BASE_URL}#/docs/plots/cwms-plot`,
},
{
id: "a2w-dam-profile",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we make a dropdown for "Graphics"? This appears to be a top level link. If you agree please go ahead!

Graphics > Dam Profile

Eventually

Graphics > Basin Pie

Etc

These would be graphics rendered with d3 ideally

@krowvin krowvin self-requested a review June 4, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants