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

ダッシュボード配下に自分の提出物一覧をページを作成 #2935

Merged
merged 11 commits into from
Jul 20, 2021

Conversation

udaikue
Copy link
Contributor

@udaikue udaikue commented Jul 6, 2021

issue #2843

ダッシュボードに自分の提出物一覧のタブを作成しました。

変更前

Cursor_と_ダッシュボード___FJORD_BOOT_CAMP(フィヨルドブートキャンプ)

変更後

ダッシュボード___FJORD_BOOT_CAMP(フィヨルドブートキャンプ)

@udaikue udaikue changed the title ルーティングを追加 ダッシュボード配下に自分の提出物一覧をページを作成 Jul 6, 2021
@machida machida self-assigned this Jul 9, 2021
@udaikue udaikue force-pushed the feature/add_dashboard_and_my_products_page_tabs_in_home branch from 73caf33 to 34fee6a Compare July 15, 2021 14:23
@udaikue udaikue requested a review from yana-gi July 16, 2021 00:25
@udaikue
Copy link
Contributor Author

udaikue commented Jul 16, 2021

@yana-gi お手すきのときにレビューをお願いします🙏ペアプロのissueです。

Copy link
Contributor

@yana-gi yana-gi left a comment

Choose a reason for hiding this comment

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

ペアプロ最後まで一緒にできずすみませんでした……!
最後まで実装していただきありがとうございます!

2点ほどコメントしましたので修正お願いします!
またテストもできれば書いていただきたいです〜
自分が担当した日報一覧ではテストを作成したので、同じような機能でテストがあるもの・ないものが混在しない方がいいと思ったためです。

ご確認お願いします🙏

config/routes.rb Outdated
Comment on lines 108 to 111
namespace :current_user do
resources :products, only: %i(index)
end

Copy link
Contributor

Choose a reason for hiding this comment

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

既にある96-98行目のnamespace :current_userに追加するようにしてください〜

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ミスってました、すみません...🙇

Comment on lines 7 to 11
.page-header-actions
ul.page-header-actions__items
li.page-header-actions__item
= link_to users_path, class: 'a-button is-md is-secondary is-block is-back' do
| ユーザー一覧
Copy link
Contributor

Choose a reason for hiding this comment

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

以前machidaさんに確認したところ、この画面にはユーザー一覧ボタンは不要とのことでした。
ので削除しちゃってください〜
#2844 (comment)

事前に共有できずすみません……!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

いえ、ありがとうございます。修正しました!

@udaikue udaikue force-pushed the feature/add_dashboard_and_my_products_page_tabs_in_home branch from 9fbb70f to fae0070 Compare July 17, 2021 13:05
@udaikue
Copy link
Contributor Author

udaikue commented Jul 17, 2021

@yana-gi 色々指摘してくださりありがとうございます!修正しましたので、改めてご確認お願いします🙏

Copy link
Contributor

@yana-gi yana-gi left a comment

Choose a reason for hiding this comment

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

修正していただきありがとうございますー!
大丈夫だと思います🙆‍♂️

@udaikue
Copy link
Contributor Author

udaikue commented Jul 19, 2021

@yana-gi ありがとうございます!

@komagata こちらレビューをお願いしますー。

@machida machida removed their assignment Jul 20, 2021
@machida machida requested a review from komagata July 20, 2021 05:41
@machida
Copy link
Member

machida commented Jul 20, 2021

@udaikue

レビュワーに駒形さんを追加しましたー

貼り付けた画像_2021_07_20_14_41

@machida
Copy link
Member

machida commented Jul 20, 2021

@udaikue デザイン確認しました。OKですー🙆‍♂️

Copy link
Member

@komagata komagata left a comment

Choose a reason for hiding this comment

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

確認しました、OKですー🙆‍♂️

@@ -95,6 +95,7 @@

namespace :current_user do
resources :reports, only: %i(index)
resources :products, only: %i(index)
Copy link
Member

Choose a reason for hiding this comment

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

ナイスです〜

@komagata komagata merged commit 56cb8fd into main Jul 20, 2021
@komagata komagata deleted the feature/add_dashboard_and_my_products_page_tabs_in_home branch July 20, 2021 06:53
@github-actions github-actions bot mentioned this pull request Jul 20, 2021
20 tasks
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.

4 participants