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
個人の日報一覧をプラクティスで絞り込めるようにした #6044
Conversation
@Seakimhour |
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.
@peno022 お疲れ様です。
レビュー依頼ありがとうございます!
確認させていただきました、問題ないと思うのでApproveさせていただきました!
@Seakimhour |
@peno022 すみません、こちら画面遷移無しで(できればVue.jsよりReactを使って)絞り込めるようにお願いしたいです〜。 |
de0eae2
to
55c7cbc
Compare
d4e6ba6
to
e84ac15
Compare
@Seakimhour |
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.
app/javascript/components/Report.jsx
Outdated
</a> | ||
</li> | ||
</ul> | ||
<label className="a-overlay" for={report.id}></label> |
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.
<label className="a-overlay" for={report.id}></label> | |
<label className="a-overlay" htmlFor={report.id}></label> |
ここもhtmlFor
に変更が必要ですねー
app/javascript/components/Report.jsx
Outdated
const ReportListItemActions = ({ report }) => { | ||
return ( | ||
<div className="card-list-item-title__end"> | ||
<label className="card-list-item-actions__trigger" for={report.id}></label> |
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.
<label className="card-list-item-actions__trigger" for={report.id}></label> | |
<label className="card-list-item-actions__trigger" htmlFor={report.id}></label> |
ここはhtmlFor
に利用したらどうでしょうか?
@Seakimhour |
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.
@peno022 確認をしました。問題ないと思いますので、Approveさせていただきます。
@Seakimhour @komagata |
app/javascript/components/Report.jsx
Outdated
</div> | ||
</div> | ||
{(report.hasAnyComments) && ( | ||
<ReportListComment report={report} /> |
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.
Commentは他のページでも使うので別ファイルのコンポーネントにした方がいいかもです〜
おつかれさまです! 一覧のコメント表示部分を共通化のためにコンポーネントとして切り出したいと思っているのですが、仕様について質問させてください。 個人の日報一覧と提出物一覧で、コメント表示部分に区切り線の有無で違いがあったので、 下記のどちらにするかを決めたいと思っています。
表示の違い①日報一覧は、区切りの点線が入る②提出物一覧は、区切りの点線が入らない。 |
@peno022 区切り線のある方でお願いしますー |
7a58664
to
f75c787
Compare
@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をありがとうございます〜!
Issue
概要
個人の日報一覧(https://bootcamp.fjord.jp/users/1463/reports など)を、プラクティスで絞り込めるようにしました。
(全ユーザーの日報一覧( https://bootcamp.fjord.jp/reports )には、既に同様の絞り込み機能が実装されています。)
変更確認方法
feature/filter-user-reports-by-practice
をローカルに取り込むkomagata
さんの日報一覧( http://localhost:3000/users/459775584/reports )を表示OS X Mountain Lionをクリーンインストールする
のプラクティスに、紐づく日報が存在しています。Screenshot
変更前
変更後