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
検索結果一覧でWIPの日報やDocsを識別できるようにした #4501
Conversation
@clio209 |
a96529c
to
da3ad52
Compare
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.
@eatplaynap さん
issue取り組みお疲れ様です。再度取り込み、挙動を確認しました。
また、if
文のリファクタリング、有難うございます。非常に読みやすくなりました!all
等は深い意味はなく、何かそうしないといけない理由を考えたまでで、混乱させて申し訳ないです。。🙇♂️
自分の方はapproveいたします〜。
@clio209 @cafedomancer |
60e9788
to
db40874
Compare
@cafedomancer |
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.
🌟
@cafedomancer 丁寧なレビューありがとうございました!勉強になりました〜! |
if searchable.respond_to?(:wip?) | ||
json.wip searchable.wip? | ||
end |
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.
APIとしてはwipがfalseの場合も知りたいと思うので、項目自体を表示しないのではなく、falseを出すのがいいと思います〜
@komagata |
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.
確認しました、OKですー🙆♂️
Issue概要
検索結果一覧では、見た目上WIPとそうでないものとの区別がつかないため、WIPであることを見て分かるように修正しました。
変更前
WIPとWIPでないものが混在しているが、どれがWIPか分からない
変更後
WIPのものがひと目でわかるようになった
確認手順
feature/identify-wip-from-search-results
を手元に取り込むbin/rails setup
実行bin/rails s
でサーバーを立ち上げる