wandb / weave

Weave is a toolkit for developing AI-powered applications, built by Weights & Biases.
https://wandb.me/weave
Apache License 2.0
659 stars 49 forks source link

feat: new filter UI #2107

Closed jamie-rasmussen closed 1 month ago

jamie-rasmussen commented 1 month ago

Internal weave: https://wandb.atlassian.net/browse/WB-19861

Adds a new UI for filtering calls and managing of filter state in URL.

In the header, there is a button that opens up the filter editing popup. When there are filters, we will dynamically determine what to show based on the available width:

No filters:

Screenshot 2024-08-12 at 10 47 44 AM

There are filters but none can be shown in the available space:

Screenshot 2024-08-12 at 10 47 59 AM

All filters fit in the available space

Screenshot 2024-08-12 at 10 50 10 AM

Too many filters to show in the available space, but some fit

Screenshot 2024-08-12 at 10 48 43 AM

If there's room to show a filter tag, user can one-click remove it with the 'x' button on the tag.

Clicking on the button opens up a dialog:

Screenshot 2024-08-12 at 10 55 40 AM

Each row corresponds to one filter. The 'x' button can be used to remove a filter, or you can remove all of them at once. The available operators depend on the selected field, and the type of value input depends on the operator

Column selection:

Screenshot 2024-08-12 at 10 55 18 AM

Operator selection:

Screenshot 2024-08-12 at 10 55 12 AM
circle-job-mirror[bot] commented 1 month ago

Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=60b4c6e7ef3844b37701e78b4a682c06aad5857d

circle-job-mirror[bot] commented 1 month ago

Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=c73e4497dd74967bb11fdcfded63f5244c2aa708

socket-security[bot] commented 1 month ago

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@mui/x-date-pickers@6.20.2 environment 0 4.61 MB arthurbalduini

View full report↗︎