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

Hack: ignore filename for path equality #614

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AlanDrake
Copy link
Contributor

This is somewhat of a hack in order to be able to see/exclude pictures from a specific directory.
It feels more natural, since the file path uses a directory as a filter by default.

Could be otherwise implemented by upping schema version and saving another column for directory path in db, but it's more duplicate data, and would prevent going back.

The rationale is that the file path filter is used to filter directories, a common user may not even imagine it's the full path and would be confused that they can't filter the current directory by simply choosing "Equals".

Potentially a solution to #398

There could be an option to choose if to default to "Starts With", or "Equals" when opening a folder.

In order to be able to see/exclude pictures from a specific directory.
This feels more natural, since the file path uses a directory as a filter by default.

Could be otherwise implemented by upping schema version and saving another column for directory path in db, but it's more duplicate data, and would prevent going back.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant