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

メインページに終了後・開催中・予定されたコンテストおよびユーザーのランキングの表示をした #261

Merged
merged 5 commits into from
Dec 8, 2021

Conversation

stmtk1
Copy link
Contributor

@stmtk1 stmtk1 commented Dec 6, 2021

終了後・開催中・予定されたコンテストのAPIをそれぞれ作り、それをフロントの方で表示しました。
また、ユーザーのランキングも表示しました

マージ後のイメージ

スクリーンショット 2021-12-06 15-02-50
スクリーンショット 2021-12-06 15-03-03

@stmtk1 stmtk1 requested a review from ShopOne as a code owner December 6, 2021 06:05
@stmtk1
Copy link
Contributor Author

stmtk1 commented Dec 6, 2021

新しく開始時間と終了時間を指定してコンテストの一覧を取得するAPIを作ることでこの3つのAPIは共通化できるのでしたほうがいいかもしれません。もしそうなら修正いたします

Copy link
Owner

@ShopOne ShopOne left a comment

Choose a reason for hiding this comment

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

ありがとうございます、おそらく動作に問題はないです。
一か所ちょっとどうでも良いような所ですが、気になった場所があったので質問事項があります。
よろしくお願いします。

@ShopOne
Copy link
Owner

ShopOne commented Dec 7, 2021

APIの修正はいったんいいかなと思います 共通化するよりは、3つの関数の上位関数(呼び方がわからない)を作る方針にしたいと思います。

@stmtk1
Copy link
Contributor Author

stmtk1 commented Dec 7, 2021

LatestContestsInfoという型名は適切でないと感じたため、ContestInfoListに変更しました。

Copy link
Owner

@ShopOne ShopOne left a comment

Choose a reason for hiding this comment

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

ありがとうございます、OKです!

@ShopOne ShopOne merged commit d4fdab5 into ShopOne:master Dec 8, 2021
@stmtk1 stmtk1 deleted the refreshMainPage branch January 2, 2022 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants