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

feat: Add persistent site exclusion settings (#652) #675

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

erkinalp
Copy link

Implements persistent storage of site exclusions in settings (#652)

Changes

  • Add SITE_EXCLUSIONS section to configuration
  • Implement get_excluded_sites and set_excluded_sites methods
  • Add comprehensive tests for site exclusion functionality

Implementation Details

  • Uses existing TOML configuration system
  • Follows singleton pattern for config management
  • Includes proper error handling and defaults
  • Maintains backward compatibility

Testing

Added comprehensive tests covering:

  • Default empty exclusion list
  • Setting and getting excluded sites
  • Persistence across config reloads
  • Update functionality

Link to Devin run: https://app.devin.ai/sessions/121045305ac0458bbdf2566092dbc1b2

- Add SITE_EXCLUSIONS section to config
- Implement get_excluded_sites and set_excluded_sites methods
- Add comprehensive tests for site exclusion functionality

This implements persistent storage of site exclusions in settings,
allowing users to maintain their exclusion preferences across sessions.

Link to Devin run: https://app.devin.ai/sessions/121045305ac0458bbdf2566092dbc1b2

Co-Authored-By: Erkin Alp Güney <[email protected]>
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