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

feat: implemented the Contributions by type of contributor graph for the list activity page #2101

Merged

Conversation

nickytonline
Copy link
Member

@nickytonline nickytonline commented Nov 10, 2023

Description

Created the Contributions by type of contributor for the list activity page. It can be filtered by date range. Note the original graph has been reworked to be an average line chart and not a raw line chart.

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore (Release)
  • ⏩ Revert

Related Tickets & Documents

Closes #1601

Mobile & Desktop Screenshots/Recordings

CleanShot 2023-11-13 at 11 33 32

CleanShot.2023-11-10.at.10.19.21.mp4

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 📓 docs.opensauced.pizza
  • 🍕 dev.to/opensauced
  • 📕 storybook
  • 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

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

Copy link

netlify bot commented Nov 10, 2023

Deploy Preview for design-insights ready!

Name Link
🔨 Latest commit 84b5eab
🔍 Latest deploy log https://app.netlify.com/sites/design-insights/deploys/65524dd954fec500082ab011
😎 Deploy Preview https://deploy-preview-2101--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.

Copy link

netlify bot commented Nov 10, 2023

Deploy Preview for oss-insights ready!

Name Link
🔨 Latest commit 84b5eab
🔍 Latest deploy log https://app.netlify.com/sites/oss-insights/deploys/65524dd9710d2c000888a200
😎 Deploy Preview https://deploy-preview-2101--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.

@nickytonline nickytonline force-pushed the nickytonline/contributions-evolution-by-contributor-type-graph branch from 0f637c3 to 1db0547 Compare November 10, 2023 03:37
@nickytonline nickytonline marked this pull request as ready for review November 10, 2023 15:22
@nickytonline nickytonline force-pushed the nickytonline/contributions-evolution-by-contributor-type-graph branch from 5dea0fd to 1be4593 Compare November 10, 2023 15:30
@nickytonline
Copy link
Member Author

The graphs in some cases look kind of wonky. Discussing this with @jpmcb and @isabensusan.

@nickytonline
Copy link
Member Author

Just investigating the page freezing. Lots of data in the pipe apparently.

You are on the server
Warning: data for page "/lists/[listId]/activity" (path "/lists/8b371419-6219-4448-9de1-f6293a25f98e/activity") is 2.31 MB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data

@nickytonline
Copy link
Member Author

nickytonline commented Nov 10, 2023

Just investigating the page freezing. Lots of data in the pipe apparently.

You are on the server
Warning: data for page "/lists/[listId]/activity" (path "/lists/8b371419-6219-4448-9de1-f6293a25f98e/activity") is 2.31 MB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data

This doesn't appear to be related to my PR. I happened to load a list that has a lot of data (server-side props data for other graphs). I'll create a separate issue for this to maybe load that component's data client-side only. Looks like it's the Treemap component.

Copy link
Member

@jpmcb jpmcb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very solid!!! 👏🏼

@nickytonline
Copy link
Member Author

Just investigating the page freezing. Lots of data in the pipe apparently.

You are on the server
Warning: data for page "/lists/[listId]/activity" (path "/lists/8b371419-6219-4448-9de1-f6293a25f98e/activity") is 2.31 MB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data

This doesn't appear to be related to my PR. I happened to load a list that has a lot of data (server-side props data for other graphs). I'll create a separate issue for this to maybe load that component's data client-side only. Looks like it's the Treemap component.

Looks like in one of my test lists I had added dependabot who happens to contribute to a few repos. 😅 I removed them from my test list and all good now.

@OgDev-01 OgDev-01 added the merge conflicts Needs merge conflict resolved label Nov 13, 2023
Copy link
Contributor

@brandonroberts brandonroberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📈

@nickytonline
Copy link
Member Author

The graphs in some cases look kind of wonky. Discussing this with @jpmcb and @isabensusan.

As we discussed, we'll iterate on this graph as need be, but for now, as agreed shipping this.

@nickytonline nickytonline merged commit 0088c23 into beta Nov 13, 2023
11 checks passed
@nickytonline nickytonline deleted the nickytonline/contributions-evolution-by-contributor-type-graph branch November 13, 2023 16:30
open-sauced bot pushed a commit that referenced this pull request Nov 13, 2023
## [1.76.0-beta.3](v1.76.0-beta.2...v1.76.0-beta.3) (2023-11-13)

### 🍕 Features

* implemented the Contributions by type of contributor graph for the list activity page ([#2101](#2101)) ([0088c23](0088c23))
open-sauced bot pushed a commit that referenced this pull request Nov 16, 2023
## [1.76.0](v1.75.0...v1.76.0) (2023-11-16)

### 🧑‍💻 Code Refactoring

* remove unused components ([f71c662](f71c662))
* Replace hardcoded px value with appropriate tailwind class in Dropdown component  ([#2113](#2113)) ([abf3380](abf3380))

### 🍕 Features

* add ability for user to toggle receiving email product updates ([#2133](#2133)) ([8ba0d6f](8ba0d6f))
* add params handling for new PR ([#2062](#2062)) ([b878429](b878429))
* implemented the Contributions by type of contributor graph for the list activity page ([#2101](#2101)) ([0088c23](0088c23))
* move range filter to global header ([#2047](#2047)) ([1037aef](1037aef))
* replace dashboard scatterplot chart with repositories table ([#2130](#2130)) ([dedb2e4](dedb2e4))
* select component growth enabled ([#1762](#1762)) ([3303054](3303054))
* updating last contributed column for insights table ([#2115](#2115)) ([846fdc4](846fdc4))

### 🐛 Bug Fixes

* add hovercard to most active contributors avatars in list ([#2157](#2157)) ([e02d1db](e02d1db))
* added Edit List button to all list pages ([a6a38f4](a6a38f4))
* added Edit List button to all list pages ([#2125](#2125)) ([284fa4a](284fa4a))
* added orange hearts ([#2139](#2139)) ([2b8b2ed](2b8b2ed))
* change red color to purple in merged pr bar ([#2108](#2108)) ([dc28efc](dc28efc))
* Correct wording for alumni contributors  ([#2114](#2114)) ([2f23896](2f23896))
* fixed styling of delete list modal ([#2106](#2106)) ([d7d7048](d7d7048))
* h1-h6 base style using CSS from .tracking-tight ([#2142](#2142)) ([4ad69a1](4ad69a1))
* hover card now works as expected in all areas ([#2152](#2152)) ([d88f71b](d88f71b))
* insights edit repo list limit ([#2119](#2119)) ([c81e8bb](c81e8bb))
* now main index page handles redirects in middleware ([d7a69fd](d7a69fd))
* now main index page handles redirects in middleware ([#2137](#2137)) ([5b26fb2](5b26fb2))
* pr overviews in repo table now accurate ([#2118](#2118)) ([b562578](b562578))
* Remove the unused components - `CommandEmpty` and `CommandLis`t from the codebase ([#2112](#2112)) ([690738f](690738f))
* remove unnecesarry console logs ([#2151](#2151)) ([8955e02](8955e02))
* removed font-medium classes as the base style for all elements is font-medium ([#2146](#2146)) ([d06a1ca](d06a1ca))
* removed two second timeout for initial page load ([e49b799](e49b799))
* removed two second timeout for initial page load ([#2136](#2136)) ([d44248a](d44248a))
* replace hardcoded px with tailwind class ([6346cb7](6346cb7))
* replace hardcoded px with tailwind class ([6cd93ff](6cd93ff))
* show last 30 days for contribution line graphs ([#2155](#2155)) ([a1fee71](a1fee71))
* styling updates to lists of insights/lists ([947e6a5](947e6a5))
* styling updates to lists of insights/lists ([#2131](#2131)) ([34e7f92](34e7f92))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge conflicts Needs merge conflict resolved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: "Contributions by type of contributor" line chart prototype
4 participants