Giter Club home page Giter Club logo

creativecommons-certificate's People

Contributors

cc-creativecommons-github-io-bot avatar dependabot[bot] avatar hugosolar avatar kgodey avatar possumbilities avatar syeda-mal avatar timidrobot avatar zackkrida avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

creativecommons-certificate's Issues

Incorrect text styles in TOC navigation component

Description

Page: FAQ
The TOC component on the left side thas the following problems:

  1. The green color is incorrect. It should be $color-forest-green.
  2. All links should have the same font-weight.
  3. The active link should have $color-dark-slate-gray.

Screenshots

Screen Shot 2020-11-26 at 16 31 08

Horizontal scroll

Description

Page: Home
Resolution: Mobile
The page has an horizontal scroll.

Screenshots

horizontal scroll

[meta] Initial Release

[ticket work and notes cleanup required]

Live Site: https://certificates.creativecommons.org/

The certificates site is a WordPress Multisite installation, comprised of one main site and several sites in the form of books, powered by pressbooks. For this project the book sites should remain the same as much as possible, using the currently active theme, styles, and settings. The only changes made should be to update dependencies.

The following sections are notes on styling and functionality, scoped to the relevant page section.

Site

notes

  • Here's the Figma mockups
  • Currently installed plugin list:
    • Akismet Anti-Spam
    • Jetpack by WordPress.com
    • Breadcrumb NavXT
    • ManageWP - Worker
    • VaultPress
    • WordPress Importer
    • WP Super Cache
    • Pressbooks
    • mPDF for Pressbooks
    • Candela Citation
    • Candela LTI
    • LTI
    • Candela Thin Exports
    • Candela Utility
    • Hypothesis
    • The Events Calendar

todos

  • Highlight active parent-level menu items
  • Reduced font sizes for mobile
  • Add "Back to Top" link on mobile

Pressbooks plugin: https://github.com/pressbooks/pressbooks

notes

todos

  • Need to test compatilibity with PHP 7.4.11

  • homepage

    • upcoming course can not contain bootcamp
  • news from the blog

    • summit widget exists for this (pulling a post from .org via wp api)
    • manual
    • one post from each category on the .org site
    • education-oer
    • no openglam category
      • we do have a glam tag
    • no open access category
  • conversations in the community

    • 3 manual tweet embeds
  • Resources page

  • Graduates

  • course template

    • only show open
  • Alumni

    • alumni button in header prompts login + redirects to login page

      • alumni button turns into user info dropdown logout / edit / ect.
    • dynamic alumni count in header

    • bbpress embed

    • members

      • members list

      • search by name

      • member single view

        • 3 fields (name, course, year)

Prelaunch To Dos

Hi all,

Here's everything the site needs prior to launching. I did some QC today. This includes content and code. I was really hoping to have most of these things done before my wife went into labor, but it was a race against the clock and I lost.

I certainly think it's possible to launch the site before end-of-year, if prioritized, but it's also likely that I'll be finishing this work in early January.

Content Considerations

  • Alumni memberships/import
    • How will alumni be added? Do we have a database/listing of existing alumni? Yes, they'll be imported.
    • Will we add batches of alumni to the site when they 'graduate' the program, or offer a registration page where they can sign up on their own? Manually add batches for now
  • Forum
    • We are using bbPress for forums. We can either have 1 forum, or multiple. The original design allows for one, so I just want to confirm that's the desired behavior. A single central feed to which users can post topics. 1 forum
    • The original design is missing some pages we need, so those pages are currently using default styles:
      • "full view" of a single forum post
      • user edit view
      • We compromised here and added some styles to the forum that meet in the middle.

Code considerations

  • There are two branches needing to be merged:
    • alumni (for alumni functionality): #30
    • style-revisions: for Francisco's design feedback
  • After merge we need to tag a release and deploy, or manually upload a .zip of the theme (we would have to temporarily enable upload permissions by editing the wp-config manually via ssh)
  • After merge ACF fields need to be synced here: https://tempcert.creativecommons.org/wp/wp-admin/edit.php?post_type=acf-field-group (you will see the word "sync" next to "all" and "active")
  • The alumni section requires a few pages to be created and their page templates set on the global 'options' page:

2020-12-08-75

Each of these pages has a clearly-named associated page template. - The style tickets _not_ listed in the `style-revisions` PR still need to be made.

https://tempcert.creativecommons.org/wp/wp-admin/admin.php?page=acf-options

Incorrect styles in card for course type

Description

Page: Home
The card that indicates the course type has two problems:

  1. Padding is incorrect. It should be 56px for top and 48px for left and right sides.
  2. The see course link has a different font-size. It should be body-normal (16px).

Screenshots

Screen Shot 2020-11-26 at 15 28 27

Text style and icon in accordion item

Description

Page: Home
Two visual improvements:

  1. The answer displayed in the accordion item looks too similar to the question. That's because of the styles of both texts. My suggestion is to apply a bold style for question text.
  2. The arrow aligns on the right should be 20px size (1.25rem).
  3. The same icon does not rotate when opening the question to see the answer. It should rotate in 180ΒΊ to indicate the box expanded.

Screenshot

Screen Shot 2020-11-26 at 15 34 08

Styles in the post card

Description

Within the post card, the following styles are incorrect:

  1. The hover style of title field shows a color change. It should be the same color plus the current underline.
  2. The styles for post author and date published should have the small-caption style.
  3. The circle that divides post author and date published should have a margin of 8px for left and right.

Screenshots

Screen Shot 2020-11-26 at 15 49 30

Text styles, spacings and icon in FAQ section

Description

Page: Home
Resolution: Mobile
The FAQ section has the following issues:

  1. Spacing between section title and between questions does not follow the mockup.
  2. Text style in question should be caption.
  3. The question paragraph has a left and right padding that should not be.
  4. The icon size of second question is bigger than the remaining ones.

Screenshots

Screen Shot 2020-11-27 at 10 52 25

Incorrect style in link cards

Description

Page: Course content
The link cards on the right side of the page have the following problems:

  1. Green color is incorrect. It should be $color-forest-green.
  2. The hover style should have no underline, just a background color change from $color-forest-green to $color-brighter-forest-green.

Screenshots

Screen Shot 2020-11-26 at 16 25 20

Color style of default link

Description

On home page, I'm seeing the default color for links ($color-forest-green) in different green versions. During hover, the color changes to a color that is not the $color-brighter-forest-green

Expectation

All green colors should be the same. While hover state should use the $color-brighter-forest-green one.

Screenshot

Screen Shot 2020-11-26 at 15 19 24

Breadcrumb style in course page

Problem

The breadcrumb designed has a gray color for the current page field. However, it has contrast problems and it's difficult to recognize it as text.

Description

Use white color for the current page field.

Screenshot

Screen Shot 2020-11-26 at 16 02 00

style of answers displayed in the FAQ page

Description

Page: FAQ
The text styles of answers have the following issues:

  1. The style of questions should be Heading 3B.
  2. Question paragraph should not be a link. Therefore, not having the link states.
  3. Text style of answers should be body big.

Screenshots

Screen Shot 2020-11-26 at 16 32 21

Text style in course card

Description

Page: Home
Resolution: Mobile
In the course card, the descriptive and link texts have different styles. It should be caption style.

Screenshots

Screen Shot 2020-11-27 at 09 41 01

Text styles in breadcrumb

Description

The breadcrumb has incorrect styles for parent pages (as links) and current page (as text). Both have different font-weight.

Screenshots

Screen Shot 2020-11-26 at 16 17 33

Padding top in second section

Description

Page: Home
The padding-top in second section, where FAQ section begins, should use the padding-top-bigger style instead of padding-top-big. This spacing will match the 64px of distance when adding the padding of above section.

Screenshots

Screen Shot 2020-11-26 at 15 55 25

Spacing between links

Description

Page: Home
Resolution: Mobile
The distance between the two links should be 24px.

Screenshots

Screen Shot 2020-11-27 at 11 06 48

Incorrect text styles in Overview page

Description

Page: Overview
The following states are incorrect:

  1. The "Creative Commons Certificate" title should have the Heading 2A style.
  2. The stats' name should have the Heading 5A style. With more line-height.
  3. The stat's value should have the value style.

Screenshots

Screen Shot 2020-11-26 at 17 11 59

Testing Notes

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: creativecommons/vocabulary#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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.