sarii0213 / karoyaka

0 stars 0 forks source link

実績ページの表示内容を作成 #64

Closed sarii0213 closed 1 year ago

sarii0213 commented 1 year ago

概要

issue: #63

UI の変更

実績ページ(1/2)

achievement_1

実績ページ(2/2)

achievement_2

備考

sarii0213 commented 1 year ago

bundle exec rubocop実行結果

app/controllers/achievements_controller.rb:2:3: C: Metrics/AbcSize: Assignment Branch Condition size for show is too high. [<6, 30, 0> 30.59/17] (http://c2.com/cgi/wiki?AbcMetric, https://en.wikipedia.org/wiki/ABC_Software_Metric)
  def show ...
  ^^^^^^^^

bundle exec erblint実行結果

Lint/UselessAssignment: Useless assignment to variable - `column_num`. (https://github.com/fortissimo1997/ruby-style-guide/blob/japanese/README.ja.md#underscore-unused-vars) (not autocorrected)
In file: app/views/achievements/_chart.html.erb:1

Lint/UselessAssignment: Useless assignment to variable - `last_row_days`. (https://github.com/fortissimo1997/ruby-style-guide/blob/japanese/README.ja.md#underscore-unused-vars) (not autocorrected)
In file: app/views/achievements/_chart.html.erb:2

Lint/UselessAssignment: Useless assignment to variable - `rows`. (https://github.com/fortissimo1997/ruby-style-guide/blob/japanese/README.ja.md#underscore-unused-vars) (not autocorrected)
In file: app/views/achievements/_chart.html.erb:3