Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/src/core/config/config-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export const UserConfigSchema = z
default_table_max_columns: z.number().prefault(50),
default_width: z
.enum(VALID_APP_WIDTHS)
.prefault("medium")
.prefault("grid")
.transform((width) => {
if (width === "normal") {
return "compact";
Expand Down Expand Up @@ -262,7 +262,7 @@ export const AppConfigSchema = z
sql_output: SqlOutputSchema,
})
.prefault(() => ({
width: "medium" as const,
width: "grid" as const,
auto_download: [],
sql_output: "auto" as const,
}));
Expand Down
4 changes: 2 additions & 2 deletions marimo/_config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class VenvConfig(TypedDict, total=False):

# TODO(akshayka): remove normal, migrate to compact
# normal == compact
WidthType = Literal["normal", "compact", "medium", "full", "columns"]
WidthType = Literal["normal", "compact", "medium", "full", "columns", "grid"]
Theme = Literal["light", "dark", "system"]
ExportType = Literal["html", "markdown", "ipynb"]
SqlOutputType = Literal["polars", "lazy-polars", "pandas", "native", "auto"]
Expand Down Expand Up @@ -662,7 +662,7 @@ class PartialMarimoConfig(TypedDict, total=False):
"theme": "light",
"code_editor_font_size": 14,
"cell_output": "below",
"default_width": "medium",
"default_width": "grid",
"dataframes": "rich",
"default_table_page_size": 10,
"default_table_max_columns": 50,
Expand Down
Loading