Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: show 'Clear Output' cell action when console has output #3650

Merged
merged 2 commits into from
Feb 1, 2025

Conversation

Light2Dark
Copy link
Collaborator

@Light2Dark Light2Dark commented Feb 1, 2025

📝 Summary

When there is console output, the 'Clear Output' option is not shown. This is to fix that.
image

Context: Have a lot of print statements and the console output got really long, but I couldn't clear it.
Another solution is to not hide this option at all. Or to merge the hasOutput & hasConsoleOutput prop into one.

🔍 Description of Changes

📋 Checklist

  • I have read the contributor guidelines.
  • For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
  • I have added tests for the changes made.
  • I have run the code and verified that it works as expected.

📜 Reviewers

@akshayka OR @mscolnick

Sorry, something went wrong.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link

vercel bot commented Feb 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
marimo-storybook ⬜️ Ignored (Inspect) Visit Preview Feb 1, 2025 1:33pm

Copy link

vercel bot commented Feb 1, 2025

@Light2Dark is attempting to deploy a commit to the marimo Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@mscolnick mscolnick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this approach works, nice fix

@mscolnick mscolnick merged commit 59625f0 into marimo-team:main Feb 1, 2025
19 of 20 checks passed
Copy link

github-actions bot commented Feb 1, 2025

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.10.20-dev7

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.

None yet

2 participants