ossinsight icon indicating copy to clipboard operation
ossinsight copied to clipboard

Feature: mini personal center with milestones

Open ChenlingLu opened this issue 3 years ago • 7 comments

For now, users can only watch the collections, repository and developer analysis one by one. Although there is a feature allow them compare any two repositories at the same time. When repositories and collections achieve milestones, users are not immediately notified.

Potential Solution:

Create a mini personal center which gets the minimum login authorization from GitHub. Then users could login with their GitHub account without creating a new account for ossinsight. What can users do with personal center:

- Get personal analytics without searching by GitHub ID - Get notification of repositories and collections when they achieve milestones

Design draft:

截屏2022-10-10 11 43 01 截屏2022-10-24 10 14 50 截屏2022-10-24 10 15 33

ChenlingLu avatar Sep 09 '22 15:09 ChenlingLu

Keep it simple.

sykp241095 avatar Sep 17 '22 01:09 sykp241095

Update the design draft.

ChenlingLu avatar Sep 26 '22 03:09 ChenlingLu

Could you please review this sketch?@Mini256

ChenlingLu avatar Sep 26 '22 03:09 ChenlingLu

image

"this month" refers to which month, is the month of the current milestone or the current month when the user browses, the single repo analysis currently only supports data viewing in the current month when the user browses.

image

Today here will make people misunderstand.

image

What is the criterion for judgment of “Active"?

image

Does it mean that the repository acquired the 20,000th stars at this point in time, or did it acquire 2w stars in a certain time period?

Mini256 avatar Oct 19 '22 16:10 Mini256

image

"this month" refers to which month, is the month of the current milestone or the current month when the user browses, the single repo analysis currently only supports data viewing in the current month when the user browses.

image

Today here will make people misunderstand.

image

What is the criterion for judgment of “Active"?

image

Does it mean that the repository acquired the 20,000th stars at this point in time, or did it acquire 2w stars in a certain time period?

Thank you for re-checking my design.

  1. 'this month' here links to the contributor ranking in repository analyze page. 截屏2022-10-20 00 57 59

  2. 'today' will be replaced by the monthly date, like '2022-10' and the please see design draft here: 截屏2022-10-20 01 00 49

  3. To measure whether a repository is 'active' , you can check whether it has contribution related events (commit, push code, review code, submit issue, etc.) . Note that the watch event needs to be excluded here.

  4. It means this repo has reached 20,000+ stars in that day. 截屏2022-10-20 01 12 24

ChenlingLu avatar Oct 19 '22 17:10 ChenlingLu

@sykp241095 @Mini256 @634750802 @CaitinChen PTAL~

ChenlingLu avatar Oct 24 '22 02:10 ChenlingLu

I suggest that we first implement a separate page that does not require users to log in, the endpoint can be:

https://ossinsight.io/analyze/pingcap/tidb/milestones

Mini256 avatar Oct 26 '22 03:10 Mini256