Repository navigation
Fix approved low-risk correctness issues - #96
Merged
Merged
Conversation
Signed-off-by: Leo Stehlik <[email protected]>
Signed-off-by: Leo Stehlik <[email protected]>
Signed-off-by: Leo Stehlik <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
accessibilityDescriptionnode attribute for image, uploaded video, Draw.io, and Excalidraw nodes, with menu editing, JSON/HTML parse-render persistence, static/shared HTML output, and no migration.Root Causes And Fixes
src.split("/").pop(), so cache-busting query/hash data could enterFile.name. Added a WrenLore-native pathname basename helper and used it in paste reupload.accessibilityDescriptionattribute and a small existing-toolbar modal action. Images/Draw.io/Excalidraw render authored descriptions as imagealt; video usesaria-labelon<video>becausealtis invalid for video andaria-labelprovides a valid accessible name while preserving controls/source semantics.Verification
pnpm exec tsx scripts/editor-media-regression.ts- passedpnpm --dir apps/server test -- share.service.spec.ts share-seo.controller.spec.ts- passedpnpm --dir apps/server test- passed, 29 suites / 168 testspnpm --dir packages/editor-ext build- passedpnpm --dir apps/client build- passedpnpm --dir apps/server build- passedgit diff --check HEAD- passedLint
pnpm --dir apps/client lint- blocked before file analysis by existing ESLint/AJV crash:NOT SUPPORTED: option missingRefsthenTypeError: Cannot set properties of undefined (setting 'defaultMeta').pnpm --dir apps/server lint- blocked by the same ESLint/AJV crash before file analysis.Migration / Deployment
Manual Smoke Still Needed
?t=...URL and confirm the reuploaded filename is clean.alton images/diagrams andaria-labelon uploaded videos.Screenshots