Skip to content

fix(mobile): keep quote comments and save above the keyboard - #844

Merged
nixuuu merged 1 commit into
devfrom
fix/improve-mobile-quote-view
Nov 15, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/improve-mobile-quote-view

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 15, 2026

Copy link
Copy Markdown
Member

Change

With a long passage, the mobile quote editor could leave the comment and save action below the keyboard. Give the passage its own bounded, scrollable preview and a separate Edit passage mode. The comment and full-width Add quote / Save quote action stay in a fixed footer that becomes compact when the available space above the keyboard shrinks and uses a side-by-side layout in landscape.

Render explicitly marked Markdown, preserve plain text and code formatting, and place source details and actions before the passage. Keep the 20,000-character notice inside the preview and hide it after shortening. Update the implemented behavior and status in docs/mobile.md.

Verification

  • Local mobile typecheck: bun run --filter @canopy/mobile typecheck.
  • Oxlint and oxfmt on the three edited quote components; git diff --check.
  • Native Android development client: light/dark themes, 320×568 dp with enlarged interface text, portrait/landscape, short and long passages, code, long PR metadata and the 20,000-character limit. Checked passage editing, saving/reopening a comment, and the save/remove row layout.
  • iOS device verification remains unavailable. Full repository checks, tests and builds are left to GitHub CI.

Copy audit

Pass, with no failed items. Replace the instructional banner with the concrete Edit passage action. Replace “Quotes can contain up to 20,000 characters. Keep a shorter passage.” with “This quote includes only the first 20,000 characters. Edit the passage to shorten it.” to explain the included text and the next action. New action labels use verb-first sentence case; the remove icon keeps the accessible label Remove citation. Checked short and long content at narrow and wide native viewports.

Fixes: #385

Give long passages a bounded reading preview and a separate editing mode.
Keep the comment and primary action visible as the keyboard reduces the
available height, with compact and landscape layouts for small viewports.

Fixes: #385
@nixuuu
nixuuu enabled auto-merge (squash) November 15, 2026 18:25
@nixuuu
nixuuu merged commit 9efe513 into dev Nov 15, 2026
11 checks passed
@nixuuu
nixuuu deleted the fix/improve-mobile-quote-view branch November 15, 2026 18:36
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