Skip to content

Release v1.8.2 - #255

Merged
Gnathonic merged 7 commits into
mainfrom
develop
Jul 9, 2026
Merged

Release v1.8.2#255
Gnathonic merged 7 commits into
mainfrom
develop

Conversation

@Gnathonic

Copy link
Copy Markdown
Owner

Hotfix release v1.8.2.

Fixed

Changed

  • Refreshed cloud provider descriptions (Drive quota and auto re-auth)

#254 — Yomitan/Migaku line continuity

The per-line auto layout (v1.7.5, #243) rendered each OCR line as a position: absolute span. Yomitan's DOM scanner injects a hard paragraph break at every absolute/fixed/sticky boundary (checked before display), so a word split across two lines could not be matched and the mined Sentence truncated to one line.

Lines now render display: inline-block in normal flow (scanners read the block as one continuous run); a measured post-layout transform snaps each onto its lines_coords quad. The single block-level position: absolute stays, correctly separating speech bubbles.

Verification

Spec: docs/superpowers/specs/2026-07-09-per-line-yomitan-continuity-design.md

🤖 Generated with Claude Code

Gnathonic and others added 6 commits July 6, 2026 13:52
- Google Drive: "up to 15GB" (2026 phone-verification policy) and
  auto re-auth instead of the stale "requires re-auth every hour"
- Local Folder: drop the wrong "browser-quota limited" bullet — the
  provider writes real files to a user-picked folder
- UploadModal, README, CLAUDE.md: mention OneDrive and Local Folder
  alongside the original three providers

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- VITE_MEGA_REFERRAL_URL env var (verbatim link from MEGA's referral
  dashboard); unset = no link ever rendered, so forks/deploys never
  inherit a referral code. Guarded to https mega.nz/mega.io URLs.
- Cloud page shows a disclosed upgrade link under the MEGA quota bar
  once usage reaches 80% (the bar's existing warning color).
- uploadFile maps megajs EOVERQUOTA (-17) to a typed QUOTA_EXCEEDED
  error with an actionable message instead of the raw error text.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
MEGA's referral program is geo-locked and unavailable to us. Removes the
referral module, env var, docs, and CloudView link from 9e86c15; keeps
the unrelated EOVERQUOTA -> QUOTA_EXCEEDED error mapping and its test.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…254)

Per-line auto layout rendered each OCR line as a position:absolute span.
Yomitan's DOM text scanner injects a hard paragraph break at every
absolute/fixed/sticky boundary (checked before display), so a word split
across two lines could not be matched and the mined sentence truncated to
one line.

Keep the lines in normal flow (display:inline-block) so scanners read the
block as one continuous run, and translate each onto its lines_coords quad
via a measured post-layout correction. offsetLeft/offsetTop are measured
against the block box (zoom-invariant image px) and both reference the
padding edge, so target - offsetLeft is the exact translate. The block box
keeps its single position:absolute, which correctly separates bubbles.

Drops the ::after '\A' newline in per-line mode (each line is positioned
explicitly; Yomitan never saw generated content anyway).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mokuro-reader (develop) Building Building Preview Jul 9, 2026 6:03pm
mokuro-reader Building Building Jul 9, 2026 6:03pm

Request Review

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Gnathonic
Gnathonic merged commit 88a035c into main Jul 9, 2026
14 checks passed
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