Bug 357713 - Filter feature for project view
Summary: Filter feature for project view
Status: REPORTED
Alias: None
Product: lokalize
Classification: Applications
Component: project management (other bugs)
Version First Reported In: 2.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-08 21:44 UTC by Karl Ove Hufthammer
Modified: 2018-09-26 06:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Ove Hufthammer 2016-01-08 21:44:23 UTC
It would be nice if it would be possible to define a per-project (regexp) filter for hiding folders and files in the project view. Use cases:

Use case 1: Hiding all ‘playground-*’ folders for a KDE translation project. Since it is usually no reason to translate them, having them (and their bad translations statistics) shown in the project view only adds noise.

Use case 2: For projects that keep translation files for all languages together in the *same* folder (one or several folders), one could hide all files not belonging to the target language. Typically, the files would be named appname.langcode.po (e.g. foo.nn.po, foo.da.po, bar.nn.po, bar.da.po). So by adding a filter for showing only files ending in langcode.po(t), one would have a list of files to translate.

Base on the two use cases, I think two types of filters are needed, one for ‘Hide folders/files matching:’ and one for ‘Only show folders/files matching:’ (and it would be possible to use both filter types at the same time). To deactivate a filter one would leave it empty.

Reproducible: Always
Comment 1 Karl Ove Hufthammer 2018-05-16 20:06:18 UTC
Some additional info: I think it would be best to have the filters being text boxes (i.e. multi-line fields), so that one can easily enter multiple regexps to match on.