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

Add custom view option to hide code #2889

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Add custom view option to hide code #2889

merged 1 commit into from
Dec 6, 2024

Conversation

jonatanklosko
Copy link
Member

Supersedes #2798.

image

I didn't add the show/uncollapse button, because but I think it's fine. In the custom view mode we don't show cell actions, so it's also the case for Markdown. If someone wants to edit the code they can hit i/Enter. The primary reason is technical; we handle the views with CSS rules and I want to avoid rendering extra hidden content for collapsed cell that would rarely be shown, so instead the whole placeholder is done via CSS.

I don't like how complex the CSS is to handle all the cases, but it is what it is. I have a few ideas to simplify the rules overall, but I will try these out separately.

Copy link

github-actions bot commented Dec 6, 2024

Uffizzi Preview deployment-58886 was deleted.

@jonatanklosko jonatanklosko merged commit 832c33d into main Dec 6, 2024
7 checks passed
@jonatanklosko jonatanklosko deleted the jk-indicators branch December 6, 2024 09:39
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.

2 participants