refactor(core): new workspace selector and create dialog (#10323)

This commit is contained in:
Cats Juice
2025-02-21 17:16:38 +08:00
committed by GitHub
parent 22e4bd8c20
commit 09cc5c392b
28 changed files with 760 additions and 563 deletions
@@ -1,7 +1,7 @@
import { style } from '@vanilla-extract/css';
export const fallback = style({
padding: '4px 20px',
padding: '4px 16px',
height: '100%',
overflow: 'clip',
});
@@ -15,7 +15,7 @@ export type SettingTab =
| `workspace:${'preference' | 'properties' | 'members' | 'storage' | 'billing' | 'license'}`;
export type GLOBAL_DIALOG_SCHEMA = {
'create-workspace': (props: { serverId?: string; forcedCloud?: boolean }) => {
'create-workspace': (props: { serverId?: string }) => {
metadata: WorkspaceMetadata;
defaultDocId?: string;
};