Skip to content

Comments

feat: control module flow panel size#52

Merged
antfu merged 1 commit intovitejs:mainfrom
LittleSound:feat/control-module-flow-panel-publish
Jul 24, 2025
Merged

feat: control module flow panel size#52
antfu merged 1 commit intovitejs:mainfrom
LittleSound:feat/control-module-flow-panel-publish

Conversation

@LittleSound
Copy link
Contributor

this diff view looks very crowded on my screen. I tried to add a resizing feature.

Since the ModuleFlow.vue was getting quite large, I split the code into ModuleFlowDetails.vue and ModuleFlowTimeline.vue based on the left and right panel layout. This makes it easier for me to work on the styles and helps with future maintainability.

The diff may look big, but there are no actual UI changes — sorry for the noise, and thanks for your understanding!

Demo:

CleanShot.2025-07-24.at.17.49.13.mp4

@antfu
Copy link
Member

antfu commented Jul 24, 2025

Thanks! It indeed looks better, but I am not sure if using a modal in a modal is a good design. I actually wish to have this more like a canvas to have more horizontal space, and the diff could be open at the position of the current node.

@LittleSound
Copy link
Contributor Author

Ok. This looks like a difficult design solution. I'll think about it. If I did it, I will open a new PR. and I will keep this PR.

@antfu
Copy link
Member

antfu commented Jul 24, 2025

Let's have it first. I do love your visual design!

@antfu antfu merged commit c0f2c80 into vitejs:main Jul 24, 2025
4 checks passed
@LittleSound LittleSound deleted the feat/control-module-flow-panel-publish branch July 24, 2025 16:29
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.

2 participants