Automattic / Automattic/jetpack
VideoPress: add logic to migrate metadata fields used on filtering
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
We recently added new filters for the videos based on some metadata fields #26777. We also started to save this new metadata fields when a change is made on a given video #26769.
Now we need to migrate/create this new fields for all the VideoPress existing videos on a given site, so the filtering for existing videos work as expected.
Some ideas:
* Do this as a background process the first time the VideoPress dashboard is connected
* Let the user know in the UI that there is some migration to be done and ask for an action on it
Contributor guide
Research direction
Start by reviewing the changes described in issues #26777 and #26769, then trace the VideoPress dashboard connection and existing-video metadata handling. Define whether the migration is triggered in the background or from the UI, and consider the work done when all existing videos have the new fields and filtering works for them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100