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

M2-7225: checkboxes & radio buttons new layout design #815

Merged
merged 9 commits into from
Jul 17, 2024

Conversation

BamMironov
Copy link
Contributor

📝 Description

🔗 Jira Ticket M2-7225

Changes include:

  • Grid layout component
  • New card view for Checkboxes
  • New card view for Radio buttons
  • API integration
  • test fixes
  • Scrollable content's reduces event throttle

📸 Screenshots

image
image
image

@BamMironov BamMironov requested a review from anq83 July 12, 2024 11:53

const CardWrapper = styled(YStack, {
minHeight: 188,

Copy link
Contributor

Choose a reason for hiding this comment

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

Please, remove empty line

type Props = {
imageUrl: string | null;
textColor?: string;

Copy link
Contributor

Choose a reason for hiding this comment

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

Please, remove empty line

@@ -122,7 +122,7 @@ const ScrollableContent: FC<Props> = ({ children, scrollEnabled }: Props) => {
showsHorizontalScrollIndicator={false}
showsVerticalScrollIndicator={false}
keyboardOpeningTime={0}
scrollEventThrottle={300}
scrollEventThrottle={100}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it ok to reduce this value in the shared component?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call. I'll add it to Props

@BamMironov BamMironov changed the base branch from release/2.0.6 to dev July 17, 2024 12:35
@BamMironov BamMironov merged commit c47a983 into dev Jul 17, 2024
2 checks passed
@BamMironov BamMironov deleted the feature/M2-7225-checkboxes-radio-new-layout-design branch July 17, 2024 12:41
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