feat: Add option to create notebook from file tree#8412
Merged
mscolnick merged 4 commits intomarimo-team:mainfrom Feb 23, 2026
Merged
feat: Add option to create notebook from file tree#8412mscolnick merged 4 commits intomarimo-team:mainfrom
mscolnick merged 4 commits intomarimo-team:mainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Light2Dark
previously approved these changes
Feb 21, 2026
Collaborator
Light2Dark
left a comment
There was a problem hiding this comment.
code looks good otherwise :)
Comment on lines
+289
to
+293
| <img | ||
| src={marimoIcon} | ||
| className="w-4 h-4 shrink-0 filter grayscale" | ||
| alt="Marimo" | ||
| /> |
Collaborator
There was a problem hiding this comment.
Was trying out some designs, maybe this looks better?
<span className="relative inline-flex">
<img
src={marimoIcon}
className="w-4 h-4 shrink-0 filter grayscale"
alt="Marimo"
/>
<PlusIcon
className="w-2 h-2 absolute -bottom-0.5 -right-1 bg-background text-muted-foreground rounded-full"
strokeWidth={3}
/>
</span>
Contributor
Author
|
looking forward to this quality of life improvement! |
Light2Dark
approved these changes
Feb 23, 2026
1 task
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




📝 Summary
This pull request addresses issue #5220 by introducing a streamlined way to create new marimo notebooks directly from the file explorer. Previously, users could only create generic files or folders, making the process of starting a new notebook less intuitive.
Closes #5220
🔍 Description of Changes
Frontend Enhancements:
Backend Logic for Notebook Creation:
RequestingTree.createFilemethod in the frontend now accepts an optionaltypeparameter, which can be"notebook".marimo/_server/files/os_file_system.pyhas been updated to handle the new"notebook"file type. When a notebook is requested, it initializes the new file with the standard marimo notebook boilerplate by utilizingAppFileManager. This ensures newly created notebooks are immediately functional.📋 Checklist