-
Notifications
You must be signed in to change notification settings - Fork 749
feat: improve UX handling when multiple main files detected#1700
feat: improve UX handling when multiple main files detected #1700nilayarya wants to merge 2 commits intoelectron:main from
Conversation
coveralls
commented
Apr 5, 2025
@BlackHole1
BlackHole1
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.
Hi @nilayarya, thank you for your PR, but it seems to be incomplete. From the current PR, I can only temporarily consider this as an improvement for the edge case when there are multiple mainEntryPoints in the gist. When I create another mainEntryPoint from the left sidebar, it throws an error. According to the description in #1508, I believe @dsanders11 is hoping for a complete mainEntryPoint switching mechanism.
CleanShot 2025年07月23日 at 11 21 01fiddle/src/renderer/editor-mosaic.ts
Lines 284 to 290 in 3838dd5
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.
Make the code more intuitive and optimize performance a bit.
Uh oh!
There was an error while loading. Please reload this page.
Description of Change
Suggests UI changes to resolve #1508
Some gifs:
switchingsides
switcherooooo
showdialog
gist-url: https://gist.github.com/nilayarya/dfac02c9af5c699f3efc146ddf946f9f
CC @dsanders11
Checklist
yarn testpasses