Skip to content

Refactor query prefetching in Companies, Contacts, and Deals pages to… - #71

Merged
carhartlewis merged 1 commit into
mainfrom
lewis/table-error
Aug 6, 2026
Merged

Refactor query prefetching in Companies, Contacts, and Deals pages to…#71
carhartlewis merged 1 commit into
mainfrom
lewis/table-error

Conversation

@carhartlewis

@carhartlewis carhartlewis commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

… use Promise.all for improved performance. Update Select component alignment and position properties for better UI consistency. Remove unnecessary dehydrate options in query client configuration.


Summary by cubic

Parallelized query prefetching on Companies, Contacts, and Deals with Promise.all for faster server rendering. Simplified @tanstack/react-query client options and fixed Select dropdown alignment for consistent UI.

  • Refactors

    • Prefetch page queries in parallel via Promise.all (Companies, Contacts, Deals).
    • Remove custom dehydrate options from the query client; keep staleTime only.
  • Bug Fixes

    • Set Select defaults to position="popper", align="start", and sideOffset=4 for consistent alignment.

Written for commit 71ba1ca. Summary will update on new commits.

Review in cubic

… use Promise.all for improved performance. Update Select component alignment and position properties for better UI consistency. Remove unnecessary dehydrate options in query client configuration.
@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
crm-agent Ready Ready Preview Aug 6, 2026 9:29pm
crm-api Ready Ready Preview Aug 6, 2026 9:29pm
crm-app Ready Ready Preview Aug 6, 2026 9:29pm

Request Review

@carhartlewis
carhartlewis merged commit bb15e01 into main Aug 6, 2026
8 checks passed
@carhartlewis
carhartlewis deleted the lewis/table-error branch August 6, 2026 21:39
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