Skip to content

Conversation

@camielvs
Copy link
Collaborator

@camielvs camielvs commented Oct 10, 2025

Description

Refactor the HandleConnection utility to follow more robust logic and more intuitive code flow. Function is now longer but logic flow is more stable.

helps to clean up some of the mess in this function added in #1004

Also adds tests for the file.

No change to app functionality.

Related Issue and Pull requests

Closes https://github.com/Shopify/oasis-frontend/issues/329

Type of Change

  • Cleanup/Refactor

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

Test Instructions

  • Verify all forms of connecting nodes to each other continue to work as expected and the component spec is updated accordingly

Additional Comments

@camielvs camielvs mentioned this pull request Oct 10, 2025
3 tasks
Copy link
Collaborator Author

camielvs commented Oct 10, 2025

@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch from 4ee4c6b to 77cb16f Compare October 10, 2025 19:44
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch 3 times, most recently from c58662d to 88dd20d Compare October 10, 2025 20:44
@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch 2 times, most recently from 0243d66 to 975e96d Compare October 10, 2025 20:47
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch 2 times, most recently from 5a9a17f to 2bd09d8 Compare October 11, 2025 00:32
@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch from 975e96d to c1b04bc Compare October 11, 2025 00:32
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch from 2bd09d8 to 7ac151b Compare October 14, 2025 19:56
@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch from c1b04bc to 1b2c1df Compare October 14, 2025 19:56
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch from 7ac151b to 6dbda92 Compare October 14, 2025 20:01
@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch from 1b2c1df to 17fae45 Compare October 14, 2025 20:01
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch 2 times, most recently from abb9034 to 4527a03 Compare October 14, 2025 21:57
@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch from 87cb8a1 to b38e5ec Compare October 14, 2025 22:34
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch from 4527a03 to 0d8df5f Compare October 14, 2025 22:34
@camielvs camielvs mentioned this pull request Oct 15, 2025
3 tasks
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch from 0d8df5f to 669fa38 Compare October 15, 2025 18:09
@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch from b38e5ec to 62a4dd8 Compare October 15, 2025 18:09
@camielvs camielvs marked this pull request as ready for review October 15, 2025 18:39
@camielvs camielvs assigned maxy-shpfy and Mbeaulne and unassigned maxy-shpfy and Mbeaulne Oct 15, 2025
@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch from 62a4dd8 to ad5f2be Compare October 16, 2025 18:17
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch from 58e539d to 443bb5b Compare October 17, 2025 21:41
@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch from 9b406a7 to f964219 Compare October 17, 2025 21:42
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch 2 times, most recently from cc62eb1 to c596d45 Compare October 22, 2025 20:18
@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch 2 times, most recently from 5789306 to f337b73 Compare October 22, 2025 22:19
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch 2 times, most recently from 32dac7f to 616fff2 Compare October 23, 2025 16:35
@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch from f337b73 to 0c80e6d Compare October 23, 2025 16:35
@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch from 0c80e6d to 8829abe Compare October 23, 2025 20:05
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch 2 times, most recently from 2a075fd to 4bb4dca Compare October 23, 2025 20:11
@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch 2 times, most recently from b13e86e to e210e0b Compare October 23, 2025 23:23
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch from 4bb4dca to 8b691b0 Compare October 23, 2025 23:23
@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch from e210e0b to 7641e1b Compare October 24, 2025 00:15
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch from 8b691b0 to 6cfe339 Compare October 24, 2025 00:15
@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch from 7641e1b to 1fa53c2 Compare October 28, 2025 21:04
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch from 6cfe339 to 174009d Compare October 28, 2025 21:04
@maxy-shpfy maxy-shpfy marked this pull request as draft October 30, 2025 16:55
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch from 174009d to ed65518 Compare October 30, 2025 19:10
@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch 2 times, most recently from adc9360 to b54b933 Compare October 30, 2025 19:44
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch from ed65518 to c82efe1 Compare October 30, 2025 19:44
@camielvs camielvs force-pushed the 10-10-refactor_handleconnection branch from c82efe1 to b2503ef Compare October 31, 2025 00:23
@camielvs camielvs force-pushed the 10-08-refactor_addandconnectnode branch from b54b933 to 9eea6fc Compare October 31, 2025 00: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.

4 participants