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
GithubのContributionが表示されないバグを修正した #6745
base: main
Are you sure you want to change the base?
Conversation
a8b62fe
to
bcea4cb
Compare
d4f42c0
to
32accf1
Compare
お疲れ様です! |
@yuma-matsui |
ありがとうございます! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@name = name | ||
end | ||
|
||
def generate_table |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
関数名がgenerate_table
だと、サーバー側でHTML形式のテーブルやReactコンポーネントを作成したと勘違いしそうです。
generate_table_data
(一例です)など他の命名にした方が良いと思いました。
@yuma-matsui いくつかコメントしましたので、確認をよろしくお願いします🙇♂️ |
ありがとうございます! |
@yuma-matsui こちらいかがでしょうか? |
@komagata |
@yuma-matsui かしこまりました。 |
Issue
概要
トップページに表示されているGithub Contribution(草)が表示されなくなってしまったのでこれを修正。
バグの原因はデータ取得元(Github)の仕様が代わり、Contribution情報の取得ができなくなってしまったため。
変更確認方法
hotfix/fix-github-grass
をローカルに取り込むbin/setup
bin/rails s
http://localhost:3000
に遷移http://localhost:3000/users/459775584
に遷移Screenshot
変更前
変更後
hatsuno(一般ユーザー)
komagata(管理者)
補足