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

Release 2025-02-02 02:43:35 +0000 #8212

Merged
merged 267 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
267 commits
Select commit Hold shift + click to select a range
ce07556
テストを追加
hagiya0121 Nov 17, 2024
202a5ab
レポートの日付部分にHTMLのバリデーションを追加
ayu-0505 Oct 31, 2024
b4cc2e3
モデルの日付バリデーションメソッドを基準日〜今日の範囲になるよう変更。動作確認用に一時的にHTMLバリデーションをコメントアウト
ayu-0505 Nov 2, 2024
6ef700c
作成したreportモデルのメソッドに単体テストを追加
ayu-0505 Nov 6, 2024
9c6fb12
不要になったコメントを削除
ayu-0505 Nov 7, 2024
4cb81b9
作成したバリデーションメソッドをprivate下に変更、対応する単体テストを削除
ayu-0505 Nov 7, 2024
4d0f5ac
今日の日付の日報が作れないバグを修正
ayu-0505 Nov 7, 2024
23c0023
関係している既存テストを修正、過去の基準日より古い日付で日報作成した際の確認テストを追加
ayu-0505 Nov 7, 2024
ffab652
過去の基準日当日も作成できるように修正
ayu-0505 Nov 8, 2024
08c0620
テストの文言を実態に沿うように修正
ayu-0505 Nov 8, 2024
c96eeed
システムテストの日報作成日付を過去の基準日前に変更、モデルバリデーションからHTMLバリデーションのチェックに変更
ayu-0505 Nov 8, 2024
6856332
メソッド名を変更、i18nにおける余分なformat指定を削除
ayu-0505 Nov 19, 2024
d11fcda
提出物のコメント経過通知を5日後から3日後に変更
hagiya0121 Nov 19, 2024
2156705
可読性のために、ブロックを使った書き方へ変更
Judeeeee Nov 20, 2024
e3e42fd
mergeコミットを詰んだ際に修正し忘れた変更を削除
Judeeeee Nov 20, 2024
3cf557c
CI実行時に、slim-lintで指摘された箇所を修正
Judeeeee Nov 20, 2024
a6b0c80
提出物未チェックの状態ではステータスを修了にできないようにバリデーション追加
reckyy Aug 5, 2024
d7071e1
validation追加に伴う修正
reckyy Aug 11, 2024
7f30ef0
日数が経った提出物の通知の数字を修正
okuramasafumi Nov 21, 2024
1124f9a
products.vueをViewComponent化
Shrimprin Sep 11, 2024
9f9ec42
product.vueをViewComponent化
Shrimprin Sep 14, 2024
acc71b0
product_checker.vueをViewComponent化
Shrimprin Sep 22, 2024
254cb2c
メンターアイコンのリンクを修正
Shrimprin Sep 24, 2024
86915e2
経過日数の表示を修正
Shrimprin Sep 24, 2024
955f2d9
担当アサインAPIのURLをメソッドからviewへの直書きへ変更
Shrimprin Sep 24, 2024
6119e29
現状はダッシュボードでしか使用しないため、不要な判別を削除
Shrimprin Sep 24, 2024
909d5fd
使用していないフラグを削除
Shrimprin Sep 24, 2024
080400e
product_checker_componentのテストを作成
Shrimprin Sep 28, 2024
d44dc58
product_componentのテストを作成
Shrimprin Sep 29, 2024
cae6ec1
rubocop対応
Shrimprin Sep 29, 2024
525f81a
products_componentのテストを作成
Shrimprin Sep 29, 2024
164e96b
デコレーターメソッドを自動的に適用するヘルパーを作成
Shrimprin Oct 3, 2024
2a992cc
デコレーターの適用にヘルパーを使用するように修正
Shrimprin Oct 3, 2024
71e015f
繰り返し発生する処理をコンポーネントのメソッド化
Shrimprin Oct 3, 2024
74c0bfc
テストを追加
Shrimprin Oct 3, 2024
7677bdd
イシュー#7732とのコンフリクト解消
Shrimprin Oct 6, 2024
5a62881
テストを修正
Shrimprin Oct 6, 2024
eea2030
既存コードと類似した処理を共通化
Shrimprin Oct 7, 2024
174ee54
PR#8122とのコンフリクト解消
Shrimprin Oct 11, 2024
cac9036
不要となったVueファイルを削除
Shrimprin Oct 11, 2024
0d5f98c
コンフリクト解消の変更の伴い、テストを修正
Shrimprin Oct 11, 2024
ec78a1d
aタグやimgタグをlink_to, image_tagに修正
Shrimprin Oct 19, 2024
7f3e56c
不要な空行を削除
Shrimprin Oct 28, 2024
87e20e8
未アサイン提出物用のコンポーネントであるため命名を修正
Shrimprin Oct 28, 2024
4527165
長い行に改行を入れて読みやすくした
Shrimprin Nov 3, 2024
aa7ca66
アイコン表示のフラグを追加
Shrimprin Nov 5, 2024
e2b01e0
ダッシュボードと未アサイン提出物一覧ページでのみ次の経過日数を表示できるように修正
Shrimprin Nov 5, 2024
0b20517
タイトルからのリンク先を提出物のページへ修正
Shrimprin Nov 6, 2024
658aa07
研修生の終了日情報を追加した
Shrimprin Nov 7, 2024
2af2c03
見やすいように空行を挿入
Shrimprin Nov 7, 2024
01059fb
他のユーザーが担当している場合のテストを追加
Shrimprin Nov 9, 2024
aa57655
コンポーネントの共通化に合わせてテストを追加
Shrimprin Nov 9, 2024
5263af3
体裁を整えた
Shrimprin Nov 9, 2024
1b60b93
記述を簡略化
Shrimprin Nov 9, 2024
54cfe65
未アサインページとダッシュボードの時に次の経過日数までの時間を表示するテストを追加
Shrimprin Nov 10, 2024
76d91d9
テスト意図に合わせて変数名に修正
Shrimprin Nov 10, 2024
12a68fe
研修終了日の日付をYYYY年MM月DD日の表記に修正した
Shrimprin Nov 10, 2024
430dba1
確認スタンプの表示を修正
Shrimprin Nov 20, 2024
59cf607
テキストの記述方法がバラバラだったため修正した
Shrimprin Nov 20, 2024
3be126d
経過日数の表示条件を修正した
Shrimprin Nov 22, 2024
710e937
ダッシュボード用のデータを加工する処理をcontrollerからmodelに移した
Shrimprin Nov 22, 2024
170713e
正規表現とテストを修正
hagiya0121 Nov 22, 2024
2adb8c5
プレスキットページのベースを作成
machida Oct 29, 2024
1473961
プレスキットの規約追加
machida Nov 12, 2024
8afca54
プレスキットページ、ロゴページ作成
machida Nov 22, 2024
0954511
Merge pull request #8211 from fjordllc/press-kit
machida Nov 22, 2024
66ea1be
classの順番を変えた
machida Nov 22, 2024
f6638eb
LPのタイプミスを修正
machida Nov 22, 2024
123a6e5
Merge pull request #8214 from fjordllc/fix-typo
machida Nov 23, 2024
a621a30
Merge pull request #8213 from fjordllc/faq-simple-format
machida Nov 23, 2024
3eb360e
Merge pull request #8210 from okuramasafumi/fix-date-num-in-discord-n…
komagata Nov 23, 2024
15e74d3
相談部屋のコメントを省いたコメント数を出力するようにした
Ryooo-k Nov 28, 2024
b3a32e7
commentモデルのスコープで相談部屋のコメント以外を取得するようにした
Ryooo-k Nov 28, 2024
92511c4
Merge pull request #8096 from fjordllc/feature/rewrite-products-on-me…
komagata Nov 28, 2024
028d51b
定期イベントの更新通知の送信者をイベント作成者からログインユーザーに変更
hagiya0121 Nov 28, 2024
3a9ef76
Merge pull request #8204 from fjordllc/chore/change-reminder-interval
komagata Nov 28, 2024
8aefda3
Merge pull request #7956 from fjordllc/chore/change-company-user-list…
komagata Nov 28, 2024
6dc5e67
Merge pull request #8199 from fjordllc/bug/validate-event-name
komagata Nov 28, 2024
5eaf190
Merge pull request #8144 from fjordllc/chore/add-return-date-and-reas…
komagata Nov 28, 2024
e18e8c2
Merge pull request #8181 from fjordllc/feature/add-validation-to-date…
komagata Nov 28, 2024
bb73c39
alumni_voicesのheadタグを正しいものに
mousu-a Nov 28, 2024
afb0f05
alumni_voicesページのテストを追加
mousu-a Nov 28, 2024
e52324d
管理ページの企業一覧を非React化した
Ryooo-k Nov 29, 2024
c01ef0a
コメント取得ロジックをスコープに変更
Ryooo-k Nov 29, 2024
f35ddca
退会者の日報で管理者・メンターにだけ「このユーザーは退会しています。」のメッセージが表示されるように追加
motohiro-mm Jun 9, 2024
291c372
テストを追加、修正
motohiro-mm Jun 9, 2024
c06f3fe
退会ユーザー日報メッセージにデザインを入れ、退会ユーザーのにはn日ぶりの日報メッセージは非表示にした
machida Jun 11, 2024
43b49ab
fixtureに追加した日報を削除し、テストを修正
motohiro-mm Jun 23, 2024
7b37b8b
カテゴリー説明の編集時のプレビュー、表示時の文章のスタイルを変更と見出しがないパターンの追加、注意文を追加
machida Jun 17, 2024
0bedc08
不要な改行を削除
motohiro-mm Jun 24, 2024
dce479a
micro_reportモデルを作成
Shrimprin Jun 19, 2024
f8e8510
routesを定義, controllerを作成
Shrimprin Jun 21, 2024
a8ed3e3
タブに分報リンクを追加
Shrimprin Jun 21, 2024
52c5b4e
分報の投稿・一覧表示のベースを作成
Shrimprin Jun 22, 2024
be72389
user削除時にmicro_reportsが削除されるように修正
Shrimprin Jun 22, 2024
eeabd31
lint対応して体裁を修正
Shrimprin Jun 22, 2024
e7a247f
マークダウン解釈を実装
Shrimprin Jun 23, 2024
1f1637f
分報へのリアクションを実装
Shrimprin Jun 23, 2024
cbefed0
自分以外のユーザーの分報に投稿できないように修正
Shrimprin Jun 23, 2024
8b83e34
分報の表示にユーザーアイコンと名前を追加
Shrimprin Jun 23, 2024
b7b794a
最低限のデザインを作成
Shrimprin Jun 23, 2024
ea38da8
micro_reportのviewをパーシャルに切り出し
Shrimprin Jun 24, 2024
4c1fb92
ページャーを実装
Shrimprin Jun 24, 2024
021de05
フォームの場所分報一覧より上に修正
Shrimprin Jun 29, 2024
173bdfc
マークダウンのプレビューを実装
Shrimprin Jun 30, 2024
130323e
時間の表示を修正
Shrimprin Jun 30, 2024
c341260
分報の投稿が存在しない際のメッセージを追加
Shrimprin Jul 2, 2024
fe885ae
分報の内容に空の文字列は許可しないようにvalidationを追加
Shrimprin Jul 2, 2024
1a4c93d
不要なクラスを削除
Shrimprin Jul 3, 2024
925ed8d
テストを作成
Shrimprin Jul 3, 2024
957c746
不要なテストを削除
Shrimprin Jul 3, 2024
4e67f97
不要なfixtureを削除
Shrimprin Jul 3, 2024
e33ec07
フォームの場所をページ下部に移動
Shrimprin Jul 3, 2024
d8b2728
テストの場所を修正
Shrimprin Jul 3, 2024
58daa2a
分報一覧での並びを降順 -> 昇順に変更
Shrimprin Jul 3, 2024
af75206
パーシャルをViewComponent化
Shrimprin Jul 5, 2024
d054afd
分報フォームの動きを実装
machida Jul 8, 2024
4ab1c7b
分報の動きの調整、分報一覧・フォームののデザイン
machida Jul 9, 2024
45dc97d
:cop:
machida Jul 9, 2024
c413e62
デザイン変更に伴うテスト変更
machida Jul 9, 2024
ad7b87d
デザイン変更に伴うテスト変更
machida Jul 9, 2024
aca14ed
分報0のデザインを追加
machida Jul 9, 2024
ff9f82f
分報のデザインの微調整
machida Jul 9, 2024
2d0b9b9
分報へのリアクションのテストを作成
Shrimprin Jul 21, 2024
9684550
分報が昇順に並んでいるかのテストを作成
Shrimprin Jul 21, 2024
e3a1e7c
分報のページネーションのテストを作成
Shrimprin Jul 21, 2024
6d031cd
テストを修正
Shrimprin Jul 21, 2024
72efa60
他のユーザーの分報一覧にアクセス時、最新の投稿までスクロールされるように修正
Shrimprin Jul 26, 2024
499e4d1
aタグをlink_toに修正
Shrimprin Aug 10, 2024
c2227c5
不要なpタグを削除
Shrimprin Aug 13, 2024
dfe40ca
分報のcomponentのcurret_userを外部から受け取るように修正
Shrimprin Aug 24, 2024
8a47477
分報のcomponentテストを作成
Shrimprin Aug 24, 2024
762e7b8
テストを修正
Shrimprin Aug 25, 2024
8b05277
分報一覧ページに遷移時に、最新の投稿の場所に遷移するように修正
Shrimprin Sep 8, 2024
1409989
不要な空行を削除
Shrimprin Sep 8, 2024
fc16dca
タブをTab Componentに対応
Shrimprin Sep 28, 2024
f42371e
半角スペースが漏れていたため追加
Shrimprin Oct 2, 2024
5cd2c23
分報が複数ページある際に、タブやフォーム投稿から最新投稿のあるページに遷移するように修正
Shrimprin Oct 7, 2024
aae25e9
最新投稿のページに遷移するかのテストを追加
Shrimprin Oct 7, 2024
820d743
ページネーションで最新の分報の場所に遷移するように修正
Shrimprin Oct 15, 2024
6863296
分報投稿フォームが空の時は投稿ボタンを非アクティブにした
Shrimprin Oct 15, 2024
8a9037e
form_componentのテストを追加
Shrimprin Oct 16, 2024
c7cd6c5
投稿ボタンの非アクティブ化が分報ページ以外にも影響してしまうため修正
Shrimprin Oct 16, 2024
656ab1c
ページ上部のページネーションの遷移先を最新の投稿ではなくページ上部に変更
Shrimprin Oct 16, 2024
f61583f
リアクション部分はViewComponentに置き換えるため、current_userを受け取る変更を元に戻した
Shrimprin Oct 30, 2024
b436ce3
schemaに変更を反映
Shrimprin Nov 2, 2024
44ea030
デフォルト時のテスト名を統一
Shrimprin Nov 2, 2024
63834ee
reactionをViewComponent化
Shrimprin Nov 2, 2024
70fe531
reaction_componentのテストを作成
Shrimprin Nov 2, 2024
6ba8969
文字数が多い行を見やすいように改行
Shrimprin Nov 2, 2024
e6b91c4
分報の削除と編集を別イシューで実装するまで、production環境では分報ページへのリンクを表示しないようにした
Shrimprin Nov 22, 2024
a3df416
時間のフォーマットをstrftimeからi18nに修正
Shrimprin Nov 30, 2024
2ddb7c5
debounceメソッドを汎用的に使えるように別ファイルに切り出した
Shrimprin Nov 30, 2024
fe2851a
Merge pull request #7924 from fjordllc/feature/micro-reports
komagata Dec 2, 2024
5a30734
Bump rails-html-sanitizer from 1.6.0 to 1.6.1
dependabot[bot] Dec 2, 2024
b4f5b99
titleをリンク先のタイトルに修正
Ryooo-k Dec 3, 2024
36b539b
aタグをlint_toメソッドに変更
Ryooo-k Dec 3, 2024
41d64e2
imaタグをimage_tagメソッドに変更
Ryooo-k Dec 3, 2024
da5efbc
featureタグが含まれる記事にfeatureの記載を追加
ayu-0505 Nov 11, 2024
3ca549a
N+1を修正
ayu-0505 Nov 11, 2024
ee6f812
目印をメンターと管理者のみに表示するように変更
ayu-0505 Nov 12, 2024
4f3e383
slimファイルにおいて余分なコメントとCSSクラスを削除、Rubyプログラム記述をHTMLのPタグに変更
ayu-0505 Nov 12, 2024
652fcbc
slimファイルにてif文のネストを解消
ayu-0505 Nov 12, 2024
0e253f2
記事についた特別なタグにデザインを入れた
machida Nov 13, 2024
70fe140
featureタグ有無の真偽値判定をviewからhelpers/articles_helper.rbにメソッドにして移動
ayu-0505 Nov 21, 2024
416cfe2
feature_tag?メソッドに単体テストを追加
ayu-0505 Dec 3, 2024
4eb834c
ai-answer.vueと新規回答フォームをフォームをslimに移行
reckyy Aug 21, 2024
ed57b27
question-answer.vue、また内部で使用しているファイルをslimに移行
reckyy Aug 25, 2024
b8ee88f
不要なファイルを削除
reckyy Aug 25, 2024
d82a31b
変数名や処理の重複などのリファクタリング
reckyy Aug 25, 2024
625df76
rubocopの指摘点を修正
reckyy Aug 25, 2024
ad46026
prettier
reckyy Aug 25, 2024
e721b51
落ちていたテストに対応
reckyy Aug 25, 2024
a6f5e4e
pagerの上限変更、スケルトンの表示数変更
reckyy Aug 27, 2024
66c564e
抜けていた見出しを追加
reckyy Aug 29, 2024
d093163
回答にidを追加
reckyy Aug 29, 2024
2f2752a
投稿した新規回答にもリアクションをつけられるように修正
reckyy Aug 29, 2024
bdd80a9
pager削除
reckyy Aug 30, 2024
6ac2fad
answerURLを前回の仕様に合わせた
reckyy Sep 4, 2024
bd7db48
textareaへのバインドの重複が起きていたので、一意なidに対しバインドするよう修正
reckyy Sep 4, 2024
fe71953
スクロール後リロードしても、回答のURLにジャンプしない問題を修正
reckyy Sep 4, 2024
fd4a02e
toastをJS用のファイルからimportする形に変更
reckyy Dec 3, 2024
1f4ea05
initializeAnswer()、updateAnswerCount()を共通化
reckyy Dec 3, 2024
c346753
不要なファイルを削除
Ryooo-k Dec 3, 2024
95ce8b5
不要なdiv[data-testid=admin-companies]を削除
Ryooo-k Dec 3, 2024
95b89fa
不要になったルートを削除
Ryooo-k Dec 3, 2024
f770cfe
responseの結果に応じた処理を追加
reckyy Dec 4, 2024
046aab2
不要な変数を削除
reckyy Dec 4, 2024
7d9cafc
バリデーションを追加した影響で失敗するテストを、submissonがfalseのpracticeを使用するよう修正
reckyy Dec 4, 2024
21791ec
他のテストファイルと記法を統一
reckyy Dec 4, 2024
e68e617
Merge pull request #8235 from fjordllc/dependabot/bundler/rails-html-…
komagata Dec 12, 2024
883b980
Merge pull request #8226 from fjordllc/feature/update-notification-wi…
komagata Dec 15, 2024
1a213e5
Merge pull request #8186 from fjordllc/feature/highlight-blogs-with-a…
komagata Dec 15, 2024
559c745
Merge pull request #8230 from fjordllc/chore/company-list-non-vue-react
komagata Dec 15, 2024
80afd58
Merge pull request #8229 from fjordllc/bug/fix-alumni-voices-head-tag
komagata Dec 18, 2024
67b9510
タイポ修正
machida Dec 18, 2024
557f5f9
Merge pull request #8253 from fjordllc/fix-masaki
machida Dec 18, 2024
0a00905
from..toを変更しバグが発生しないようにした
mousu-a Dec 19, 2024
88e5552
よりわかりやすい変数名に
mousu-a Dec 19, 2024
1a9a8d3
冗長な書き方を修正
mousu-a Dec 20, 2024
f67b851
without_talkメソッドのテストを追加
Ryooo-k Dec 20, 2024
68c89b4
Merge pull request #8256 from fjordllc/bug/regular-event-test-fails
komagata Dec 20, 2024
02a6569
ステージング環境で休会できるようにした
komagata Dec 15, 2024
d3f7c76
Merge pull request #8251 from fjordllc/chore/stripe-in-stating
komagata Dec 21, 2024
1011a48
Merge pull request #8033 from fjordllc/chore/answer-non-vue-conversion
komagata Jan 5, 2025
ae89dca
Merge pull request #7994 from fjordllc/bugfix/show-answers-incomplete…
komagata Jan 5, 2025
1143055
Merge pull request #8161 from fjordllc/feature/add-github-link
komagata Jan 8, 2025
5136e16
Merge pull request #8223 from fjordllc/bug/fix-comment-count-mismatch
komagata Jan 8, 2025
2850ec7
コーディングテスト機能を追加
komagata Aug 12, 2024
39e830d
コーディングテストにタブナビゲーションを追加
komagata Aug 12, 2024
963c745
coding_test関連のpagerを確認するためのseedを追加
komagata Aug 22, 2024
b0b2b5f
コーディングテスト周りのデザインを入れた
machida Aug 30, 2024
26cc458
rebase時に消えてしまったview_component gemを戻した
machida Oct 15, 2024
bf28572
pill nav を削除、card内のclass名変更、回答一覧のデザイン調整、pill navの代わりナビゲーションの追加
machida Oct 15, 2024
ea253d1
page_header内で@practiceを使わないようにした
machida Oct 15, 2024
4178022
コーディングテスト用のタブを追加
komagata Oct 16, 2024
acfe554
localeファイルのマージミスを修正
komagata Nov 20, 2024
5f9b5b2
フッターメニューにRouletteTalkを追加
Jan 13, 2025
f77ce49
coding_testにvalidationを追加
komagata Jan 13, 2025
cf9c23c
coding_test関連のテストを作成
komagata Jan 13, 2025
5a55850
使っていないroutesを削除
komagata Jan 13, 2025
0867616
prettierの指摘点を修正
komagata Jan 13, 2025
3f8808d
Merge pull request #7935 from fjordllc/spike/programming-problem
komagata Jan 14, 2025
2f5e7f7
chromeのバージョンを固定
komagata Jan 15, 2025
cac1aee
circleciのbrower-toolsをupdate
komagata Jan 16, 2025
270375e
並列実行を停止
komagata Jan 16, 2025
3d15ef4
chromeのバージョンを修正
komagata Jan 16, 2025
89624d7
Merge pull request #8276 from fjordllc/chore/fix-chrome-version
komagata Jan 16, 2025
74084b8
サブスクリプションをキャンセル済みの場合はキャンセル処理をしないようにした
komagata Jan 14, 2025
dbb2fd0
回答のプレビューを初期化していなかったので修正
reckyy Jan 14, 2025
5ed1f25
画像がアップロードできない問題を修正
reckyy Jan 14, 2025
4264b95
回答投稿時にプレビュータブをコメントタブにリセットする機能を追加
reckyy Jan 15, 2025
c6a6580
回答投稿後、新規回答フォームのtextareaをデフォルトに戻す処理追加
reckyy Jan 16, 2025
674408a
subscription/updateのcasseteを変更
komagata Jan 17, 2025
c75c33c
落ちていたsubscription関連のテストを修正
komagata Jan 17, 2025
1cc40ba
Merge pull request #8271 from fjordllc/chore/retire-in-hibernated
komagata Jan 17, 2025
1e31d12
新規回答フォームの初期化処理を行うinitializeNewAnswerメソッドを作成
reckyy Jan 17, 2025
dc549d3
回答を古い順(昇順)で表示
reckyy Jan 17, 2025
0c1066d
Merge pull request #8275 from fjordllc/bugfix/answer-preview-and-inse…
komagata Jan 18, 2025
e6b8686
条件の指定を正しくし、エラーを解消
reckyy Jan 21, 2025
919097d
回答がない場合にローディングが表示され続ける不具合を修正
reckyy Jan 22, 2025
eb10319
ユーザーのカレンダーアプリ上で定期イベントの開始・終了時間が UTC 基準になる問題を修正
ymmtd0x0b Jan 26, 2025
384d6c1
該当テストが修正前のコードで失敗するように変更
ymmtd0x0b Jan 26, 2025
954b600
回答が作成されたのを確認してから、画面を更新するように変更
reckyy Jan 27, 2025
0ffe595
Merge pull request #8288 from fjordllc/bug/start_time_of_regular_even…
komagata Jan 27, 2025
419ada3
Merge pull request #8285 from fjordllc/chore/handle-answerjs-warning
komagata Jan 27, 2025
abfad7f
Reスキルコースにプラクティスをコピーするタスクを作成
komagata Jan 29, 2025
28651f2
CIでDockerが古くて失敗する問題を修正
komagata Jan 29, 2025
f8ae739
Merge pull request #8293 from fjordllc/chore/copy-reskill-course
komagata Jan 29, 2025
7d6ff74
Merge pull request #8266 from fjordllc/chore/add-roulette-talk-link-t…
komagata Feb 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: 2.1

orbs:
ruby: circleci/ruby@2.1.0
node: circleci/node@5.1.0
browser-tools: circleci/browser-tools@1.4.7
ruby: circleci/ruby@2.3.1
node: circleci/node@7.0.0
browser-tools: circleci/browser-tools@1.5.0
jobs:
build:
docker:
Expand Down Expand Up @@ -67,10 +67,15 @@ jobs:
parallelism: 3
steps:
- checkout
- run: sudo apt-get update # TODO: remove it https://github.com/CircleCI-Public/browser-tools-orb/issues/75#issuecomment-1641031119
- browser-tools/install-chrome:
replace-existing: true
chrome-version: 130.0.6723.116
- browser-tools/install-chromedriver
- run:
command: |
google-chrome --version
chromedriver --version
name: Check install
- ruby/install-deps:
clean-bundle: true
- node/install:
Expand Down
14 changes: 7 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ GEM
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.21.4)
loofah (2.23.1)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
mail (2.8.1)
Expand Down Expand Up @@ -306,11 +306,11 @@ GEM
netrc (0.11.0)
newspaper (0.2.0)
nio4r (2.7.3)
nokogiri (1.16.5-arm64-darwin)
nokogiri (1.16.8-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.5-x86_64-darwin)
nokogiri (1.16.8-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.5-x86_64-linux)
nokogiri (1.16.8-x86_64-linux)
racc (~> 1.4)
oauth (1.1.0)
oauth-tty (~> 1.0, >= 1.0.1)
Expand Down Expand Up @@ -367,7 +367,7 @@ GEM
puma (6.4.3)
nio4r (~> 2.0)
raabro (1.4.0)
racc (1.7.3)
racc (1.8.1)
rack (2.2.8.1)
rack-cors (2.0.2)
rack (>= 2.0.0)
Expand Down Expand Up @@ -403,9 +403,9 @@ GEM
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.6.0)
rails-html-sanitizer (1.6.1)
loofah (~> 2.21)
nokogiri (~> 1.14)
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
rails-i18n (6.0.0)
i18n (>= 0.7, < 2)
railties (>= 6.0.0, < 7)
Expand Down
Binary file added app/assets/images/media-kit-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/people.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/press-kit/background-blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/press-kit/blue-horizontal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/press-kit/blue-vertical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/press-kit/ng-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/press-kit/ng-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/press-kit/ng-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/press-kit/ng-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/press-kit/ng-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/press-kit/ng-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/press-kit/ng-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/press-kit/ng-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/press-kit/ng-9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions app/components/products/product_checker_component.html.slim
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- if !@checker_id || @checker_id == @current_user_id
button.a-button.is-block.is-sm.check-product-button[
id='check-product-button'
class=(@checker_id ? 'is-warning' : 'is-secondary')
data-product-id=@product_id
data-current-user-id=@current_user_id
data-url='/api/products/checker'
data-method=(@checker_id ? 'DELETE' : 'PATCH')
data-token=form_authenticity_token
]
i.fas class=(@checker_id ? 'fa-times' : 'fa-hand-paper')
= button_label
- else
.a-button.is-sm.is-block.card-list-item__assignee-button.is-only-mentor
span.card-list-item__assignee-image
= image_tag @checker_avatar, class: "a-user-icon", width: 20, height: 20
span.card-list-item__assignee-name
= @checker_name
15 changes: 15 additions & 0 deletions app/components/products/product_checker_component.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# frozen_string_literal: true

class Products::ProductCheckerComponent < ViewComponent::Base
def initialize(checker_id:, checker_name:, current_user_id:, product_id:, checker_avatar:)
@checker_id = checker_id
@checker_name = checker_name
@current_user_id = current_user_id
@product_id = product_id
@checker_avatar = checker_avatar
end

def button_label
@checker_id ? '担当から外れる' : '担当する'
end
end
156 changes: 156 additions & 0 deletions app/components/products/product_component.html.slim
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
.card-list-item.has-assigned class=(@product.wip ? 'is-wip' : '')
.card-list-item__inner
- if @display_user_icon
.card-list-item__user
= link_to user_url(@product.user), class: "card-list-item__user-link" do
span class=["a-user-role", role_class]
= image_tag @product.user.avatar_url,
class: "card-list-item__user-icon a-user-icon",
title: @product.user.icon_title,
alt: @product.user.icon_title

.card-list-item__rows
.card-list-item__row
.card-list-item-title
- if not_responded_sign?
.card-list-item__notresponded
.card-list-item-title__start
- if @product.wip
.a-list-item-badge.is-wip
span WIP
h2.card-list-item-title__title itemprop='name'
- @product.title
= link_to practice_title,
product_url(@product),
class: "card-list-item-title__link a-text-link js-unconfirmed-link",
itemprop: "url"

.card-list-item__row
.card-list-item-meta
.card-list-item-meta__items
.card-list-item-meta__item
= link_to @product.user.long_name, user_url(@product.user), class: "a-user-name"

.card-list-item__row
.card-list-item-meta
.card-list-item-meta__items
- if @product.wip
.card-list-item-meta__item
.a-meta
| 提出物作成中
- elsif @product.published_at
.card-list-item-meta__item
time.a-meta
span.a-meta__label
| 提出
= l(@product.published_at)
- else
.card-list-item-meta__item
time.a-meta
span.a-meta__label
| 提出
= l(@product.created_at)

.card-list-item-meta__item
- if @product.updated_at
time.a-meta
span.a-meta__label
| 更新
= l(@product.updated_at)

- if @display_until_next_elapsed_days && elapsed_days < @reply_deadline_days
time.a-meta
span.a-meta__label
| 次の経過日数まで
- if until_next_elapsed_days < 1
| 1時間未満
- else
| 約#{until_next_elapsed_days}時間

- if @product.comments.size > 0
hr.card-list-item__row-separator
.card-list-item__row
.card-list-item-meta
.card-list-item-meta__items
.card-list-item-meta__item
.a-meta コメント(#{@product.comments.size})
.card-list-item-meta__item
.card-list-item__user-icons
- @product.commented_users.distinct.each do |user|
a.card-list-item__user-icons-icon href=user_path(user)
= image_tag user.avatar_url,
class: "a-user-icon #{role_class}",
title: user.icon_title,
alt: user.icon_title

- if @product.self_last_commented_at && @product.mentor_last_commented_at
.card-list-item-meta__item
- if @product.self_last_commented_at > @product.mentor_last_commented_at
time.a-meta
| 〜 #{l(@product.self_last_commented_at)}(
strong 提出者
| )
- else
time.a-meta
| 〜 #{l(@product.mentor_last_commented_at)}(メンター)
- elsif @product.self_last_commented_at || @product.mentor_last_commented_at
.card-list-item-meta__item
- if @product.self_last_commented_at
time.a-meta
| 〜 #{l(@product.self_last_commented_at)}(
strong 提出者
| )
- else
time.a-meta
| 〜 #{l(@product.mentor_last_commented_at)}(メンター)


- if (@is_mentor || @is_admin) && @product.user.primary_role == 'trainee'
.card-list-item__row
.card-list-item-meta__items
.card-list-item-meta__item
- if @product.user.training_ends_on
time.a-meta dateTime=@product.user.training_ends_on
span.a-meta__label
| 研修終了日
span.a-meta__value
= l(@product.user.training_ends_on)
- case @product.user.training_remaining_days
- when 0
span.a-meta__value.is-danger
| (本日研修最終日)
- when ..-1
span.a-meta__value
| (研修終了)
- when 1..6
span.a-meta__value.is-danger
| (あと#{@product.user.training_remaining_days}日)
- else
span.a-meta__value
| (あと#{@product.user.training_remaining_days}日)
- else
.a-meta
span.a-meta__label
| 研修終了日
span.a-meta__value
| 未入力

- if @is_mentor && @product.checks.size == 0
.card-list-item__row.is-only-mentor
.card-list-item__assignee
= render(Products::ProductCheckerComponent.new( \
checker_id: @product.checker_id,
checker_name: @product.checker_name,
checker_avatar: @product.checker_avatar,
current_user_id: @current_user_id,
product_id: @product.id))

- if @product.checks.size > 0
.stamp.stamp-approve
h2.stamp__content.is-title
| 確認済
time.stamp__content.is-created-at
= last_checked_at
.stamp__content.is-user-name
.stamp__content-inner
= last_checked_user_login_name
44 changes: 44 additions & 0 deletions app/components/products/product_component.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# frozen_string_literal: true

class Products::ProductComponent < ViewComponent::Base
def initialize(product:, is_mentor:, is_admin:, current_user_id:, reply_deadline_days:, display_until_next_elapsed_days: false, display_user_icon: true) # rubocop:disable Metrics/ParameterLists
@product = product
@is_mentor = is_mentor
@is_admin = is_admin
@current_user_id = current_user_id
@reply_deadline_days = reply_deadline_days
@display_until_next_elapsed_days = display_until_next_elapsed_days
@display_user_icon = display_user_icon
end

def role_class
"is-#{@product.user.primary_role}"
end

def practice_title
"#{@product.practice.title}の提出物"
end

def not_responded_sign?
@product.comments.empty? ||
(@product.self_last_commented_at &&
(!@product.mentor_last_commented_at || @product.self_last_commented_at > @product.mentor_last_commented_at))
end

def until_next_elapsed_days
((elapsed_days.ceil - elapsed_days) * 24).floor
end

def elapsed_days
time = @product.published_at || @product.created_at
((Time.zone.now - time) / 1.day).to_f
end

def last_checked_at
l(@product.checks.last.created_at.to_date, format: :short)
end

def last_checked_user_login_name
@product.checks.last.user.login_name
end
end
32 changes: 32 additions & 0 deletions app/components/products/unassigned_products_component.html.slim
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.products
- filtered_products_grouped_by_elapsed_days.each do |elapsed_days, products|
.a-card.h-auto
header.card-header.a-elapsed-days class=elapsed_days_class(elapsed_days) id=elapsed_days_id(elapsed_days)
h2.card-header__title
= elapsed_days_text(elapsed_days)
span.card-header__count
| (#{count_products_grouped_by(products)})
.card-list
.card-list__items
- products.each do |product|
= render(Products::ProductComponent.new( \
product:,
is_mentor: @is_mentor,
is_admin: @is_admin,
current_user_id: @current_user_id,
reply_deadline_days: @reply_deadline_days,
display_until_next_elapsed_days: true))

.under-cards
.under-cards__links.mt-4.text-center.leading-normal.text-sm
= link_to "/products/unassigned##{@reply_warning_days - 1}days-elapsed",
class: "divide-indigo-800 block p-3 border rounded border-solid text-indigo-800 a-hover-link hover:bg-black" do
- if count_almost_passed_reply_warning_days > 0
strong = count_almost_passed_reply_warning_days
| 件の提出物が、
br
| 8時間以内に#{@reply_warning_days}日経過に到達します。
- else
| しばらく#{@reply_warning_days}日経過に到達する
br
| 提出物はありません。
Loading
Loading