Skip to content

feature(core-blocks): CB-209 added custom checkboxes#172

Merged
Wroud merged 7 commits intodevelfrom
feature/custom-checkbox
Oct 8, 2020
Merged

feature(core-blocks): CB-209 added custom checkboxes#172
Wroud merged 7 commits intodevelfrom
feature/custom-checkbox

Conversation

@devnaumov
Copy link
Copy Markdown
Member

No description provided.

@devnaumov devnaumov requested a review from Wroud October 7, 2020 09:05
@devnaumov devnaumov self-assigned this Oct 7, 2020
Comment thread webapp/packages/core-blocks/src/FormControls/Checkbox.tsx Outdated
Comment thread webapp/packages/core-blocks/src/FormControls/Checkbox.tsx Outdated
Comment thread webapp/packages/core-theming/src/styles/_checkbox.scss
Comment thread webapp/packages/core-theming/src/styles/_variables.scss Outdated
@Wroud
Copy link
Copy Markdown
Member

Wroud commented Oct 7, 2020

There now wrong abstraction, you duplicating checkbox logic in FIeldCheckbox and Checkbox, you should unit CheckboxMarkup with Checkbox and remove duplicating logic from FieldCheckbox and use Checkbox in it, so the main logic was in Checkbox, FieldCheckbox must be just wrapper over Checkbox

Comment thread webapp/packages/core-blocks/src/FormControls/Checkboxes/CheckboxMarkup.tsx Outdated
Comment thread webapp/packages/core-theming/src/styles/_variables.scss Outdated
Comment thread webapp/packages/core-blocks/src/FormControls/Checkboxes/FieldCheckbox.tsx Outdated
Comment thread webapp/packages/core-blocks/src/FormControls/Checkboxes/CheckboxMarkup.tsx Outdated
Comment thread webapp/packages/core-blocks/src/FormControls/Checkboxes/FieldCheckbox.tsx Outdated
@Wroud Wroud merged commit fed632b into devel Oct 8, 2020
@devnaumov devnaumov deleted the feature/custom-checkbox branch October 12, 2020 13: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