Skip to content

Generate URL paths for pre-existing records #14

Description

@boazpoolman

Feature request

Summary

RN when you have allready created records in Strapi for your website pages before installing this plugin you will have to manually save them one-by-one for the URL paths to be correctly generated.

Why is it needed?

Because it is a pain to manually save all the records.

Suggested solution(s)

I want to have a way for you to bulk generate the URL paths. This must be an asynchonous method that runs in the background as it could take a while for it to complete when you have a website with say 100k+ pages.

My suggestion would be to solve this by queueing. When a bulk generation is requested we will create a new queue and add jobs to it which will run portions of the task. When we've added the queue and started processing it we can let the user know that the process has started. We can track the progress of the queue and present that to the user so that he knows that something is happening.

Related issue(s)/PR(s)

As of writing this issue I've setup a queueing system in this PR. With this queueing system we can implement the solution I suggested above.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions