gitpod-samples / Gitpod-Raycast-Extension

Raycast Extension for Gitpod
MIT License
15 stars 6 forks source link

Add Contributor stats widget to Readme #43

Open samad-yar-khan opened 1 year ago

samad-yar-khan commented 1 year ago

Proposed Changes

samad-yar-khan commented 1 year ago

Hey @henit-chobisa @Palanikannan1437 let me know if you guys like the widget or want any changes ๐Ÿค–

Palanikannan1437 commented 1 year ago

Hey @samad-yar-khan, thank you so much for this ๐Ÿงก!

Just wanted to understand a few things...

  1. How does this work (if the frequency of updates can be customized, the flow, etc)?
  2. How many contributors would be shown?
  3. Are there any customisable params?
  4. Is there any way we can redirect to the corresponding contributors profile on clicking on them OR mention their GitHub Handles?
samad-yar-khan commented 1 year ago

Hey @Palanikannan1437

image image

We currently render two themes for contributors and a light theme for maintainer. We can actually set setting for you guys if you need. We are working on a completely dynamic svg generator engine, that will allow us render these kinds of svgs dynamically by passing any query params. We are close on that and looking forward to making it opensource :)

Palanikannan1437 commented 1 year ago

Hey @Palanikannan1437

  • The update frequency is currently set to once every 24hrs. We are looking forward top reducing this sync time if its required.
  • By Default it shows a max of 8 contributors as you can see over here for the one generated for EmbeddedChat image
  • There are customizable params, that we use internally, the number of contributors, the svg theme etc, but they are not yet public. We also have made a maintainer Widget for repo. And have themes as you can see below. ![Uploading image.pngโ€ฆ]()

This is super cool!! Pretty cool UI too ๐Ÿ˜

But how would this workout ๐Ÿ˜…

Is there any way we can redirect to the corresponding contributors profile on clicking on them OR mention their GitHub Handles?

samad-yar-khan commented 1 year ago

@Palanikannan1437 updated, my comment, I think it was saved before I finished it. The usernames in the svg or hover state should reflect in the badge itself, thats what we are planning on V2 of this. Wanted to know what would you guys prefer to have -> usernames or hove states and how strongly do we feel about adding this data. Thanks ๐Ÿ’ฏ