Skip to content

Keep prescription pagination isolated during search changes - #329

Draft
evangauer wants to merge 1 commit into
mainfrom
codex/astra-clinic-workflows-20260904
Draft

Keep prescription pagination isolated during search changes#329
evangauer wants to merge 1 commit into
mainfrom
codex/astra-clinic-workflows-20260904

Conversation

@evangauer

@evangauer evangauer commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Reopening the prescription inventory picker immediately after selecting a search result can let a scroll event append the previous search page to the reset catalog. This mixes results and skips the beginning of the next page. Pagination now advances only while the picker is open, the search is settled, and the query is neither failed nor fetching.

Verified the same component change in an isolated release-base checkout: reproduced the mixed 70/125 result, then confirmed retry restores the correct 50/125 result after the fix; checked duplicate names, SKU selection and a 390px mobile viewport. The four targeted suites pass (56 tests), and the production build passes. The rendered fixture uses synthetic tRPC data; authenticated application verification remains outstanding.

GitHub CI also passes on this main-based PR: build/type checks/tests, migration history, RLS tenant isolation and CodeQL. Hosted preview builds were skipped by the existing build policy and do not count as browser verification.

Tracks OPENVPM-92. No schema or dependency changes.

@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

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

3 Skipped Deployments
Project Deployment Actions Updated
openvpm Ignored Ignored Sep 4, 2026 8:15pm UTC
openvpm-app Ignored Ignored Sep 4, 2026 8:15pm UTC
openvpm-docs Ignored Ignored Sep 4, 2026 8:15pm UTC

Request Review

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