Repository navigation
Conversation
Clarify the Share checkbox label and add a localized, accessible explanation that it changes only the share link and embed code. Include Playwright regressions covering label/description, URL and iframe switching, and editability through both links.
|
ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing |
PR Summary by QodoClarify that read-only sharing selects a link, not pad permissions
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Code Review by Qodo
1.
|
Clarify that retaining the editable link does not bypass existing edit permissions. Update the matching regression-test expectation.
Fixes #8181.
What and why
The Share dialog's “Read only” checkbox selects the URL and embed code to copy; it does not lock the pad. Rename the label to “Use read-only link” and add a localized explanation that the editable link remains usable. Associate the explanation with the checkbox using
aria-describedby, preserving the existing label and write-only visibility scope.Add Playwright coverage for the rendered English label and accessible description, link/embed switching, and continued access through both URLs. No permission logic or non-English locale files are changed.
Validation
node_modules/.bin/tsc --noEmit(run fromsrc): passed.pnpm run test-utils: 20 passing.git diff --check: passed.embed_value.spec.tstests were attempted, but Chromium failed to start withsocket() failed: Operation not permitted (1). All 7 stopped before assertions; browser E2E and visual validation remain unverified.pnpm run lintfailed during configuration because ESLint 10 requireseslint.config.*, while the repository currently uses.eslintrc.cjs. No lint configuration changes are included.AI assistance and review
Prepared and reviewed with OpenAI Codex assistance. The final patch was reviewed and approved by a human before submission.