Skip to content

fix: Avoid full page reload on billing catalog sync and updates#4648

Merged
Rockyy174 merged 1 commit into
operately:mainfrom
Rockyy174:fix-full-page-reload
Jun 9, 2026
Merged

fix: Avoid full page reload on billing catalog sync and updates#4648
Rockyy174 merged 1 commit into
operately:mainfrom
Rockyy174:fix-full-page-reload

Conversation

@Rockyy174

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: Adriano Lazzaretti <lazzaretti136@gmail.com>

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've left some high level feedback:

  • The new syncBillingCatalogProducts, archiveBillingCatalogProduct, and setActiveBillingCatalogProduct helpers are exported from the main page module purely to support tests; consider moving them into a small internal helper module (or keeping them unexported and testing via component behavior) to avoid widening the public surface of index.tsx.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The new `syncBillingCatalogProducts`, `archiveBillingCatalogProduct`, and `setActiveBillingCatalogProduct` helpers are exported from the main page module purely to support tests; consider moving them into a small internal helper module (or keeping them unexported and testing via component behavior) to avoid widening the public surface of `index.tsx`.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@Rockyy174
Rockyy174 merged commit 0183cfa into operately:main Jun 9, 2026
3 checks passed
@Rockyy174
Rockyy174 deleted the fix-full-page-reload branch June 9, 2026 11:09
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