Skip to content

Feature/save search filter: Add saving search filters ability#80

Merged
Valentin-v-Todorov merged 3 commits intoTheDevOpsBlueprint:mainfrom
itspavant:feature/save-search-filter
Oct 3, 2025
Merged

Feature/save search filter: Add saving search filters ability#80
Valentin-v-Todorov merged 3 commits intoTheDevOpsBlueprint:mainfrom
itspavant:feature/save-search-filter

Conversation

@itspavant
Copy link
Contributor

@itspavant itspavant commented Oct 3, 2025

PR Checklist

  • Follows single-purpose principle
  • Tests pass locally
  • Documentation updated

What does this PR do?

Implements Saved Filters (saved searches) for tix.

Features added

  • tix filter save <name> <filter_params> → Save a filter by name (e.g., priority, tag, completed/active).
  • tix filter list → List all saved filters with their parameters.
  • tix filter apply --saved <name> → Apply a saved filter.
  • tix filter apply <filter_params> → Apply a filter directly without saving.
  • Saved filters are stored in ~/.tix/filters.json.
  • Overwriting filters supported via --force.

Related Issue

Closes #67

Type of change

  • Bug fix
  • New feature
  • Configuration
  • Documentation

How to test

# Save a filter named "work" for high-priority tasks tagged "work"
tix filter save work -t work -p high

# Save filter for completed tasks
tix filter save done-only --completed

# Overwrite an existing filter
tix filter save work -t work -p medium --force

# List all saved filters
tix filter list

# Apply saved filter
tix filter apply --saved work

# Apply filter directly without saving
tix filter apply -p high -t urgent

Additional Notes

  • Added usage guidelines in readme regarding same
  • This contribution is a part of Hacktoberfest

@itspavant
Copy link
Contributor Author

Hiiiii @Valentin-v-Todorov

Kindly please review the PR, and let me know if you need any more modifications.

@Valentin-v-Todorov
Copy link
Contributor

@itspavant LGTM !

🥇 Great job implementing the filters feature !! 🥇

There are just a few conflicts , please fix them and we can merge !

@Valentin-v-Todorov Valentin-v-Todorov merged commit 7d10032 into TheDevOpsBlueprint:main Oct 3, 2025
2 of 11 checks passed
@itspavant itspavant deleted the feature/save-search-filter branch October 6, 2025 05:35
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.

Add saved searches/filters

2 participants