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: select columns for child call table preview #2507

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

jamie-rasmussen
Copy link
Collaborator

@jamie-rasmussen jamie-rasmussen commented Sep 27, 2024

Description

https://wandb.atlassian.net/browse/WB-21218

Also sorts attributes after inputs and output in the column management modal.

Before:
Screenshot 2024-09-27 at 9 57 37 AM

After:
Screenshot 2024-09-27 at 9 57 17 AM

Testing

How was this PR tested?

@circle-job-mirror
Copy link

circle-job-mirror bot commented Sep 27, 2024

@jamie-rasmussen jamie-rasmussen marked this pull request as ready for review September 27, 2024 16:04
@jamie-rasmussen jamie-rasmussen requested review from a team as code owners September 27, 2024 16:04
@@ -140,6 +140,9 @@ export const CallsTable: FC<{

paginationModel?: GridPaginationModel;
setPaginationModel?: (newModel: GridPaginationModel) => void;

// Can include glob for prefix match, e.g. "inputs.*"
shownCols?: string[];
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: I think this is operating more like a filter - if a column does not match this filter, is it not even selectable in the column picker. I might call this: allowedColumnPatterns or something a bit more specific.

@jamie-rasmussen jamie-rasmussen force-pushed the jamie/child-call-preview-cols branch from f677cf1 to bcf95d7 Compare October 2, 2024 19:22
@jamie-rasmussen jamie-rasmussen force-pushed the jamie/child-call-preview-cols branch from bcf95d7 to 6c0dcf5 Compare October 3, 2024 17:44
@jamie-rasmussen jamie-rasmussen merged commit f3cd9a9 into master Oct 3, 2024
80 checks passed
@jamie-rasmussen jamie-rasmussen deleted the jamie/child-call-preview-cols branch October 3, 2024 19:35
@github-actions github-actions bot locked and limited conversation to collaborators Oct 3, 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.

2 participants