Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Commit 189793b

Browse files
feat(hub-common): swap group settings ui schema to use a tile select instead of a radio group (#1779)
Co-authored-by: Aaron Putterman <[email protected]>
1 parent f6b32eb commit 189793b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/common/src/groups/_internal/GroupUiSchemaSettings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const buildUiSchema = async (
3737
scope: "/properties/membershipAccess",
3838
type: "Control",
3939
options: {
40-
control: "hub-field-input-radio",
40+
control: "hub-field-input-tile-select",
4141
labels: [
4242
`{{${i18nScope}.fields.membershipAccess.org.description:translate}}`,
4343
`{{${i18nScope}.fields.membershipAccess.collab.description:translate}}`,
@@ -114,7 +114,7 @@ export const buildUiSchema = async (
114114
scope: "/properties/isViewOnly",
115115
type: "Control",
116116
options: {
117-
control: "hub-field-input-radio",
117+
control: "hub-field-input-tile-select",
118118
labels: [
119119
`{{${i18nScope}.fields.contributeContent.members.description:translate}}`,
120120
`{{${i18nScope}.fields.contributeContent.admins.description:translate}}`,

packages/common/test/groups/_internal/GroupUiSchemaSettings.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe("buildUiSchema: group settings", () => {
3232
scope: "/properties/membershipAccess",
3333
type: "Control",
3434
options: {
35-
control: "hub-field-input-radio",
35+
control: "hub-field-input-tile-select",
3636
labels: [
3737
"{{some.scope.fields.membershipAccess.org.description:translate}}",
3838
"{{some.scope.fields.membershipAccess.collab.description:translate}}",
@@ -107,7 +107,7 @@ describe("buildUiSchema: group settings", () => {
107107
scope: "/properties/isViewOnly",
108108
type: "Control",
109109
options: {
110-
control: "hub-field-input-radio",
110+
control: "hub-field-input-tile-select",
111111
labels: [
112112
"{{some.scope.fields.contributeContent.members.description:translate}}",
113113
"{{some.scope.fields.contributeContent.admins.description:translate}}",

0 commit comments

Comments
 (0)