Commit Graph

3 Commits

Author SHA1 Message Date
Anna Schumaker 2753480052 lib: Create a custom filter Popover
For displaying errors in the regex that the user has entered

Implements: Issue #4 (Create common filtering widgets)
Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2021-11-03 16:11:30 -04:00
Anna Schumaker 3ae543b8e7 lib: Create a custom filter Entry
We check for an exception coming from Regex.set_pattern(), and use it to
set or clear the "warning" css class to let the user know something is
wrong.

Implements: Issue #4 (Create common filtering widgets)
Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2021-11-01 13:52:38 -04:00
Anna Schumaker aae99218e0 lib: Create a new Filter class
The intention is to have some common code that can be shared by both the
sidebar and the tracklist so they don't need to re-implement the same
things.

Implements: #4 (Create common filtering widgets)
Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2021-11-01 13:52:38 -04:00