Modify workshop archive ordering
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 333
- Forks
- 127
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 11
Description
As per this comment: https://github.com/WordPress/learn/issues/252#issuecomment-952415901
The workshop archive ordering needs to be modified in the following ways:
- Workshops that are tagged with the current version of WordPress in the
wporg_wp_versiontaxonomy show up first but are randomised within that. The current version of WordPress can be obtained through the WordPress.org API. - Workshops with the
Facultytag in thewporg_workshop_typetaxonomy show up next in random order. - Workshops with the
Communitytag in thewporg_workshop_typetaxonomy show up next in random order.
Randomisation needs to be consistent when using pagination.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked comment and the workshop archive implementation, then trace how the WordPress.org API provides the current WordPress version and how the wporg_wp_version and wporg_workshop_type taxonomies are queried. Done means the three ordering groups are randomised as specified, with consistent ordering across pagination.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100