-
Notifications
You must be signed in to change notification settings - Fork 1
Events: blocks single and list #653
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
Conversation
|
Preview deployment: https://events-blocks.preview.avy-fx.org |
busbyk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/blocks/BlogList/Component.tsx
Outdated
|
|
||
| return ( | ||
| <div className={cn(wrapInContainer && bgColorClass)}> | ||
| <div className={cn(bgColorClass && `${bgColorClass}`)}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, there's only space to show the background color if you're wrapping the component in a container. So I actually think we should keep this, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can keep wrapInContainer as the logic but that wasnt the problem here. It was just evaluating to whatever the boolean of wrapInContainer && bgColorClass was rather than assigning bgColorClass as a string. I have a follow up issue in #654
It seems like more work to remove them into a separate PR. Since in #658 removing subtypes is necessary, lets just resolve conflicts there (which hopefully will not be too difficult) |
|
I changed my mind - I will remove subtype in any of these files |
Description
Updates event blocks
Related Issues
Fixes #245
Key Changes
include save draft button anddefault time of 800msScreenshots / Demo
Migration Explanation
yes but in #635
Future enhancements / Questions