Skip to content

Saved quotation page on the phone - #82

Merged
mlaseko merged 1 commit into
mainfrom
claude/peaceful-lovelace-ghj0u4
Nov 3, 2026
Merged

mlaseko merged 1 commit into
mainfrom
claude/peaceful-lovelace-ghj0u4

Conversation

@mlaseko

@mlaseko mlaseko commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Why

On a phone, the saved quotation page was hard to use:

  • What it comes to now:
    • each product's rows were long, bold and wrapped;
    • nothing showed that a product opens to its rooms;
    • Apply and the Excel button sat at the very end of a long list.
  • The sheet's line table: it scrolled sideways (min-width 860 px), which hid the price, the amount and what each line became.

What (phone widths only, ≤ 700 px; the desktop layout is unchanged apart from the chevron)

  • Product rows:
    • a chevron shows that a product opens to its rooms;
    • the title is lighter, with the room count and unit price on a line of their own;
    • Sheet and Today sit side by side, and New appears only when something changed.
  • Top figures:
    • On the sheet and Today are compact one-line tiles;
    • the "With your changes" tile moves into a sticky bar above the tab bar, showing the new total, the difference and how many lines changed, with Apply and Excel buttons. It stays in reach while scrolling the products.
  • The sheet's lines: a card per line, with these styles scoped to the saved page (.qi-saved), so the preview is untouched:
    • the picture;
    • the name and size;
    • the amount (bold);
    • the line number;
    • quantity @ price;
    • what the line became, with Change….
  • Room rows: tighter, with smaller quantity boxes.

Tests

  • python tests/test_flow.py quotations → ALL OK.
  • Checked on an iPhone 13 emulation in Chromium: no sideways scroll (page width = viewport), the sticky bar updates when the Staff quarters chip is pressed, and no script errors.

Generated by Claude Code

…sticky new-total bar with Apply, and the sheet's lines as cards

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014wyLUdkqrEBHKGFY9WfkyB
@mlaseko
mlaseko marked this pull request as ready for review November 3, 2026 23:06
@mlaseko
mlaseko merged commit 4be31a6 into main Nov 3, 2026
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