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: forms inhibited when summary selected and vice versa #1037

Merged
merged 6 commits into from
Aug 14, 2024

Conversation

hexaltation
Copy link
Collaborator

fixes #967

Following behaviour proposed by @dsagal in the issue

It would make sense to me if in the "Add Widget" panel, "Sum" icon were disabled when Form widget is chosen, and if "Form" option were greyed out when "Sum" is selected.

app/client/ui/PageWidgetPicker.ts Outdated Show resolved Hide resolved
app/client/ui/PageWidgetPicker.ts Outdated Show resolved Hide resolved
app/client/ui/PageWidgetPicker.ts Outdated Show resolved Hide resolved
app/client/ui/PageWidgetPicker.ts Outdated Show resolved Hide resolved
app/client/ui/PageWidgetPicker.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@fflorent fflorent left a comment

Choose a reason for hiding this comment

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

Tiny question, otherwise LGTM

app/client/ui/PageWidgetPicker.ts Outdated Show resolved Hide resolved
@georgegevoian georgegevoian self-requested a review July 18, 2024 16:33
Copy link
Contributor

@georgegevoian georgegevoian left a comment

Choose a reason for hiding this comment

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

Thanks @hexaltation!

Only have a few small comments and suggestions.

test/nbrowser/saveViewSection.ts Outdated Show resolved Hide resolved
await gu.checkForErrors();
});

it("Should disable form when summary is selected", async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
it("Should disable form when summary is selected", async () => {
it("should disable form when summary is selected", async () => {

test/nbrowser/saveViewSection.ts Outdated Show resolved Hide resolved

// close page widget picker
await driver.sendKeys(Key.ESCAPE);
await gu.checkForErrors();
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
await gu.checkForErrors();

app/client/ui/PageWidgetPicker.ts Outdated Show resolved Hide resolved
app/client/ui/PageWidgetPicker.ts Outdated Show resolved Hide resolved
app/client/ui/PageWidgetPicker.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@georgegevoian georgegevoian left a comment

Choose a reason for hiding this comment

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

Thanks @hexaltation!

@georgegevoian georgegevoian merged commit 93ed1be into gristlabs:main Aug 14, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Forms created from a Summary Table are bugged
3 participants