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

Finder loader via slug #2305

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Finder loader via slug #2305

wants to merge 2 commits into from

Conversation

minhngocd
Copy link
Contributor

Support tasks for publishing and unpublishing specialist finders were previously done via filename.
However, filename and slug are wildly different in specialist publisher. In order to minimise confusion and ease of support, slug should be used since it is external facing and will likely be used in user queries and visible on the website.

Adding functionality to load by slug, and removing functionality to load by filename

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

Filename and slug are wildly different in specialist document schemas. In order to make running rake tasks and maintanence as easy as we can, it's better to use slug since we can see it directly on the website and user queries.
To make functionality consistent across publishing and unpublishing, and using slug to load the schema for ease of running support tasks, there is no longer a need to load a finder schema by filename.
@beccapearce beccapearce marked this pull request as draft November 29, 2023 09: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.

1 participant