issues
search
PRX
/
theworld.org
React/Next.js frontend for theworld.org
https://theworld.org
Mozilla Public License 2.0
1
stars
0
forks
source link
419: WP GraphQL Call To Action Data
#422
Closed
rpeterman-gp
closed
10 months ago
rpeterman-gp
commented
10 months ago
Closes #419
fetch CTA data with WP GraphQL API
fix styling of banner and load-under CTA messages
move bio segments list pagination into sidebar list component for performance and reusability
update categories subcategory list to use paginated sidebar list
add search to sidebar list component
To Review
[x] Checkout and update lando
main
branch.
[x] Import latest backup of live WP env into lando.
[x] Add one of each type of Call To Action to Site CTA Regions. Include the Planet Hip Hop playlist CTA.
[x] Checkout Branch.
[x] Run
yarn
.
[x] Run
yarn dev:start
.
[x] Go to
localhost:3000
.
...then...
[ ] Ensure all CTA Regions show the expected Call To Action.
[ ] Dismiss the banner CTA.
[x] Go to
http://localhost:3000/categories/arts-culture-media/music/planet-hip-hop
[x] Ensure Banner and Load-under regions update to the targeted CTA.
[x] Ensure playlist CTA is shown in the expected inline region.
[x] Dismiss banner CTA and refresh page.
[x] Ensure next expected CTA is shown. If the banner and load-under were the same CTA, the load under CTA should have changes as well.
[x] Repeat dismiss and refresh steps, and ensure each type of CTA's styles look good.
[ ] Browse around stories, episodes, programs, etc. Ensure CTA are shown as expected.
[x] Go to
http://localhost:3000/categories/conflict-justice
[x] Test pagination and search of the Subcategories sidebar list.
[x] Go to
http://localhost:3000/contributors/daniel-ofman
[x] Test pagination and search of the segments sidebar list.
Closes #419
To Review
main
branch.yarn
.yarn dev:start
.