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

ElapsedDaysをReactから素のJSに置き換えた #8371

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

harada-webdev
Copy link
Contributor

Issue

概要

未アサインの提出物で表示されている、提出されてから何日経過しているかを示すナビゲーションメニューのコードを非Reactし、素のJSに置き換えました。

確認方法

  1. mainブランチでforeman start -f Procfile.devを実行して開発環境を立ち上げる
  2. ユーザー名komagata、パスワードtesttestでログインする
  3. 未アサインの提出物に移動する
  4. 以下の画像の例のように、画面の右側に提出の経過日数を示すナビゲーションメニューが表示されていることを確認する
  5. 後でchore/replace-elapsed-days-with-vanilla-jsで表示されている内容と比較するために、ここでスクショを撮る
  6. ブランチをchore/rewrite-elapsed-days-to-vanilla-jsに変更する
    i. git fetch origin chore/rewrite-elapsed-days-to-vanilla-js
    ii. git checkout chore/rewrite-elapsed-days-to-vanilla-js
  7. 未アサインの提出物で表示されている内容がmainと変わっていないことを確認する

Screenshot

未アサインの提出物ページ

rails db:seedして、提出時刻が最新に更新された提出物情報を入手した場合

スクリーンショット (4)

※CSS確認用

提出してから3日以内の提出物しかない場合

スクリーンショット (6)

提出してから4日以上の提出物しかない場合

スクリーンショット (11)

@harada-webdev
Copy link
Contributor Author

@Ryooo-k
お疲れ様です!
こちらの非React化のPRについて、レビューをお願いしてもよろしいでしょうか?

@Ryooo-k
Copy link
Contributor

Ryooo-k commented Feb 25, 2025

@harada-webdev
お疲れ様です!
コロナに感染してしまい、すぐには作業できず時間かかると思いますが、よろしいでしょうか?

@harada-webdev
Copy link
Contributor Author

@Ryooo-k
全然問題ないです!
お大事になさってください🙏

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.

2 participants