Closed 4tsakabe closed 10 months ago
お忙しいところ恐縮ですが,お時間あるときにコードレビューよろしくお願いします! また,デザイン含めて少し悩んで実装した部分があるので,良い実装があればそのように実装するのでコメントお願いします!
@kenkoooo お忙しいとは思いますが、確認よろしくお願いします
ありがとうございます!時間が取れ次第必ずレビューするので、しばしお待ちを…
@kenkoooo こちらrevertの検討って難しいでしょうか?
理由
リバートします!
該当するIssue
https://github.com/kenkoooo/AtCoderProblems/issues/1312 Can we have an option to limit the different pie chart pages to just the English problems? Right now if you don't speak japanese it is impossible to get to 100% on the pie charts :(
初期のAtCoderの問題文は英訳されていないため、日本語が読めない場合にsolvedを100%にできない。 英語の問題文がある問題だけの達成度を切り替えて表示することはできないか。
実装方針
UserPageにある3つのPie Chartのタブについて,それぞれ変更を行う. 全てのコンテストとRatedコンテストの表示を切り替えられるボタンを追加し,isRatedContest()を用いて数えるコンテストを変更する.
スクリーンショット
AtCoder Pie Chartsタブ (Only Rated Contests)
![AtCoder_onlyRated](https://user-images.githubusercontent.com/61626658/221372206-3a1d6251-8616-401e-9891-ae957bd01593.png)AtCoder Pie Chartsタブ (All Contests)
![AtCoder_all](https://user-images.githubusercontent.com/61626658/221372225-f81d5e73-feeb-45f6-8386-357392c6e380.png)Diffculty Piesタブ (Only Rated Contests)
![Diff_onlyRated](https://user-images.githubusercontent.com/61626658/221372348-0b404b05-9305-4e6b-9194-b08cc4ea7709.png)Diffculty Piesタブ (All Contests)
![Diff_all](https://user-images.githubusercontent.com/61626658/221372342-1452b999-7969-4269-9fec-de926a0a76db.png)Category Piesタブ (Only Rated Contests)
![Category_onlyRated](https://user-images.githubusercontent.com/61626658/221372394-8a61b199-ccbf-4a53-83c3-d7e89fb43f93.png)Category Piesタブ (All Contests)
![Category_all](https://user-images.githubusercontent.com/61626658/221372390-a599bcfb-287a-4e75-a614-0418eef5c0f1.png)相談したいこと
Category PiesタブでonlyRatedContestsにするとアルゴ以外が0になってしまうので見栄えが悪い
AtCoder Pie Chartsタブでコンテストごとにボタンを置くのが見栄え悪い