Kanaries / Kanaries/pygwalker

[BUG] Filter tag shows column name even when no filters applied on that column

Open
#665 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
16k
Forks
889
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
In Data tab, when you open **Filter Rule Settings** window for any column and just close the window, the Filters: tag shows the name of the column even when you have filtered anything.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to data tab
2. Click on filter icon for any column. This will open **Filter Rule Settings** window
3. Close **Filter Rule Settings** window without applying any filters.
4. You can see the column tagged under **Filters:** (just below data tab)

**Expected behavior**
If no filters applied on the column, Filters tag should not show the column.

**Screenshots**
![screen-capture](https://github.com/user-attachments/assets/0536206d-2360-482a-9757-7ac4fa4b8c6c)

**Versions**
- pygwalker version: 0.4.9.13
- python version: 3.11
- browser: All

**Additional context**
I am using pygwalker with Streamlit 1.40.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.