creativecommons / creativecommons-certificate

WordPress theme for the CC Certificate Website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testing Notes

zackkrida opened this issue · comments

commented

The theme is ready to test. Here are some notes about, well, everything!

https://tempcert.creativecommons.org/
(same login credentials for everyone as live certificate site)

Remaining TODOs

  • [1hr] Fix new header styling issues (ticket here: https://github.com/creativecommons/vocabulary/issues/805)
  • Push Alumni section PR
    • [30min] Finish responsive styles for Alumni pages
    • [1hr] Finish custom BB press styles
  • [45min] Add black attribution bar to course featured images + scholarship recipients
  • [30min] Fix course responsive styles (I think I lost a commit)
  • [?] Debug Candela issue on staging server (PHP critical error when activating Candela Utilities plugin), seems to be related to symlinks/paths

Notes

Pressbooks Issues

Other Plugin Issues

  • LTI functionality has been preserved. I'm not sure if it actually works or is being used!
  • The Candela Attributions and Candela Utilities plugins are kept, but I can't tell if they are being used or not. These plugins are deprecated and difficult to install with git+composer. If we can remove or ignore them, we should.
    • I tried to test several book pages but couldn't actually find any with attributions.
  • Breadcrumb NavXT is removed in favor of Yoast SEOs breadcrumbs. The breadcrumbs on this site are simple enough where we don't need a more complex implementation, and

Content questions

  • There was no archive page for courses mocked up. How do we want to handle that?
  • The Registration link(s) is a global setting on the options page but can also be overwritten per-course if necessary. Does this sound like good behavior?

General

  • Code was formatted with phpcbf --standard=WordPress . --ignore=vendor --extensions=php 0. If there's a better approach please let me know; I've always struggled to find good PHP linters and formatters where I was happy with the output.
  • Because this theme was unable to use Gutenberg blocks and, while relatively simple, has a lot of custom templates, I decided to use Advanced Custom Fields Pro to register metaboxes on page templates, as opposed to our usual combination of Queulat and widgets. I think this provides a really great experience for content editors, and reduces the amount of boilerplate code we have to write to register metaboxes with rich, complicated functionality. If there's a critical reason we do not want to go this direction, we can switch back to Queulat with some work. The templates wouldn't need to change much but we'd need to write all the Queulat code to register metaboxes.

Wonderful. I will start now reviewing the site. Regarding your content questions:

  1. There are three types of courses, and my understanding is that the only archive is past dates. Therefore, the only archive should be the calendar page.
  2. I strongly agree with you. That will depend on the software feasibility we are using for recording applications.

In both cases, let's double-check this Monday during the presentation meeting with Jennryn.

commented

Closing as this PR contained notes, not actual actionable issues.