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

Collapse preview by default #40

Closed
wants to merge 3 commits into from
Closed

Conversation

codyjames
Copy link

@reganlawton This is what I was thinking. Basically, you'd semi-collapse previews by default. This keeps the CP condensed but still gives the author a sense that the embed worked.

This would remove the need for the "Previews hidden by default" setting, I think, but I didn't want to strip all of that out just yet.

No worries if you prefer your solution better, just thought I'd give this one a try.

Here is a screenshot of the default state looks like:
Screen Shot 2020-03-20 at 4 44 10 PM

@codyjames codyjames mentioned this pull request Mar 20, 2020
@reganlawton
Copy link
Member

Could you maybe edit to have a setting option that gives you an choose? Collapsed or cropped collapsed? That way everyone is happy COD I think you make a good point

@codyjames
Copy link
Author

Sure, I can work on that if you think you’ll merge it in!

@reganlawton
Copy link
Member

I mean having both style options are useful

@codyjames
Copy link
Author

@reganlawton I've accounted for the fully hidden option. By default, it does the semi-collapsed view, but if you set that setting it'll do a full collapse.

@reganlawton
Copy link
Member

@codyjames your screenshot doesn't quite match up to your code is all the code commited?

@codyjames
Copy link
Author

@reganlawton Made some tweaks to this. Can you check it out?

If you are still not seeing the right thing can you attach some screenshots so I can troubleshoot? Also, let me know which browser it may be happening in.

@reganlawton
Copy link
Member

Yeah can do I'll try get to a review today.

@reganlawton
Copy link
Member

@codyjames I have not forgotten!!!

@reganlawton
Copy link
Member

This is out via a setting

@reganlawton reganlawton closed this Nov 3, 2023
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