Skip to content

Improve mobile table size picker - #3393

Merged
AlexAndBear merged 1 commit into
mainfrom
enhancement/mobile-table-size-picker
Sep 17, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
enhancement/mobile-table-size-picker

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

Description

Improve the table size picker for mobile editor usage by replacing the hover-based grid interaction with explicit range controls and a stable preview grid. The preview now always renders the full grid and highlights the selected rows and columns in the primary color.

This also introduces an OcRange design-system component so range input styling is shared across the mobile table picker, view options, and the epub reader progress control.

image

Related Issue

How Has This Been Tested?

  • test environment: local unit test environment with Vitest; design-system type checking with vue-tsc
  • test case 1: ./node_modules/.bin/vitest --config ./tests/unit/config/vitest.config.ts --run packages/design-system/src/components/OcRange/OcRange.spec.ts packages/web-pkg/tests/unit/editor/components/TextEditorTableSizeSelector.spec.ts packages/web-pkg/tests/unit/components/ViewOptions.spec.ts packages/web-app-epub-reader/tests/unit/components/ReaderProgressBar.spec.ts packages/web-app-epub-reader/tests/unit/app.spec.ts
  • test case 2: ../../node_modules/.bin/vue-tsc --declaration --noEmit --project tsconfig.build.json from packages/design-system

Types of changes

  • Bugfix
  • Enhancement (a change that does not break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear AlexAndBear self-assigned this Sep 17, 2026
@AlexAndBear
AlexAndBear force-pushed the enhancement/mobile-table-size-picker branch from b20d505 to d93b013 Compare September 17, 2026 04:01

@JammingBen JammingBen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few nitpicks.

@AlexAndBear

Copy link
Copy Markdown
Member Author

@JammingBen sorry, this is not ready yet, forgot to mark it as a draft.

@AlexAndBear
AlexAndBear marked this pull request as draft September 17, 2026 06:57
@AlexAndBear
AlexAndBear force-pushed the enhancement/mobile-table-size-picker branch 7 times, most recently from e9dc562 to 84058ea Compare September 17, 2026 08:40
@AlexAndBear
AlexAndBear force-pushed the enhancement/mobile-table-size-picker branch from 84058ea to 58ce6ec Compare September 17, 2026 09:03
@AlexAndBear
AlexAndBear marked this pull request as ready for review September 17, 2026 09:07
@AlexAndBear
AlexAndBear requested a review from kulmann September 17, 2026 09:07
@AlexAndBear
AlexAndBear merged commit f7263eb into main Sep 17, 2026
31 checks passed
@AlexAndBear
AlexAndBear deleted the enhancement/mobile-table-size-picker branch September 17, 2026 14:36
@openclouders openclouders mentioned this pull request Sep 17, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make the table picker usable on mobile

2 participants