Skip to content

Move wlayout to wcore, create new tab layout for all new tabs#1437

Merged
esimkowitz merged 4 commits into
mainfrom
evan/wcore-layout
Dec 9, 2024
Merged

Move wlayout to wcore, create new tab layout for all new tabs#1437
esimkowitz merged 4 commits into
mainfrom
evan/wcore-layout

Conversation

@esimkowitz
Copy link
Copy Markdown
Contributor

@esimkowitz esimkowitz commented Dec 9, 2024

Moves the wlayout package contents to wcore to prevent import cycles. Moves the layout calls to other wcore functions instead of being handled by the services. Removes redundant CreateTab in EnsureInitialData and adds a isInitialLaunch flag to the CreateTab and CreateWorkspace functions to ensure that the initial tab is pinned and does not have the initial tab layout (since the starter layout gets applied later)

@esimkowitz esimkowitz merged commit c5501a5 into main Dec 9, 2024
@esimkowitz esimkowitz deleted the evan/wcore-layout branch December 9, 2024 22:24
xxyy2024 pushed a commit to xxyy2024/waveterm_aipy that referenced this pull request Jun 24, 2025
…rmdev#1437)

Moves the wlayout package contents to wcore to prevent import cycles.
Moves the layout calls to other wcore functions instead of being handled
by the services. Removes redundant CreateTab in EnsureInitialData and
adds a isInitialLaunch flag to the CreateTab and CreateWorkspace
functions to ensure that the initial tab is pinned and does not have the
initial tab layout (since the starter layout gets applied later)
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