Skip to content

Conversation

christian-byrne
Copy link
Contributor

@christian-byrne christian-byrne commented Sep 6, 2025

Summary

Refactors reroute change handlers.

Changes

  • Replace handleRerouteAdd + handleRerouteUpdate with single handleRerouteUpsert
  • Both operations performed identical logic (full layout replacement)
  • Remove redundant parameter passing (rerouteIdStr + rerouteId)
  • Remove 'export type { LayoutStore } from types' pattern that obscures dependencies

┆Issue is synchronized with this Notion page by Unito

- Replace handleRerouteAdd + handleRerouteUpdate with single handleRerouteUpsert
- Both operations performed identical logic (full layout replacement)
- Remove redundant parameter passing (rerouteIdStr + rerouteId)
- Remove 'export type { LayoutStore } from types' pattern that obscures dependencies
@christian-byrne christian-byrne requested a review from a team as a code owner September 6, 2025 06:25
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Sep 6, 2025
@christian-byrne christian-byrne added area:vue-migration and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Sep 6, 2025
Copy link

github-actions bot commented Sep 6, 2025

🎭 Playwright Test Results

All tests passed across all browsers!

⏰ Completed at: 09/06/2025, 06:35:47 AM UTC

📊 Test Reports by Browser


🎉 Your tests are passing across all browsers!

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Sep 6, 2025
@christian-byrne christian-byrne merged commit 718ec42 into main Sep 6, 2025
31 checks passed
@christian-byrne christian-byrne deleted the refactor/unify-reroute-handlers branch September 6, 2025 07:36
@benceruleanlu benceruleanlu mentioned this pull request Sep 7, 2025
snomiao pushed a commit that referenced this pull request Sep 12, 2025
- Replace handleRerouteAdd + handleRerouteUpdate with single handleRerouteUpsert
- Both operations performed identical logic (full layout replacement)
- Remove redundant parameter passing (rerouteIdStr + rerouteId)
- Remove 'export type { LayoutStore } from types' pattern that obscures dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:vue-migration size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants