breatheco-de / breatheco-de

https://breatheco-de.vercel.app
1.17k stars 2.44k forks source link

During the registry cleanup process we should also clean its technologies #4021

Open alesanchezr opened 1 year ago

alesanchezr commented 1 year ago

When a new article is updated, we should trigger a cleanup of the technologies. This cleanup will check if the technologies being used by the article are parent technologies. If the technologies being used are not parents we should replaced them in the article with their respective parent. This cleanup should happen in an asynchronous task.

Why is this important?

For instance, because child technologies should not have their own landing pages, for example:

coding-standard-guidelines is a parent technologies and this is its landing page: https://4geeks.com/lessons/technology/coding-standard-guidelines

coding-standards its a child, but it has its own landing page here: https://4geeks.com/lessons/technology/coding-standards

If we implement this fix, the landing page for coding-standards will disappear and the articles inside coding-standards will automatically show up on coding-standard-guidelines.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.