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

Configurable domain ranking sets #73

Merged
merged 7 commits into from Jan 17, 2024
Merged

Conversation

vlofgren
Copy link
Contributor

Make domain ranking sets configurable in the control GUI. The previous workflow required editing byzantine yaml files, and navigating hard-coded set names.

This change adds a data model for ranking set configurations, the index, which needs to use the new data model,
and the control GUI which needs a basic CRUD workflow for configuring the data.

This will free the core marginalia search engine to use arbitrary search set definitions, while the app can use its hardcoded defaults.
Still missing is some polish, forms don't have proper labels, validation is inconsistent, no error messages, etc.
The change also adds basic support for error messages in the GUI.
In some scenarios, such as when restoring storage items from json-manifest on db failure, the file storage view would present the items in a non-chronological order.  Added a sort() operation to mitigate this.
@vlofgren vlofgren marked this pull request as ready for review January 17, 2024 20:12
@vlofgren vlofgren changed the title (WIP) Configurable domain ranking sets Configurable domain ranking sets Jan 17, 2024
@vlofgren vlofgren merged commit ca80957 into master Jan 17, 2024
@vlofgren vlofgren deleted the configurable-search-sets branch January 17, 2024 20:12
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.

None yet

1 participant