-
Notifications
You must be signed in to change notification settings - Fork 18
Feature/site sync to restore eco #2753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Extract sync UI logic into reusable SitesSyncActions component - Prevent multiple parallel sync requests with flag-based guard - Add webhook URL validation before making requests - Improve sync error handling and user feedback - Display success feedback via snackbar notification - Add confirmation modal before initiating sync operation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
mohitb35
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sunilsabatp Please review my feedback.
src/features/user/ManageProjects/components/microComponent/SitesSyncActions.tsx
Outdated
Show resolved
Hide resolved
src/features/user/ManageProjects/components/microComponent/SitesSyncActions.tsx
Show resolved
Hide resolved
- isSyncedWithRestoreEco to isSiteSyncSuccessful - loading to syncing
mohitb35
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but hold off on merging until we receive approval
eee182f to
ce0d57e
Compare
Description
Implements the site synchronization feature that allows users to sync their project sites with
RestorEcoplatform. This PR extracts sync-related logic into a dedicated component and improves the overall user experience with proper state management and error handling.Refactoring
Extracted sync UI from
ProjectSites: improving component readability and maintainabilityImproved
handleSyncSiteslogic:How It Works