Skip to content

Fix #1459: keep index sync progress bars visible on small screens#1799

Open
Keegil wants to merge 2 commits intorunbox:masterfrom
Keegil:fix/issue-1459
Open

Fix #1459: keep index sync progress bars visible on small screens#1799
Keegil wants to merge 2 commits intorunbox:masterfrom
Keegil:fix/issue-1459

Conversation

@Keegil
Copy link
Copy Markdown

@Keegil Keegil commented Mar 27, 2026

Summary

  • keep the mail content area below any active index progress bars so the sync indicator stays visible on narrow screens
  • compute the top offset from the toolbar plus any visible progress bars in a small shared helper
  • add regression coverage for the layout offset calculation

Verification

  • ./node_modules/.bin/tsc -p src/tsconfig.app.json --noEmit
  • ./node_modules/.bin/tsc -p src/tsconfig.spec.json --noEmit
  • ./node_modules/.bin/ts-node --transpile-only -e "const { calculateMailContentTopOffset, MAIL_MENU_HEIGHT, MAIL_PROGRESS_BAR_HEIGHT } = require('./src/app/mail-layout.util'); const assert = require('assert'); assert.strictEqual(calculateMailContentTopOffset(false,false,false), MAIL_MENU_HEIGHT); assert.strictEqual(calculateMailContentTopOffset(true,true,true), MAIL_MENU_HEIGHT + (MAIL_PROGRESS_BAR_HEIGHT * 3));"
  • git diff --check

Closes #1459

Keegil added 2 commits March 27, 2026 02:23
Move the message list down by the height of any active index progress bars so the sync indicator is not covered by the mail content area on narrow screens.

Add a small layout helper with regression coverage for the calculated top offset.

runbox#1459
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.

Index sync progress bar not visible on small screens

1 participant