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

Merge search settings into Site Admin Configurations #177

Open
7 tasks
rhodges opened this issue Oct 21, 2024 · 1 comment
Open
7 tasks

Merge search settings into Site Admin Configurations #177

rhodges opened this issue Oct 21, 2024 · 1 comment
Assignees
Milestone

Comments

@rhodges
Copy link
Member

rhodges commented Oct 21, 2024

Remove 'search settings' table and instead include these fields in the site configuration form:

  • Add new field(s) for search sensitivity to Configuriation.Configuration model
    • Values should be Choice fields with human-understandable options:
      • ('Strict', 1.0),
      • ('9', 0.9),
      • ...
      • ('Default', 0.6),
      • ...
      • ('2', 0.2),
      • ('Permissive', 0.1)
  • Be sure to set the default values (from the default values in settings.py)
  • Update code to use Configuration fields instead of 'search settings' model
  • Create migration for creating the new fields on the model
  • Create data migration to populate new fields from instance of 'site settings' (if exists)
  • Create migration to drop 'site settings' model
@rhodges rhodges added this to the v2.1 milestone Oct 21, 2024
@rhodges
Copy link
Member Author

rhodges commented Oct 21, 2024

If 'data migration' piece is taking too long: skip it -- only two developers have records for this.

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

No branches or pull requests

2 participants