85 Commits

Author SHA1 Message Date
Omid Nikrah
06f0021660
chore: Hide star and fork stats in repo card if count of equals to zero (#97)
* add show_icons option to show/hide star and fork icon in repo cards

* resolve conflict

* resolve conflict

* hide star and fork stats in repo card if count of equals to zero

* HOTFIX

* HOTFIX
2020-07-18 22:20:04 +05:30
anuraghazra
b6aa462881 design: make badge look good on different colors 2020-07-18 20:28:01 +05:30
anuraghazra
be79fe4051 feat: show archive badge if repo is archive 2020-07-18 20:20:36 +05:30
Anurag Hazra
b039fa16af
Merge pull request #86 from edisonlee55/master
fix: fixed CSS scale() on WebKit causing rendering issues

So I have used the solution provided here (Reference):
CSS transform on SVG text element not working in Safari - Stack Overflow - https://stackoverflow.com/a/61398694/4333875

They have encountered issue with `transform: translate()` and filed a bug report, but `transform: scale()` is also having issue on our side.

Also, the minimum reproducible example is [here](https://stackoverflow.com/questions/62964270/css-scale-animation-in-svg-text-tag-not-working-on-safari) on Stack Overflow.
(the word `Test` won't show up **on Safari**)
2020-07-18 18:06:57 +05:30
Edison Lee
61442cb359
fix: fixed CSS scale() issue on WebKit by wrap up text in g tag 2020-07-18 10:37:34 +08:00
Anurag Hazra
2709d5b434
feat: added hide_title option (#88) 2020-07-17 23:01:16 +05:30
anuraghazra
1c0332352a fix: filter out private repos
filtering out private repos just in case, otherwise if a user somehow
found out the name of any of the PAT owner's private -
(considering they created the PAT with private repo access) repos's name
then they could see the repo in github extra pins.
2020-07-17 12:39:19 +05:30
omrilotan
9e4d83247e
feat: display username in repo card (optional) (#78)
* Display username in repo card (optional)

* fix: show_owner boolean flag & used nameWithOwner from gql api
2020-07-16 18:03:33 +05:30
Rico
6d4fbfecfb
perf: align icons and text vertical (#33)
* improve: improved rating algorithm wip

* Fixed typos, punctuation [...]

Corrected many instances of "Github" to "GitHub", fixed the punctuation on some sections, fixed the ~lack of~ uppercase chars in others, tweaked the grammar a bit, and added the Vercel guide to a spoiler-ish section so it's only visible if you click to expand.

<3

* fix: github rate limiter with multiple PATs

* perf: vertically align text left

* refactor: refactored retryer logic & handled invalid tokens

* chore: remove redundant codes

`axios` is Promise based, there is no need to wrap it into a Promise constructor again

* fix: query param booleans

* design: fixed rank alignment

* chore: rebase from master

* fix: fixed repo card breaking in absence of primaryLanguage

* fix: fixed stars count #39 & fixed progressbar percentage

* perf: replace emoji icons with GitHub SVG icons

* chore: added funding link

* refactor: refacted icons to another file

* test: added test for icons

Co-authored-by: anuraghazra <hazru.anurag@gmail.com>
Co-authored-by: Micael Jarniac <micael@jarniac.com>
Co-authored-by: JounQin <admin@1stg.me>
2020-07-16 15:51:21 +05:30
Anurag Hazra
817f736b4e
Merge pull request #61 from JounQin/patch-1
chore: remove redundant codes
2020-07-15 20:37:42 +05:30
anuraghazra
96d37c706f fix: fixed stars count #39 & fixed progressbar percentage 2020-07-15 20:00:22 +05:30
anuraghazra
3a24ad62b1 Merge branch 'master' into ranking-algo 2020-07-15 19:47:07 +05:30
anuraghazra
20bddc3a0c fix: fixed repo card breaking in absence of primaryLanguage 2020-07-15 19:37:04 +05:30
JounQin
95f1233ab9
chore: rebase from master 2020-07-15 21:55:04 +08:00
JounQin
1a53fb9a84
Merge branch 'master' into patch-1 2020-07-15 21:41:48 +08:00
anuraghazra
89bb8fea42 design: fixed rank alignment 2020-07-15 18:59:38 +05:30
anuraghazra
5fce46d67c fix: query param booleans 2020-07-15 18:32:16 +05:30
JounQin
579ed2bab8
chore: remove redundant codes
`axios` is Promise based, there is no need to wrap it into a Promise constructor again
2020-07-15 20:22:06 +08:00
anuraghazra
429d65a52b refactor: refactored retryer logic & handled invalid tokens 2020-07-15 17:46:31 +05:30
anuraghazra
3d8dea90e2 fix: github rate limiter with multiple PATs 2020-07-15 14:59:25 +05:30
anuraghazra
6059cb1691 feat: added animations! 2020-07-14 20:04:36 +05:30
anuraghazra
2658a8737d improve: improved rating algorithm wip 2020-07-14 14:08:57 +05:30
anuraghazra
6f79b495a6 design: added a rim to circle rank's progress 2020-07-14 13:02:45 +05:30
Anurag Hazra
014f710e12
fix: firefox layout breaking (#45)
* fix: firefox layout breaking

* refactor: refactored code and added comments

* chore: remove useragent dep
2020-07-13 23:47:04 +05:30
anuraghazra
db49ca7b71 feat: added rankings 2020-07-13 19:41:47 +05:30
anuraghazra
d56ef0d091 fix: fallback to login if name not found 2020-07-13 16:14:13 +05:30
anuraghazra
8e0fa7fbec fix: fixed total stars count stat 2020-07-12 21:51:56 +05:30
Anurag Hazra
3e9ce48777
Merge pull request #29 from omidnikrah/master
refactor: added request helper function to reduce code duplication
2020-07-12 14:37:20 +05:30
anuraghazra
9a87dc02a2 chore: fallback to white color 2020-07-12 13:54:43 +05:30
Omid Nikrah
7a7ad717a8 resolve conflicts 2020-07-12 12:52:40 +04:30
Omid Nikrah
208076e7f4 update request util 2020-07-12 12:12:06 +04:30
anuraghazra
9af56df2c1 feat: added bg_color options, added RepoCard color options too 2020-07-12 12:46:08 +05:30
Omid Nikrah
001062db21 add request utils + remove duplicate codes 2020-07-12 00:45:58 +04:30
JoaoVSouto
59b8bded9c feat: receives text, title and icon colors from URL 2020-07-11 16:01:44 -03:00
anuraghazra
45941f6c70 test: added test & refactored files 2020-07-11 22:10:13 +05:30