diff --git a/.claude/skills/new-doc/SKILL.md b/.claude/skills/new-doc/SKILL.md index 0d5ad6cf7..c662d90b7 100644 --- a/.claude/skills/new-doc/SKILL.md +++ b/.claude/skills/new-doc/SKILL.md @@ -20,7 +20,7 @@ Ask: "Which category does this document belong to?" Present these options: 1. **Desktop Applications** (`desktop-applications/`) 2. **Toolbox Technical Manuals** (`toolbox-technical-manuals/`) -3. **Web Applications** (`web-applications/`) +3. **Web Applications and Services** (`web-applications/`) 4. **Developer Resources** (`dev/`) ### 1b — Software Product @@ -332,7 +332,7 @@ If the user chose to add the document to the header nav, edit `src/theme/Layout/ ### Add a version variable (non-dev versioned docs only): -In the appropriate section (Desktop Applications, Toolbox, Web Applications), add a new `const` for the document href: +In the appropriate section (Desktop Applications, Toolbox, Web Applications and Services), add a new `const` for the document href: ```javascript const {camelCaseVarName}Href = useBaseUrl( `/docs/{category}/{software}/{slug}/${latestVersions['{category}/{software}/{slug}'] || 'v{version}'}/preface`, diff --git a/docs/web-applications/dst/users-guide/v1.0/users-guide.mdx b/docs/web-applications/dst/users-guide/v1.0/users-guide.mdx deleted file mode 100644 index 88678e764..000000000 --- a/docs/web-applications/dst/users-guide/v1.0/users-guide.mdx +++ /dev/null @@ -1,15 +0,0 @@ -import Figure from "@site/src/components/Figure"; -import Link from "@docusaurus/Link"; - -# Introduction - -The Risk Management Center (RMC) of the U.S. Army Corps of Engineers (USACE) has developed a suite of Microsoft Excel spreadsheets to support risk assessments for dam and levee safety. Each analysis suite is composed of multiple toolboxes (Microsoft Excel workbooks), and each toolbox contains multiple spreadsheet tools or calculation worksheets (Microsoft Excel worksheets). The RMC Filter Evaluation (Continuation) Toolbox is part of the RMC Internal Erosion Suite. - -The information from these spreadsheet tools, along with other pertinent information, informs judgment when developing a list of more and less likely factors and estimating probabilities. USACE best practice for estimating probabilities is to use the best available and multiple methods, but all final probabilities are estimated using team elicitation based on the totality and strength of the evidence. - -The RMC continuously works to improve the performance of RMC software; report possible bugs directly to the RMC at the address listed below. Ideally, report suspected errors in written form with a description of the problem and the steps that lead to its occurrence. Suggestions for improvement are also welcomed. - -U.S. Army Corps of Engineers -Institute for Water Resources -Risk Management Center -[rmc.software@usace.army.mil](mailto:rmc.software@usace.army.mil) diff --git a/package-lock.json b/package-lock.json index 67312a0b9..bce87e7e4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,6 +23,7 @@ "glob": "^11.0.1", "gray-matter": "^4.0.3", "image-size": "^2.0.2", + "lucide-react": "^1.49.0", "lunr": "^2.3.9", "markdown-it-cite": "^0.0.2", "mermaid": "^11.12.0", @@ -39,14 +40,14 @@ "@docusaurus/module-type-aliases": "^3.10.2", "@docusaurus/types": "^3.10.2", "@tailwindcss/postcss": "^4.1.11", + "acorn": "8.18.0", "autoprefixer": "^10.4.21", "baseline-browser-mapping": "^2.9.19", "cross-env": "^7.0.3", "ffmpeg-static": "^5.3.0", "postcss": "^8.5.6", "prettier": "3.9.6", - "prettier-plugin-tailwindcss": "^0.6.14", - "acorn": "8.18.0" + "prettier-plugin-tailwindcss": "^0.6.14" }, "engines": { "node": ">=18.0" @@ -12976,6 +12977,21 @@ "yallist": "^3.0.2" } }, + "node_modules/lucide-react": { + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-1.49.0.tgz", + "integrity": "sha512-ApfaNM4/7jBrVopqLJ84Jz8TMQ1Q1JeZ1PmKh25aeS3E1FTVcMkSh1bEQB7dfzdIrwXRP8p3z4AJjTIHHb5IIA==", + "license": "ISC", + "peerDependencies": { + "@types/react": "*", + "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, "node_modules/lunr": { "version": "2.3.9", "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz", diff --git a/package.json b/package.json index d8590beaa..2c21bd1dd 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "glob": "^11.0.1", "gray-matter": "^4.0.3", "image-size": "^2.0.2", + "lucide-react": "^1.49.0", "lunr": "^2.3.9", "markdown-it-cite": "^0.0.2", "mermaid": "^11.12.0", @@ -53,14 +54,14 @@ "@docusaurus/module-type-aliases": "^3.10.2", "@docusaurus/types": "^3.10.2", "@tailwindcss/postcss": "^4.1.11", + "acorn": "8.18.0", "autoprefixer": "^10.4.21", "baseline-browser-mapping": "^2.9.19", "cross-env": "^7.0.3", "ffmpeg-static": "^5.3.0", "postcss": "^8.5.6", "prettier": "3.9.6", - "prettier-plugin-tailwindcss": "^0.6.14", - "acorn": "8.18.0" + "prettier-plugin-tailwindcss": "^0.6.14" }, "browserslist": { "production": [ diff --git a/src/components/SiteTour.js b/src/components/SiteTour.js index a7bc0d25e..67ee80a90 100644 --- a/src/components/SiteTour.js +++ b/src/components/SiteTour.js @@ -59,7 +59,7 @@ const buildSteps = (baseUrl, tier) => { { title: 'Main Navigation', content: - 'The navigation organizes all documentation into three categories: Desktop Applications, Toolbox Technical Manuals, and Web Applications. Each category expands to reveal available tools and their documents. Helpful resources can also be accessed from the navigation.', + 'The navigation organizes all documentation into three categories: Desktop Applications, Toolbox Technical Manuals, and Web Applications and Services. Each category expands to reveal available tools and their documents. Helpful resources can also be accessed from the navigation.', selector: 'header.gw-sticky .md\\:gw-hidden', selectorFallback: 'header.gw-sticky .gw-bg-nav-black', padding: { top: 4, right: 4, bottom: 4, left: 4 }, @@ -69,12 +69,12 @@ const buildSteps = (baseUrl, tier) => { tablet: { title: 'Menu Navigation', content: - 'Tap the menu icon to open the navigation drawer. It organizes all documentation into three categories: Desktop Applications, Toolbox Technical Manuals, and Web Applications. Each category expands to reveal available tools and documents.', + 'Tap the menu icon to open the navigation drawer. It organizes all documentation into three categories: Desktop Applications, Toolbox Technical Manuals, and Web Applications and Services. Each category expands to reveal available tools and documents.', }, phone: { title: 'Menu Navigation', content: - 'Tap the menu icon to open the navigation drawer. It lists all documentation organized by category: Desktop Applications, Toolbox Technical Manuals, and Web Applications.', + 'Tap the menu icon to open the navigation drawer. It lists all documentation organized by category: Desktop Applications, Toolbox Technical Manuals, and Web Applications and Services.', }, }, diff --git a/src/components/icons/SystemResponseIcon.js b/src/components/icons/SystemResponseIcon.js new file mode 100644 index 000000000..b3ed8dd43 --- /dev/null +++ b/src/components/icons/SystemResponseIcon.js @@ -0,0 +1,41 @@ +import { ChartSpline } from 'lucide-react'; +import { useId } from 'react'; + +const FILLED_VIEWBOX = '0 0 562.04 562.04'; +const GLYPH_SIZE = 300; +const GLYPH_OFFSET = (562.04 - GLYPH_SIZE) / 2; + +export default function SystemResponseIcon({ className = '', color = 'currentColor', size = 48, showBackground = true }) { + const id = useId(); + const gradientId = `system-response-grad${id}`; + const filterId = `system-response-shadow${id}`; + + if (!showBackground) { + return