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

chore: Integrate Radio Group #29026

Merged
merged 7 commits into from
Nov 23, 2023
Merged

chore: Integrate Radio Group #29026

merged 7 commits into from
Nov 23, 2023

Conversation

jsartisan
Copy link
Contributor

Fixes #29001

@jsartisan jsartisan requested review from a team and ashit-rath and removed request for a team November 22, 2023 07:13
@github-actions github-actions bot added WDS team Anvil Pod Issue related to Anvil project skip-changelog Adding this label to a PR prevents it from being listed in the changelog labels Nov 22, 2023
@@ -1,28 +1,19 @@
import React, { forwardRef } from "react";
import { Field } from "@design-system/headless";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

just changing, reordering imports to satisfy my ODC

@@ -22,7 +22,7 @@
* DISABLED
*-----------------------------------------------------------------------------
*/
&[data-disabled] {
&[data-disabled]:not([data-field-type="field-group"] &) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we need to do it so that we don't apply opacity on field level and inline label again.

@@ -83,16 +83,12 @@ export const propertyPaneContentConfig = [
validation: { type: ValidationTypes.TEXT },
},
{
helpText: "Sets the label position of the widget",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

removing and moving this prop to styles

{ label: "Right", value: "right" },
],
isBindProperty: false,
helpText: "Show help text or details about current input",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

adding the missing tooltip prop

return (
<SwitchGroupComponent
defaultSelectedValues={this.props.defaultSelectedValues}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

note i deleted the component in these widgets we don't need to create separate components and their types. SwitchGroup, CheckboxGroup and RadioGroup are straight forward components that don't need another encapsulation.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@jsartisan
Copy link
Contributor Author

/build-deploy-preview

Copy link

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/6956436707.
Workflow: On demand build Docker image and deploy preview.
skip-tests: . env: .
PR: 29026.
recreate: .

Copy link

Deploy-Preview-URL: https://ce-29026.dp.appsmith.com

KelvinOm
KelvinOm previously approved these changes Nov 22, 2023
return (
<SwitchGroupComponent
defaultSelectedValues={this.props.defaultSelectedValues}
Copy link
Collaborator

Choose a reason for hiding this comment

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

@ashit-rath ashit-rath removed their request for review November 23, 2023 05:07
dhruvikn
dhruvikn previously approved these changes Nov 23, 2023
@jsartisan jsartisan dismissed stale reviews from dhruvikn and KelvinOm via cde4de3 November 23, 2023 06:14
@jsartisan
Copy link
Contributor Author

/ok-to-test

Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/6966297691.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 29026.

Copy link

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6966297691.
Commit: ``.
Cypress dashboard url: Click here!
All cypress tests have passed 🎉🎉🎉

@KelvinOm KelvinOm merged commit c1884fa into release Nov 23, 2023
19 of 20 checks passed
@KelvinOm KelvinOm deleted the chore/integrate-checkbox-group branch November 23, 2023 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Anvil Pod Issue related to Anvil project skip-changelog Adding this label to a PR prevents it from being listed in the changelog WDS team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate WDS RadioGroup component
3 participants