Skip to content

Show decision requirements diagrams#84

Open
hauptmedia wants to merge 1 commit into
mainfrom
codex/decision-requirements-viewer
Open

Show decision requirements diagrams#84
hauptmedia wants to merge 1 commit into
mainfrom
codex/decision-requirements-viewer

Conversation

@hauptmedia

Copy link
Copy Markdown

Summary

  • fetch decision requirements XML when a selected decision belongs to a DRD
  • render the Decision Requirements Diagram below the decision table using DMN viewer DRD mode
  • add localized labels plus API, viewer, and page coverage

Reference

Verification

  • node -e 'const fs=require("fs"); for (const locale of fs.readdirSync("public/locales")) JSON.parse(fs.readFileSync("public/locales/"+locale+"/translation.json", "utf8")); console.log("locale JSON ok")'\n- npx eslint src/pages/Decisions.jsx src/pages/Decisions.test.jsx src/api/resources/decision.js src/api/resources/decision.test.js src/components/DMNViewer.jsx src/components/DMNViewer.test.jsx src/state.js\n- npx vitest run src/api/resources/decision.test.js src/components/DMNViewer.test.jsx src/pages/Decisions.test.jsx\n- npx vitest run --maxWorkers=4\n- npm run build\n- browser smoke at http://127.0.0.1:5175/decisions/d1: reached login boundary with title Operaton and no console errors

@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant