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

trunctate large code inputs in the console (but make it possible to expand them expand) #814

Open
mdboom opened this issue Aug 29, 2018 · 5 comments

Comments

@mdboom
Copy link
Contributor

mdboom commented Aug 29, 2018

This is just some dogfooding feedback.

I find that the code snippets that appear in the console can take up a lot of space, that for the most part is unnecessary.

What if it only showed the last line by default, with an option to expand to show the whole thing? (We already have the "jump to cell in editor button" which is super useful).

@bcolloran
Copy link
Contributor

seems reasonable

@bcolloran bcolloran added this to the p2 - pressing milestone Sep 13, 2018
@bcolloran bcolloran changed the title Code snippets in console output are large trunctate large code inputs in the console (but make it possible to expand them expand) Jan 22, 2019
@bcolloran
Copy link
Contributor

the objective here would be to make large code inputs (more than 10 lines let's say?) truncate down to only the first few lines (let's say 5 lines?), but with a button or something in place of the missing lines that says e.g. "Show X more lines of code" and toggles a local expansion state. And conversely, for there should be a button to collapse long code inputs that are in the expanded state.

@FarooqAR
Copy link
Contributor

FarooqAR commented Mar 4, 2019

I would be happy to take this issue :)

@bcolloran
Copy link
Contributor

You're welcome to give it a shot @FarooqAR

@bcolloran bcolloran removed this from the p2 - pressing (mvp blocker) milestone Dec 10, 2019
@abhip167
Copy link

abhip167 commented Aug 9, 2023

I would be happy to take this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants