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

feat(objectInline): support inline boolean fields #171

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Conversation

hozblok
Copy link
Contributor

@hozblok hozblok commented Feb 13, 2024

No description provided.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@gravity-ui-bot
Copy link
Contributor

Playwright Test Component is ready.

@@ -30,6 +30,12 @@ test.describe('Checkbox', () => {

await expectScreenshot();
});

test('layout transparent', async ({mount, expectScreenshot}) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

you need to take a screenshot, to do this you need to run the command npm run playwright:docker

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@@ -105,6 +105,7 @@ export const dynamicConfig: DynamicFormConfig = {
row: Row,
row_verbose: RowVerbose,
table_item: TableCell,
transparent: Transparent,
Copy link
Contributor

Choose a reason for hiding this comment

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

you also need to add a transparent layout for the dynamicViewConfig for boolean spec

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed.

@NasgulNexus plz, look at https://preview.gravity-ui.com/dynamic-forms/171/?path=/story/object-inline--inline
I've added checkbox. Looks like true|false on the View tab.

Perhaps it would be cool to set aliases in spec for the checkbox values? But I'm not sure that anyone needs it.

@hozblok hozblok marked this pull request as ready for review February 14, 2024 18:02
@hozblok hozblok requested a review from bocembocem as a code owner February 14, 2024 18:02
@hozblok hozblok changed the title WIP: feat(objectInline): support inline boolean fields feat(objectInline): support inline boolean fields Feb 15, 2024
@hozblok hozblok merged commit 043761c into main Feb 16, 2024
4 checks passed
@hozblok hozblok deleted the inline-boolean branch February 16, 2024 13:32
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.

4 participants