Open terichadbourne opened 3 years ago
The bulk of the work is done in feat/course-pages
. Still to do:
The MVP will be merged today via #580.
Remaining suggestions for improvement to tackle after the holiday break:
@zebateira see the last bullet point above (not urgent) - once I used marked to include links in course descriptions I wasn't able to test them properly in Cypress and had to change to less specific tests. Do you know of a way for us to do that successfully?
@terichadbourne it just came to mind that we could test it against snapshots, but with a con: if the content changes, the tests will fail and the snapshots will need updating.
Breaking this off of #527 into its own issue.
We need to create dedicated pages for courses, e.g. /courses/filecoin with dedicated text blocks/descriptions, which will be able to have dedicated social cards and other data to improve ranking in search engines. (See here how this is not possible with our current filter system on the tutorials page.)
These will be used mostly as landing pages from web searches. They need a way for people to easily get out to the full tutorial listings but don't need the filtering system available in the full list. They'll have customized text blocks describing the content with words likely to end up in web searches, but the bottom portion of the page that pulls in tutorial cards will look identical to filtered tutorial listings.
I've requested custom social cards for course pages in the design repo: https://github.com/protocol/design-shop/issues/441
I'll be taking the first stab at this using the dynamic implementation suggested by @zebateira in #527: