Skip to content

feat(ui): customize verse actions and indicators - #506

Merged
abharms merged 6 commits into
feat/after-thanksgiving-mergefrom
codex/YPE-6782-reader-verse-actions
Nov 27, 2026
Merged

abharms merged 6 commits into
feat/after-thanksgiving-mergefrom
codex/YPE-6782-reader-verse-actions

Conversation

@abharms

@abharms abharms commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Reader consumers can now reorder or omit built-in verse actions, add actions with their own icon and captured selection, and mark verse numbers with independent pointer and keyboard callbacks. The generic Vite example demonstrates in-memory marks without calling the Notes API.

Custom actions retain gaps in selections and only dispatch references from the displayed, ready passage and Bible version. Configured action lists remain reachable on narrow screens, and exiting controls cannot dispatch a captured action again. Indicator targets follow passage replacement and coexist with highlights, ordinary selection, and footnotes.

Jira: YPE-6782

Review scope

Required outcomes:

  • Reuse the existing popover for configurable built-in order and omission, custom icons, and captured selected references.
  • Preserve default actions, verse numbers, selection behavior, and verseActions="none".
  • Add optional indicator styles, independent prioritized activation, larger hit targets, accessible labels, and highlight coexistence.
  • Verify selection, footnotes, wrapped text, and plain rendering; demonstrate generic markers independently of Notes fetching.

Permitted support work: additive public types and exports, focused styles and documentation, browser regression journeys, the Vite example, and a minor UI changeset.

Non-goals: Notes fetching, a Notes composer, saved-note management, and unrelated cleanup.

Please treat a finding as blocking only when it identifies an unmet in-scope requirement, a documented repository-standard violation in added or modified code, or a concrete regression or defect caused or worsened by this diff. Label other valid improvements as non-blocking follow-ups.

Requirement evidence

Outcome Evidence
Ordering, each built-in omission, own icon, captured gapped references CustomVerseActions browser journey
Default actions, selection, dismissal, and focus Existing controlled Reader tests and focused Reader journeys
Indicator geometry, native center/expanded-target activation, keyboard, wrapped footnotes, and highlight colors FootnoteInteraction and CustomVerseActions browser journeys
Narrow configured lists and inert exit controls Native keyboard reachability at 320px and double-activation regression
Passage/version ownership through navigation Delayed Reader navigation and ready-to-ready standalone passage replacement regressions
Generic demo without Notes requests Built Vite preview smoke and committed reproduction steps

Validation

Build, typecheck, unit, lint, i18n, size, and tree-shaking checks passed against abe82f2 using the installed workspace dependencies. Local commands set pnpm_config_verify_deps_before_run=false to avoid PNPM's non-interactive metadata-reconciliation prompt; no dependency or lockfile changes were made.

pnpm exec turbo build --env-mode=loose --concurrency=1
pnpm exec turbo typecheck --env-mode=loose --concurrency=1
pnpm exec turbo test --env-mode=loose --concurrency=1 --continue=always -- --maxWorkers=2
pnpm lint
pnpm check:i18n
pnpm test:ci-scripts
pnpm size
pnpm check:tree-shaking
  • Build: 4/4 tasks; typecheck: 6/6 tasks.
  • Unit suites: Core 387 passed, Hooks 200 passed, UI 665 passed; 3 opt-in Core tests skipped.
  • Scoped Prettier check passed. i18n passed with existing upstream translation/static-scan warnings.
  • Follow-up focused Chromium, Firefox, and WebKit runs each passed custom actions, Reader dismissal/focus, share-failure stacking, and standalone shadow-root focus. Earlier focused runs also exercised the broader action/auth/overflow workflows.
  • Firefox/WebKit command: VITEST_BROWSER=<firefox|webkit> pnpm --filter @youversion/platform-react-ui exec vitest run --project storybook src/components/bible-reader.stories.tsx src/components/verse-action-popover.shadow-isolation.stories.tsx --maxWorkers=1 -t 'Custom Verse Actions|Verse Selection Reanchoring|Clipboard Failure After Scrolling|Portal Placement Docking Reanchoring And Focus Restoration'.
  • Built Vite preview smoke verifies seeded marker activation, gapped marking, keyboard activation, and zero Notes requests.
  • Actual Safari 27.2 passed the share-error/banner and standalone shadow-root focus/Escape journeys using an explicit automation window size. The broader custom-action story stops during earlier gapped-selection setup, before the new editor assertion; composer handoff is verified in Chromium, Firefox, and Playwright WebKit, but remains unverified in actual Safari.

Review follow-up

Custom actions preserve focus when host UI takes it; ordinary dismissal and rejected-outside-interaction followed by Escape still restore focus. The sticky share-error banner stays above verse indicators. Public action types, empty-list dismissal guidance, the glossary, and the Notes-network reproduction steps are documented. Native browser regressions exercise the focus handoff, Escape dismissal, and banner hit target.

Compatibility and review

The existing verseActions mode and selection/reference types remain intact. Callers without custom actions retain their existing loading-selection path, and callers without indicator hooks retain the plain renderer path. Host-supplied labels remain host-localized; no locale bundles or dependencies changed.

Independent simplification, Standards, Spec, and Compatibility audits were run. Required findings were fixed with direct regressions. Optional cleanup and speculative type refactors were left outside this PR.

Confidence Score: 5/5 · The reviewed changes appear safe to merge.RetriggerView in GreptileConfidence Score: 5/5

The reviewed changes appear safe to merge.

Summary

The PR adds configurable verse actions and optional verse-number indicators.

  • Reader hosts can arrange built-in and custom verse actions.
  • Verse numbers can show host-styled marks with their own actions.

No new actionable issues were found in the changes since the previous review. No previous review threads were supplied. This review checked source code; it did not rerun the reported browser or build checks.

Reviews (7) · Last reviewed commit: "fix(ui): restore focus after rejected ve..." · Reviewed by Greptile

Refs: YPE-6782
Signed-off-by: Austin <abharms@gmail.com>
Refs: YPE-6782
Signed-off-by: Austin <abharms@gmail.com>
Make exiting actions inert and keep the visible verse indicator inside its pointer target.

Refs: YPE-6782
Signed-off-by: Austin <abharms@gmail.com>
Refs: YPE-6782
Signed-off-by: Austin <abharms@gmail.com>
@changeset-bot

changeset-bot Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: abe82f2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@youversion/platform-react-ui Minor
vite-react Patch
@youversion/platform-core Minor
@youversion/platform-react-hooks Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T14:01:13.390985Z abe82f2 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Signed-off-by: Austin <abharms@gmail.com>
Refs: YPE-6782
Signed-off-by: Austin <abharms@gmail.com>
@abharms
abharms marked this pull request as draft November 25, 2026 22:41
@abharms
abharms marked this pull request as ready for review November 27, 2026 13:59
@abharms
abharms requested review from bmanquen and camrun91 November 27, 2026 13:59
@abharms
abharms merged commit 594e005 into feat/after-thanksgiving-merge Nov 27, 2026
72 of 73 checks passed
@abharms
abharms deleted the codex/YPE-6782-reader-verse-actions branch November 27, 2026 15:33
cameronapak added a commit that referenced this pull request Nov 30, 2026
* chore: sync react localization from platform-localization (#478)

chore: sync react localization

Co-authored-by: camrun91 <16566029+camrun91@users.noreply.github.com>

* fix(core): sanitize planted footnote content in Bible HTML (#486)

* fix(core): sanitize planted footnote content in Bible HTML

Co-Authored-By: Cameron Pak <cameronandrewpak@gmail.com>

* fix(core): address review on footnote sanitization

Sanitize footnote content in an inert template, drop non-HTML-namespace
elements, sanitize generated footnote content for idempotency, document the
sanitization contract, and consolidate tests.

Co-Authored-By: Cameron Pak <cameronandrewpak@gmail.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(ui): organize Bible reader modules (#489)

* refactor(ui): organize Bible reader modules (YPE-6808)

* refactor(ui): extract reader settings lifecycle and toolbar (#495)

* refactor(ui): extract reader settings lifecycle and toolbar (YPE-6815)

* fix(ui): address reader settings review feedback

* feat(ui): re-export passage and versions hooks (#500)

* feat(ui): re-export passage and versions hooks

Amp-Thread-ID: https://ampcode.com/threads/T-01a20e73-4446-71f0-950a-3054df5492c7

* chore(ci): remove packed UI consumer check

* docs(ui): clarify shared provider import guidance

Amp-Thread-ID: https://ampcode.com/threads/T-01a20e73-4446-71f0-950a-3054df5492c7

* docs: address hook re-export review nits

Amp-Thread-ID: https://ampcode.com/threads/T-01a20e73-4446-71f0-950a-3054df5492c7

---------

Co-authored-by: Amp <amp@ampcode.com>

* fix(ui): preserve focus at high zoom (#485)

* fix(ui): preserve focus at high zoom

* fix(ui): harden zoom focus coverage

* refactor(ui): simplify zoom focus handling

* test(ui): cover zoom focus behavior

* test(ui): focus reader close before asserting

* fix(ui): address zoom review findings

* test(ui): compare pointer focus styles

* test(ui): respect focus-visible heuristics

* test(ui): use native focus traversal

* fix(ui): scope focus preservation

* fix(ui): preserve sign-in focus contrast

* test(ui): await close focus transition

* refactor(ui): centralize picker scroll geometry

* fix(ui): keep picker focus visible in constrained panels

* fix(ui): preserve the expanded book trigger in compact panels

* test(ui): reach reader settings close with native keys

* fix(ui): honor reduced motion in chapter reveal

* fix(ui): address focus and scroll review feedback

* fix(ui): reveal focused chapters in Firefox

Keep focused book triggers fully visible within the built-in accordion on Linux Firefox. Wait for the settings dialog opening animation before asserting visibility in WebKit.

* test(ui): query the current settings dialog while opening

* feat(core): add Content Library video APIs (YPE-6573) (#488)

* feat(core): add content library video APIs

* refactor(core): simplify video schema ownership

* fix(core): harden content library contracts

* fix(core): validate video response boundaries

* fix(core): distinguish no-content responses

* fix(core): scope no-content status handling

* fix(core): distinguish empty response bodies

* test(core): isolate Content Library smoke coverage

* feat(core): keep content library APIs compatible with v3

* fix(core): align content library rollout contracts (YPE-6573)

* fix(core): accept empty video filters and trim search bundles (YPE-6573)

* fix(core): address content library review feedback (YPE-6573)

* docs(core): clarify video APIs and live validation (YPE-6573)

* fix(core): use stable Content Library routes (YPE-6573)

* feat(core): add Notes API client (#497)

* feat(core): add Notes API client

Amp-Thread-ID: https://ampcode.com/threads/T-01a2095d-25a9-72c5-a0fb-baa79c35e05a

* fix(core): address Notes API review feedback

Amp-Thread-ID: https://ampcode.com/threads/T-01a2095d-25a9-72c5-a0fb-baa79c35e05a

* fix(core): normalize Notes write colors

* fix(core): address Notes API contract review

* fix(core): enforce Notes version filters and tolerate malformed passages

* fix(core): isolate malformed Notes list records

Amp-Thread-ID: https://ampcode.com/threads/T-01a2095d-25a9-72c5-a0fb-baa79c35e05a

* chore: refresh combined core bundle budget

Amp-Thread-ID: https://ampcode.com/threads/T-01a2095d-25a9-72c5-a0fb-baa79c35e05a

---------

Co-authored-by: Amp <amp@ampcode.com>

* fix(ui): preserve newer selection after native Share (YPE-6812) (#494)

* fix(ui): label reader sign-in menu trigger (YPE-6810) (#492)

* fix(ui): label reader sign-in menu trigger (YPE-6810)

* test(ui): capture Linux WebKit dialog visibility failures

* test(ui): stress WebKit visibility diagnostics

* test(ui): check settings visibility after keyboard focus

Assert dialog opening state after Enter and visibility on the Close button after native Tab, alongside the focus-ring checks. Remove temporary WebKit diagnostics and repeated CI groups.

* fix(ui): handle reader clipboard failures (#490)

* fix(ui): handle reader clipboard failures (YPE-6809)

* fix(ui): report clipboard failures and retry failed shares

* fix(ui): keep clipboard warnings visible while scrolling

* fix(ui): ignore stale clipboard action results

* fix(ui): support Bible reader interactions in iframes (YPE-6410) (#491)

* fix(ui): retain iframe verse selection and anchors (YPE-6410)

* test(ui): cover iframe highlight painting and reset

* fix(ui): complete iframe reader text and focus handling

* fix(ui): handle reader host callback exceptions (YPE-6811) (#493)

* chore(ui): align declaration build with strict checks (YPE-6464) (#503)

chore(ui): align declaration build with strict checks

Refs: YPE-6464

* chore: enable additional TypeScript safety checks (#505)

* chore(ui): align declaration build with strict checks

Refs: YPE-6464

* chore: enable additional TypeScript safety checks

Refs: YPE-6832

* feat(ui): customize verse actions and indicators (#506)

* feat(ui): customize verse actions and indicators

Refs: YPE-6782
Signed-off-by: Austin <abharms@gmail.com>

* test(ui): wait for verse layout in browser journeys

Refs: YPE-6782
Signed-off-by: Austin <abharms@gmail.com>

* fix(ui): keep configured verse actions reachable

Make exiting actions inert and keep the visible verse indicator inside its pointer target.

Refs: YPE-6782
Signed-off-by: Austin <abharms@gmail.com>

* fix(ui): keep verse callbacks scoped to the displayed passage

Refs: YPE-6782
Signed-off-by: Austin <abharms@gmail.com>

* fix(ui): preserve verse action focus and warning visibility

Signed-off-by: Austin <abharms@gmail.com>

* fix(ui): restore focus after rejected verse action dismissal

Refs: YPE-6782
Signed-off-by: Austin <abharms@gmail.com>

---------

Signed-off-by: Austin <abharms@gmail.com>

* test(ui): wait for host isolation colors to settle

Amp-Thread-ID: https://ampcode.com/threads/T-01a22d50-d764-7577-a16d-dcc6f7081eba

* fix(core): address Notes and serializer review feedback

Amp-Thread-ID: https://ampcode.com/threads/T-01a22d5e-80f8-71c4-80b9-80b0e2702720

* fix(ui): preserve failed verse actions and guard browser stories

Keep built-in Copy and Share fallback retryable until copying succeeds, and ignore stale clipboard completions after selection changes. Restrict chapter-picker native keyboard helpers to Vitest browser runs.

Amp-Thread-ID: https://ampcode.com/threads/T-01a22d5e-80f8-71c4-80b9-80b0e2702720

* fix(ui): invalidate verse actions on prompt takeover and unmount

Amp-Thread-ID: https://ampcode.com/threads/T-01a22d5e-80f8-71c4-80b9-80b0e2702720

---------

Signed-off-by: Austin <abharms@gmail.com>
Co-authored-by: platform-localization-pr-bot[bot] <294853593+platform-localization-pr-bot[bot]@users.noreply.github.com>
Co-authored-by: camrun91 <16566029+camrun91@users.noreply.github.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Austin <abharms@gmail.com>
Co-authored-by: Amp <amp@ampcode.com>
abharms added a commit that referenced this pull request Dec 2, 2026
* chore: sync react localization from platform-localization (#478)

chore: sync react localization

Co-authored-by: camrun91 <16566029+camrun91@users.noreply.github.com>

* fix(core): sanitize planted footnote content in Bible HTML (#486)

* fix(core): sanitize planted footnote content in Bible HTML

Co-Authored-By: Cameron Pak <cameronandrewpak@gmail.com>

* fix(core): address review on footnote sanitization

Sanitize footnote content in an inert template, drop non-HTML-namespace
elements, sanitize generated footnote content for idempotency, document the
sanitization contract, and consolidate tests.

Co-Authored-By: Cameron Pak <cameronandrewpak@gmail.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(ui): organize Bible reader modules (#489)

* refactor(ui): organize Bible reader modules (YPE-6808)

* refactor(ui): extract reader settings lifecycle and toolbar (#495)

* refactor(ui): extract reader settings lifecycle and toolbar (YPE-6815)

* fix(ui): address reader settings review feedback

* feat(ui): re-export passage and versions hooks (#500)

* feat(ui): re-export passage and versions hooks

Amp-Thread-ID: https://ampcode.com/threads/T-01a20e73-4446-71f0-950a-3054df5492c7

* chore(ci): remove packed UI consumer check

* docs(ui): clarify shared provider import guidance

Amp-Thread-ID: https://ampcode.com/threads/T-01a20e73-4446-71f0-950a-3054df5492c7

* docs: address hook re-export review nits

Amp-Thread-ID: https://ampcode.com/threads/T-01a20e73-4446-71f0-950a-3054df5492c7

---------

Co-authored-by: Amp <amp@ampcode.com>

* fix(ui): preserve focus at high zoom (#485)

* fix(ui): preserve focus at high zoom

* fix(ui): harden zoom focus coverage

* refactor(ui): simplify zoom focus handling

* test(ui): cover zoom focus behavior

* test(ui): focus reader close before asserting

* fix(ui): address zoom review findings

* test(ui): compare pointer focus styles

* test(ui): respect focus-visible heuristics

* test(ui): use native focus traversal

* fix(ui): scope focus preservation

* fix(ui): preserve sign-in focus contrast

* test(ui): await close focus transition

* refactor(ui): centralize picker scroll geometry

* fix(ui): keep picker focus visible in constrained panels

* fix(ui): preserve the expanded book trigger in compact panels

* test(ui): reach reader settings close with native keys

* fix(ui): honor reduced motion in chapter reveal

* fix(ui): address focus and scroll review feedback

* fix(ui): reveal focused chapters in Firefox

Keep focused book triggers fully visible within the built-in accordion on Linux Firefox. Wait for the settings dialog opening animation before asserting visibility in WebKit.

* test(ui): query the current settings dialog while opening

* feat(core): add Content Library video APIs (YPE-6573) (#488)

* feat(core): add content library video APIs

* refactor(core): simplify video schema ownership

* fix(core): harden content library contracts

* fix(core): validate video response boundaries

* fix(core): distinguish no-content responses

* fix(core): scope no-content status handling

* fix(core): distinguish empty response bodies

* test(core): isolate Content Library smoke coverage

* feat(core): keep content library APIs compatible with v3

* fix(core): align content library rollout contracts (YPE-6573)

* fix(core): accept empty video filters and trim search bundles (YPE-6573)

* fix(core): address content library review feedback (YPE-6573)

* docs(core): clarify video APIs and live validation (YPE-6573)

* fix(core): use stable Content Library routes (YPE-6573)

* feat(core): add Notes API client (#497)

* feat(core): add Notes API client

Amp-Thread-ID: https://ampcode.com/threads/T-01a2095d-25a9-72c5-a0fb-baa79c35e05a

* fix(core): address Notes API review feedback

Amp-Thread-ID: https://ampcode.com/threads/T-01a2095d-25a9-72c5-a0fb-baa79c35e05a

* fix(core): normalize Notes write colors

* fix(core): address Notes API contract review

* fix(core): enforce Notes version filters and tolerate malformed passages

* fix(core): isolate malformed Notes list records

Amp-Thread-ID: https://ampcode.com/threads/T-01a2095d-25a9-72c5-a0fb-baa79c35e05a

* chore: refresh combined core bundle budget

Amp-Thread-ID: https://ampcode.com/threads/T-01a2095d-25a9-72c5-a0fb-baa79c35e05a

---------

Co-authored-by: Amp <amp@ampcode.com>

* fix(ui): preserve newer selection after native Share (YPE-6812) (#494)

* fix(ui): label reader sign-in menu trigger (YPE-6810) (#492)

* fix(ui): label reader sign-in menu trigger (YPE-6810)

* test(ui): capture Linux WebKit dialog visibility failures

* test(ui): stress WebKit visibility diagnostics

* test(ui): check settings visibility after keyboard focus

Assert dialog opening state after Enter and visibility on the Close button after native Tab, alongside the focus-ring checks. Remove temporary WebKit diagnostics and repeated CI groups.

* fix(ui): handle reader clipboard failures (#490)

* fix(ui): handle reader clipboard failures (YPE-6809)

* fix(ui): report clipboard failures and retry failed shares

* fix(ui): keep clipboard warnings visible while scrolling

* fix(ui): ignore stale clipboard action results

* fix(ui): support Bible reader interactions in iframes (YPE-6410) (#491)

* fix(ui): retain iframe verse selection and anchors (YPE-6410)

* test(ui): cover iframe highlight painting and reset

* fix(ui): complete iframe reader text and focus handling

* fix(ui): handle reader host callback exceptions (YPE-6811) (#493)

* chore(ui): align declaration build with strict checks (YPE-6464) (#503)

chore(ui): align declaration build with strict checks

Refs: YPE-6464

* chore: enable additional TypeScript safety checks (#505)

* chore(ui): align declaration build with strict checks

Refs: YPE-6464

* chore: enable additional TypeScript safety checks

Refs: YPE-6832

* feat(ui): customize verse actions and indicators (#506)

* feat(ui): customize verse actions and indicators

Refs: YPE-6782
Signed-off-by: Austin <abharms@gmail.com>

* test(ui): wait for verse layout in browser journeys

Refs: YPE-6782
Signed-off-by: Austin <abharms@gmail.com>

* fix(ui): keep configured verse actions reachable

Make exiting actions inert and keep the visible verse indicator inside its pointer target.

Refs: YPE-6782
Signed-off-by: Austin <abharms@gmail.com>

* fix(ui): keep verse callbacks scoped to the displayed passage

Refs: YPE-6782
Signed-off-by: Austin <abharms@gmail.com>

* fix(ui): preserve verse action focus and warning visibility

Signed-off-by: Austin <abharms@gmail.com>

* fix(ui): restore focus after rejected verse action dismissal

Refs: YPE-6782
Signed-off-by: Austin <abharms@gmail.com>

---------

Signed-off-by: Austin <abharms@gmail.com>

* feat(ui): add Reader note saving

Ref: YPE-6783

* fix: recover Reader Notes after interrupted authorization

Preserve the draft on browser Back and clean up a partially persisted automatic token refresh. Keep the composer within narrow viewports and simplify the shared action and highlight paths.

Ref: YPE-6783

* fix: preserve Reader Notes through authorization

Keep note handoffs bound to their initiating Reader and authorization attempt. Preserve focus, existing verse actions, and a recoverable draft across OAuth failures and navigation.

Ref: YPE-6783

* fix: preserve Reader sessions and highlight refresh

Keep OAuth recovery bound to the initiating draft and restore focus around the Notes composer. Refresh highlights for the passage on screen and preserve existing host sign-in behavior.

Ref: YPE-6783

* fix: preserve Reader draft recovery and auth compatibility

Keep host-controlled toolbar scopes, restore legacy startup token rotation, and retain the captured draft through a verified failed callback. Verify the workflow with isolated browser fixtures and native Safari.

Ref: YPE-6783

* fix: preserve Reader auth and passage ownership

Keep verified legacy auth tokens available, discard drafts for ended sessions, restore selection during host takeover, and gate highlight writes to the rendered passage.

Ref: YPE-6783

* fix: preserve Reader drafts and OAuth attempt ownership

Retain clean-canceled drafts across navigation, allow matching-chapter highlight intents, and keep verified auth state bound to its active account and handoff.

Ref: YPE-6783

* fix: isolate Reader authorization handoffs

Resume Notes on the verified configured callback, supersede an older pending highlight action, and keep account-bound requests and drafts tied to the right session. Preserve standalone swatch outlines under host styling.

Ref: YPE-6783

* fix: recover Reader note edits after a lost response

Retry the original create payload, then reconcile the current draft against the recovered note ID using the verified writer token. Keep that ID and draft after a failed update.

Ref: YPE-6783

* fix: retry Notes writes after definite rejections

Allow corrected create fields and retain known blank content after a definitive HTTP rejection, while preserving recovery from earlier uncertain writes.

Ref: YPE-6783

* fix: retry corrected Notes payloads after a 413

Release an unresolved create payload after a size rejection. Retain the request UUID and preserve recovery when the note ID is already known.

Ref: YPE-6783

* fix(ui): preload destination highlights (YPE-6783)

* docs: clarify legacy auth recovery (YPE-6783)

* test(ui): await destination passage before save refresh (YPE-6783)

* test(ui): await settled highlight colors (YPE-6783)

* chore: sync react localization

* fix(ui): announce note highlight color names

* fix(ci): verify imported localization provenance

* fix(ui): expose action labels and record Notes QA evidence

* chore: remove pilot reports and obsolete localization support

Keep QA evidence in Jira, the PR, and BrowserStack. Restore the main localization ownership policy and remove superseded sync changesets now that PR507 is merged. SDK implementation and locale catalogs are unchanged.

* fix: harden Reader Notes authorization and integration

* fix: refresh OAuth tree-shaking sentinel

* refactor: narrow reader notes auth and test scope

* test: remove redundant notes browser scenarios

* refactor: reuse oauth cleanup and reader scope checks

* fix(ui): align notes composer with save design

* test(ui): wait for clipboard retry action visibility

* fix(ui): accept normalized note save responses

Reconcile current draft fields against the original submitted fields rather than the API response. Trust validated successful updates while retaining the resource-ID check. Existing Notes journeys cover trimmed update content and normalized create line endings.

* fix(ui): preserve verse action compatibility for notes

Keep the published built-in action union and explicit custom action lists unchanged. Save remains in the default actions, so Notes can ship as a minor addition. Preserve both sample demonstrations with a default/custom action toggle.

* fix(ui): recover note drafts after validation rejections

* chore: sync react localization

* fix(ui): name the note visibility selector accessibly

* chore(demo): remove preloaded verse marker

* fix(ui): toggle note visibility directly

* docs(demo): update verse marker smoke instructions

* fix(ui): align reader notes actions and authorization

* test(ui): wait for custom action popover visibility

---------

Signed-off-by: Austin <abharms@gmail.com>
Co-authored-by: platform-localization-pr-bot[bot] <294853593+platform-localization-pr-bot[bot]@users.noreply.github.com>
Co-authored-by: camrun91 <16566029+camrun91@users.noreply.github.com>
Co-authored-by: Cameron Pak <cameronandrewpak@gmail.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Amp <amp@ampcode.com>
Co-authored-by: abharms <16394621+abharms@users.noreply.github.com>
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.

2 participants