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(ui): Sorted aggregated columns no longer crash tables during ungrouping #2802

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

nicholaspun-wandb
Copy link
Contributor

@nicholaspun-wandb nicholaspun-wandb commented Oct 28, 2024

JIRA: WB-16067

Description

  • Quick fix to prevent table crashes during ungrouping when there exists sorting is enabled on a column with aggregated data
  • Disables sorting before the ungroup and re-enables it after the ungrouping. Note that sorting isn't allowed on the aggregated column after ungrouping anyway so no existing functionality is broken.

Testing

Old behaviour:

Screen.Recording.2024-10-28.at.3.28.24.PM.mov

New behaviour:

Screen.Recording.2024-10-28.at.3.30.42.PM.mov

Existing behaviour when no sorting is applied (the fix aligns with the existing behaviour):

Screen.Recording.2024-10-28.at.3.32.03.PM.mov

@circle-job-mirror
Copy link

@nicholaspun-wandb nicholaspun-wandb changed the title fix(app): Sorted aggregated columns no longer crash tables during ungrouping fix(ui): Sorted aggregated columns no longer crash tables during ungrouping Oct 28, 2024
@nicholaspun-wandb nicholaspun-wandb merged commit da35a95 into master Nov 5, 2024
114 of 116 checks passed
@nicholaspun-wandb nicholaspun-wandb deleted the nicholaspun-wb-16067 branch November 5, 2024 23:04
@github-actions github-actions bot locked and limited conversation to collaborators Nov 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants