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

Fix table groups only extra column #9362

Merged
merged 13 commits into from
Nov 15, 2023

Conversation

wychoong
Copy link
Contributor

fixes #9297

  • Changes have been thoroughly tested to not break existing functionality.
  • New functionality has been documented or existing documentation has been updated to reflect changes.
  • Visual changes are explained in the PR description using a screenshot/recording of before and after.

when using summary with groups only renders an empty column
this is because when enabled ->groupsOnly, a heading is added to the summary row, so it pushes the columns to the right. and the empty column is from the grouped column

@danharrin danharrin added the bug Something isn't working label Oct 30, 2023
@danharrin danharrin added this to the v3 milestone Oct 30, 2023
@zepfietje zepfietje marked this pull request as draft October 31, 2023 15:57
@wychoong wychoong marked this pull request as ready for review October 31, 2023 16:19
@@ -1069,6 +1070,7 @@ class="fi-ta-record-checkbox"
:actions="count($actions)"
:actions-position="$actionsPosition"
:columns="$columns"
:group-column="$group?->getColumn()"
Copy link
Member

Choose a reason for hiding this comment

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

Do we actually need the ? here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it should? line 857, 858 is using the ?

Copy link
Member

Choose a reason for hiding this comment

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

Hmm, in most other places we don't. 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

don't think it matters much tbh

@danharrin danharrin merged commit 2146f09 into filamentphp:3.x Nov 15, 2023
4 checks passed
@wychoong wychoong deleted the fix-table-groups-only-extra-column branch November 30, 2023 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

groupsOnly while summarizing table with sum mismatch in table ui
3 participants