open-sauced / app

🍕 Insights into your entire open source ecosystem.
https://pizza.new
Apache License 2.0
412 stars 221 forks source link

feat: implemented Open Source Contributor Rating for contributor table #3643

Closed nickytonline closed 3 months ago

nickytonline commented 3 months ago

Description

Implements the Open Source Contributor Rating (OSCR) in the contributor table. Note that it is optional to display as it is feature flagged and on some views, the information currently isn't available, e.g. contributors table in the explore pages.

Related Tickets & Documents

Closes #3645

Mobile & Desktop Screenshots/Recordings

Grid View

CleanShot 2024-06-27 at 16 57 13

Card View

image

Small Screen

CleanShot 2024-06-27 at 16 57 49

Logged Out or Without the OSCR Rating Feature Flag Enabled

CleanShot 2024-06-27 at 16 54 51

With the OSCR Rating Feature Flag Enabled

CleanShot 2024-06-27 at 16 46 42

CleanShot 2024-06-27 at 16 45 22

Steps to QA

Logged Out

  1. Go to a public workspace contributor insight page
  2. Notice there is no OSCR Rating in the grid rows or mobile view.

Logged In without OSCR Rating Feature Flag Enabled

  1. Go to any workspace contributor insight page you have access to (public or private)
  2. Notice there is no OSCR Rating in the grid rows or mobile view. The exception is if you're in the contributor table, you'll be able to see your own OSCR.

Logged In with OSCR Rating Feature Flag Enabled

  1. Go to any workspace contributor insight page you have access to (public or private)
  2. Notice the OSCR Rating in the grid rows or mobile view.

Tier (staff will fill in)

[optional] What gif best describes this PR or how it makes you feel?

netlify[bot] commented 3 months ago

Deploy Preview for oss-insights ready!

Name Link
Latest commit 7220ae540d7bfa005bb040dc08c06cd629fff8ad
Latest deploy log https://app.netlify.com/sites/oss-insights/deploys/667dd1833c5be2000863851f
Deploy Preview https://deploy-preview-3643--oss-insights.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 3 months ago

Deploy Preview for design-insights ready!

Name Link
Latest commit 7220ae540d7bfa005bb040dc08c06cd629fff8ad
Latest deploy log https://app.netlify.com/sites/design-insights/deploys/667dd183908d450008af1a83
Deploy Preview https://deploy-preview-3643--design-insights.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

bdougie commented 3 months ago

Drop the %. It's cleaner.

image

nickytonline commented 3 months ago

Drop the %. It's cleaner.

@bdougie, removed it in 1f1cbc0be823a96849773a95ec7f08cbbab167b8

nickytonline commented 3 months ago

I'll be chatting with @isabensusan @bdougie, so will look into the mobile experience for this as discussed in the engineering sync.

nickytonline commented 3 months ago

Made the changes @isabensusan.

CleanShot 2024-06-27 at 16 46 42

CleanShot 2024-06-27 at 16 45 22