Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
baa307a
チェック後の日報と提出物に確認ボタンが出てしまう不具合を修正
hirokiej Aug 30, 2025
ce41a59
カテゴリの位置を一番上に移動した
yokomaru Sep 14, 2025
d29aa3a
エラーの表示位置を他のページに合わせて移動した
yokomaru Sep 14, 2025
59159db
StimulusのためのControllerとSlimファイルを作成
hirokiej Sep 8, 2025
552f512
Stimulusを導入
hirokiej Sep 15, 2025
ca806df
render先をReact(JSX)からRails(Slim)に変更
hirokiej Sep 15, 2025
ce4f41f
ReportTemplate.jsxとReportTemplateModal.jsxを非React化
hirokiej Sep 15, 2025
7e7a5f1
reportTemplate関係の非react化により不要なjsxファイルを削除
hirokiej Sep 15, 2025
5fcc2e3
.eslintignoreを追加し、StimulusのstaticによるLintエラーを一時的に回避
hirokiej Sep 17, 2025
c1c4f95
Merge pull request #9175 from fjordllc/chore/move-category-on-faq-page
komagata Sep 19, 2025
dee3984
Merge pull request #9109 from fjordllc/bug/check-button-disappear-aft…
komagata Sep 21, 2025
1639b9d
/admin/usersで表示されるのがstudent_and_traineeだったのをallに変更した
kutimiti1234 Sep 10, 2025
9c6fef5
主催している定期イベントが終了している場合は表示しないように変更
smallmonkeykey Sep 24, 2025
34fd924
fixturesに終了済み定期イベントのデータを追加し、警告文が表示されないことをテスト
smallmonkeykey Sep 25, 2025
d27a3a0
ローカル変数に代入してから利用し無駄な問い合わせを避ける
smallmonkeykey Sep 25, 2025
1a61fa1
Merge pull request #9199 from fjordllc/bug/fix-users-index
komagata Oct 6, 2025
c62d6f8
変更前:Railsエンジニア(Reスキル認定講座対応)コース → 変更後:給付金対象Railsエンジニアコース にコース名を変更した。
machida Oct 7, 2025
8911ad2
ページの読み込みが完了する前に次のアサーションが実行されることを防ぐため、より具体的なセレクタ 'form[name=user]'を使用す…
machida Oct 7, 2025
6211370
Merge pull request #9240 from fjordllc/change-course-name
komagata Oct 8, 2025
26ad439
Merge pull request #9204 from fjordllc/bugfix/wrong-warning-on-finish…
komagata Oct 9, 2025
2e250e9
ベストアンサー取り消し時に回答のtype属性に空文字列ではなくnilを設定する
ryufuta Sep 5, 2025
a5e2bbe
typo修正 (`@answer` → `answer`)
ryufuta Sep 5, 2025
5f6bb35
ベストアンサー取り消し時に明示的にレスポンスを返す
ryufuta Sep 23, 2025
d4d24b2
カテゴリ取得ロジックOrderedCategoriesFromPracticesQueryクラスに移行しリファクタリング
jun-kondo Aug 4, 2025
34f04f2
category_active_or_unstarted_practiceテストを更新しケースをより具体化
jun-kondo Aug 4, 2025
b6246ea
未開始プラクティスの並び順をカテゴリの位置順 > プラクティスの位置順に変更
jun-kondo Aug 26, 2025
25f6174
gem rails-patternsのREADMEに準拠したクラス定義に変更
jun-kondo Sep 30, 2025
6b53070
gem rails-patternsのREADMEに準拠した呼び出しに変更
jun-kondo Sep 30, 2025
5249002
happyからpositiveに変更
sharoa119 Sep 2, 2025
21570da
sosoからneutralに変更
sharoa119 Sep 2, 2025
169f287
sadからnegativeに変更
sharoa119 Sep 2, 2025
8809233
頭文字を大文字に変更。スキーマの情報の変更。微修正あり
sharoa119 Sep 2, 2025
a368654
emotion アイコンを fa-negative-tear から fa-sad-tear に戻す
sharoa119 Sep 3, 2025
d689bd3
リベースで戻ってしまったリネームを再適用、微調整
sharoa119 Oct 8, 2025
a492817
過去マイグレーションでの不要なリネームを元に戻す(データ変更なし)
sharoa119 Oct 10, 2025
ad85b28
Merge pull request #9155 from fjordllc/bug/not-properly-revoke-correc…
komagata Oct 15, 2025
42c1a4b
Merge pull request #9117 from fjordllc/feature/change_report_mood_fro…
komagata Oct 15, 2025
d624b1e
Merge pull request #9180 from fjordllc/refactor/replace-report-templa…
komagata Oct 15, 2025
c9ddf8b
Merge pull request #9014 from fjordllc/bug/scroll-to-category-in-prac…
komagata Oct 15, 2025
98afb74
メール通知をオフのテストを通りやすく修正
machida Sep 10, 2025
7f3d13c
リンクチェッカーのテストがローカルで落ちる問題を解決
machida Oct 9, 2025
fc4613b
Lint違反を修正
machida Oct 16, 2025
d646b45
Merge pull request #9165 from fjordllc/mail_notification_test
machida Oct 16, 2025
883044e
Merge pull request #9248 from fjordllc/fix-tests
machida Oct 16, 2025
be6a9ec
金額が前のものだったので修正
machida Oct 16, 2025
ea11877
Merge pull request #9261 from fjordllc/price-check
machida Oct 17, 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
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// ESLintの構文エラー回避のため、一時的に追加しています
// ecmaVersion: 2020ではstaticに対応していないため、
// 別issueでecmaVersion: 2022に対応してもらいます
app/javascript/controllers/report_template_controller.js
2 changes: 1 addition & 1 deletion app/controllers/admin/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Admin::UsersController < AdminController
def index
@direction = params[:direction] || 'desc'
@target = params[:target]
user_scope = User.users_role(@target, allowed_targets: ALLOWED_TARGETS, default_target: 'student_and_trainee')
user_scope = User.users_role(@target, allowed_targets: ALLOWED_TARGETS, default_target: 'all')
user_scope = if @target == 'retired'
user_scope.where.not(retired_on: nil)
else
Expand Down
5 changes: 3 additions & 2 deletions app/controllers/api/correct_answers_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ def create

def update
answer = @question.answers.find(params[:answer_id])
answer.update!(type: '')
Newspaper.publish(:answer_save, { answer: @answer })
answer.update!(type: nil)
Newspaper.publish(:answer_save, { answer: })
head :no_content
end

private
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/reports_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def notice_message(report)
end

def flash_contents(report)
{ notify_help: !report.wip? && report.sad?,
{ notify_help: !report.wip? && report.negative?,
celebrate_report_count: celebrating_count(report) }
end

Expand Down
8 changes: 5 additions & 3 deletions app/javascript/check_confirmation.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function setupCheckConfirmation() {
checkButton.parentNode.replaceChild(newCheckButton, checkButton)

newCheckButton.addEventListener('click', (event) => {
const hasSadEmotion = document.querySelector('#sad') !== null
const hasNegativeEmotion = document.querySelector('#negative') !== null

const commentCountElement = document.querySelector(
'a[href="#comments"] > span'
Expand All @@ -26,10 +26,12 @@ function setupCheckConfirmation() {
const isNewCheck = newCheckButton.dataset.hasCheck !== 'true'

if (
hasSadEmotion &&
hasNegativeEmotion &&
!hasComment &&
isNewCheck &&
!window.confirm('今日の気分は「sad」ですが、コメント無しで確認しますか?')
!window.confirm(
'今日の気分は「Negative」ですが、コメント無しで確認しますか?'
)
) {
event.preventDefault()
return false
Expand Down
86 changes: 0 additions & 86 deletions app/javascript/components/ReportTemplate.jsx

This file was deleted.

185 changes: 0 additions & 185 deletions app/javascript/components/ReportTemplateModal.jsx

This file was deleted.

9 changes: 9 additions & 0 deletions app/javascript/controllers/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Load all the controllers within this directory and all subdirectories.
// Controller files must be named *_controller.js.

import { Application } from 'stimulus'
import { definitionsFromContext } from 'stimulus/webpack-helpers'

const application = Application.start()
const context = require.context('controllers', true, /_controller\.js$/)
application.load(definitionsFromContext(context))
Loading