Skip to content

Conversation

@nfebe
Copy link
Contributor

@nfebe nfebe commented Feb 3, 2026

Remove frontend code that added legacy domain before adding new domain. The backend already handles legacy domain migration in addDomain API, so the frontend migration was causing duplicates when add failed and user retried.

Remove frontend code that added legacy domain before adding new domain.
The backend already handles legacy domain migration in addDomain API,
so the frontend migration was causing duplicates when add failed and
user retried.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
@sourceant
Copy link

sourceant bot commented Feb 3, 2026

Code Review Summary

✨ This pull request refactors the handleAddDomain function in DeploymentDetailView.vue. It removes code responsible for converting legacy domain configurations, streamlining the function and improving its clarity and maintainability. This change is beneficial under the assumption that the legacy migration logic is now obsolete or handled by alternative processes.

🚀 Key Improvements

  • Simplified handleAddDomain function by removing deprecated legacy domain conversion logic.
  • Improved code clarity and maintainability due to reduced complexity in domain management.

Copy link

@sourceant sourceant bot left a comment

Choose a reason for hiding this comment

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

Review complete. No specific code suggestions were generated. See the overview comment for a summary.

@nfebe nfebe merged commit 2adcf86 into main Feb 3, 2026
5 checks passed
@nfebe nfebe deleted the fix/domain-add-duplicate-migration branch February 3, 2026 19:23
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