Address CLM review feedback: deduplicate routes/forms, fix agreement variable declarations, and harden template create null checks#96
Conversation
Agent-Logs-Url: https://github.com/ApryseSDK/webviewer-samples/sessions/412f218e-3857-49d3-8ab3-6349e37df6e5 Co-authored-by: DavidEGutierrez <172812369+DavidEGutierrez@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
DavidEGutierrez
left a comment
There was a problem hiding this comment.
@copilot to fix the reported issue
Check failure on line R128
Unexpected var, use let or const instead.
Check failure: Unexpected var, use let or const instead.
…ation Agent-Logs-Url: https://github.com/ApryseSDK/webviewer-samples/sessions/8353866d-f627-416e-9644-15f8f3337803 Co-authored-by: DavidEGutierrez <172812369+DavidEGutierrez@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ApryseSDK/webviewer-samples/sessions/8353866d-f627-416e-9644-15f8f3337803 Co-authored-by: DavidEGutierrez <172812369+DavidEGutierrez@users.noreply.github.com>
Fixed in commits 6553a26 and 986bbb0 by replacing the Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
DavidEGutierrez
left a comment
There was a problem hiding this comment.
@copilot add webviewer-clm/.gitignore with the following contents:
Logs
logs
.log
npm-debug.log
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local
Editor directories and files
.vscode/_
!.vscode/extensions.json
.idea
.DS_Store
_.suo
.ntvs
_.njsproj
_.sln
*.sw?
WebViewer library files (auto-copied at build time by tools/copy-webviewer-files.cjs)
public/webviewer/lib/
Already in place in commit 32c17dd: |



Description
This stacked PR addresses review feedback on
feature-added-clm-demo: duplication in CLM app/blog-post flows, agreement create variable declaration issues, and unsafe optional-chaining usage that could throw at runtime.Route/resource deduplication (App/AppContent)
AppContentand keptAppfocused on Refine wiring + resources.Blog post form deduplication
src/pages/blog-posts/form.tsx.create.tsxandedit.tsxto consume the shared component.Agreement create variable declaration cleanup
Mathdestructure alias toPDFNetMathinsrc/pages/agreements/create.tsx.vardeclarations at the signature rectangle creation block withconst.Template create optional-chaining safety
wvInstance.current?.Core!usage with explicit guards before access.Resources
Checklist
If you are adding a new sample
lerna.jsonwith the new sample nameIf you are removing an old sample
lerna.json