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

今年よく使ったオカズのランキングを年間統計ページに追加 #805

Merged
merged 4 commits into from
Dec 31, 2021

Conversation

shibafu528
Copy link
Member

今年よく使ったオカズを振り返る枠を年間統計ページに追加します。
2回以上使っているオカズを10位まで並べます。

年末企画として直接本番に上げたいです。(なので、master宛)

Screenshot

スクリーンショット 2021-12-30 17 31 34

@codecov
Copy link

codecov bot commented Dec 30, 2021

Codecov Report

Merging #805 (7bd92f7) into master (c5f15ba) will decrease coverage by 0.13%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #805      +/-   ##
============================================
- Coverage     37.60%   37.47%   -0.14%     
- Complexity      787      791       +4     
============================================
  Files            94       94              
  Lines          2593     2602       +9     
============================================
  Hits            975      975              
- Misses         1618     1627       +9     
Impacted Files Coverage Δ
app/Http/Controllers/UserController.php 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c5f15ba...7bd92f7. Read the comment docs.

$dateSince = Carbon::minValue();
}
if ($dateUntil === null) {
$dateUntil = now()->addMonth()->startOfMonth();
Copy link
Member

Choose a reason for hiding this comment

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

機能としては実害はないはずなんだけど Carbon\Carbon::setTestNow('2022-01-30') みたいなケースでガバそう

Copy link
Member Author

Choose a reason for hiding this comment

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

確かに…

これちょっと上の関数とかも同じ感じになってて、あまりよくないですね…

Copy link
Member

@eai04191 eai04191 left a comment

Choose a reason for hiding this comment

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

同じオカズでチェックインボタンほしいほしくない?

@shibafu528
Copy link
Member Author

@eai04191 追加しました〜

スクリーンショット 2021-12-31 11 26 55

Copy link
Member

@eai04191 eai04191 left a comment

Choose a reason for hiding this comment

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

後出しで申し訳ないですが、他の項目がタイトル(h5)の直下にコンテンツがあるのに対してこの項目はタイトルの下に説明文(p)があるので、my-4だとh5とpが空きすぎているように見えます。
image

pの下に-4開けてh5とp間を-2くらい開けるといい具合になると思います
image

(本当はlist-group-itemの先頭のpt-3も詰めたいがそんな時間はなさそう)

👇は死にやしないのでこのままでもいいねのapproveです

@shibafu528
Copy link
Member Author

@eai04191 やりました

スクリーンショット 2021-12-31 15 32 46

@shibafu528 shibafu528 merged commit b59166b into master Dec 31, 2021
@shibafu528 shibafu528 deleted the most-freq-used-okazu branch December 31, 2021 08:06
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.

3 participants