Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cwiccer shortcode to display a row of PageSpeed Insights scores #1

Open
2 of 3 tasks
bobbingwide opened this issue Feb 14, 2022 · 1 comment
Open
2 of 3 tasks
Assignees
Labels
enhancement New feature or request

Comments

@bobbingwide
Copy link
Owner

bobbingwide commented Feb 14, 2022

Requirement

  • a nice way to display Performance Scores from PageSpeed Insights
  • Display one or more in a row
  • Use the same CSS as Lighthouse v9.3.1

Proposed solution

  • Implement a [cwiccer] shortcode.
  • Default to displaying the figures for the cwiccer logo.
  • Allow multiple parameters for score and value to display.

See https://github.com/bobbingwide/bw/issues/21

@bobbingwide bobbingwide self-assigned this Feb 14, 2022
@bobbingwide bobbingwide added the enhancement New feature or request label Feb 14, 2022
bobbingwide added a commit that referenced this issue Feb 14, 2022
bobbingwide added a commit that referenced this issue Feb 14, 2022
bobbingwide added a commit that referenced this issue Feb 14, 2022
bobbingwide added a commit that referenced this issue Feb 14, 2022
@bobbingwide
Copy link
Owner Author

cwiccer v0.0.0 is now on cwiccer.com.
I didn't however expose the logic to display different strings for a score to the shortcode.

If you type [cwiccer c,w,i,c,c,e,r] the results you get are different from [cwiccer]

It would make sense to support [cwiccer 35:c,46:w,57:i,68:c,79:c,90:e,100:r] as the mechanism for specifying score:string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant