Kubis10 / CounterForMessenger

Counter for Messenger - First and most extensive free desktop application made in Python with tkinter
https://kubis10.github.io/CounterForMessengerPage/
Other
20 stars 28 forks source link

Added feature to filter on main view (frontend popup + merging functionality with backend function) #62

Open choksis8168 opened 6 months ago

choksis8168 commented 6 months ago

Description

This adds a feature to filter on main view. I added a "Filter" button on the side navigation bar which users can press in order to filter each column header by different values which includes entry fields for name and participants and numerical ranges for all count fields. Note that this doesn't include filtering by chat type since this was addressed in https://github.com/tkroening/CounterForMessenger/pull/6. This merges backend functionality with the filter_treeview function added in https://github.com/tkroening/CounterForMessenger/pull/4. Users can click "Clear filters" in order to get rid of all selections.

Screenshot 2024-04-28 at 2 32 34 PM

Fixes # (issue) https://github.com/Kubis10/CounterForMessenger/issues/29#issue-1659924278

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

The filter feature was manually tested.

Result: The data is filtered so only the rows that match the name are selected.

Result: The data is filtered so only rows where the participants has a subset of the participants entered into the entry box are selected.

Result: The data is filtered so only rows where the number of messages is between min and max are selected.

Result: The data is filtered so only rows where the number of messages is between the min and max and the participants has a subset of the participants entered into the entry box are selected.

Result: All selections are removed so all of the rows appear.

Test Configuration:

Checklist:

Kubis10 commented 6 months ago

Try to resolve conflicts first