Skip to content

[検証用] #8,#9,#10,#11,#13,#14 をまとめた時間割登録テーブル用プレビューブランチ - #12

Closed
kanchi-Matsumoto wants to merge 11 commits into
mainfrom
preview/table-integration
Closed

kanchi-Matsumoto wants to merge 11 commits into
mainfrom
preview/table-integration

Conversation

@kanchi-Matsumoto

@kanchi-Matsumoto kanchi-Matsumoto commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

frontの時間割登録テーブル(DR / DH)を実データで検証するために、レビュー中の6つのPRを1本にまとめたブランチです。

このブランチはmainへマージしません。
各機能は個別のPRでレビューしてマージし、このブランチはfront側がすべての変更を含む状態を検証するための参照先として使います。

含まれるPR

PR 内容 front側で使う機能
#9 再取得したデータへ置き換えるAPIを追加 replaceData(rows)
#10 ペースト内容を一括検証してから反映する ペーストを全部反映、または全部拒否
#8 行変更を確定前に処理できるようにする processRowChange、onRowChangeRejected
#11 行変更の確定結果を操作単位で通知する onRowChangeCommitted
#13 行番号列の幅と背景色を変更できるようにする --sst-row-header-width、--sst-row-header-bg
#14 自動幅テーブルが親要素からはみ出さないようにする 親幅の制限、内部スクロール、固定列の維持

#9、#10、#8、#11は依存順に積まれています。
#13と#14は独立した変更を、この検証用ブランチへ追加しています。

frontからの使い方

front側に用意したスクリプトが、このブランチをビルドしてtarballを配置します。

pnpm setup:table-preview
pnpm install

package.jsonはfile:./.vendor/react-spread-sheet-table-preview.tgzを参照し、.vendor/はGit管理から除外します。

別のブランチを試す場合は、環境変数で参照先を変更できます。

RSST_BRANCH=feat/xxx pnpm setup:table-preview

確認用画面

front側のStorybookで確認します。

  • timetable/DrTimeTableRegistrationTable
  • timetable/DhTimeTableRegistrationTable
  • timetable/TimeTableRegistrationTable

検証結果

  • pnpm typecheck
  • pnpm lint
  • pnpm test(213件成功)
  • pnpm build

このブランチで対応しないこと

  • mainへのマージ
  • GitHub Packagesへのpublish
  • 6つのPRに含まれない機能の追加

各PRがマージされ、front側が公開済みのバージョンを参照できるようになった時点で、この検証用ブランチは役目を終えます。

Add a synchronous row processing hook for normalizing or rejecting edit and paste candidates. Keep normalized values in one undo transaction and report row-level rejection errors.
@kanchi-Matsumoto kanchi-Matsumoto changed the title feat(table): add data replacement API [検証用] #8,#9,#10,#11 をまとめた時間割登録テーブル用プレビューブランチ Aug 2, 2026
@kanchi-Matsumoto
kanchi-Matsumoto force-pushed the preview/table-integration branch from 48b3ef9 to 9e0905d Compare August 2, 2026 14:06
Route Delete and Cut through the shared commit path so processRowChange
sees each affected row once and a rejection leaves the whole selection
untouched. Range clears keep skipping column constraints and custom
validate, matching the previous behavior.

Claude-Session: https://claude.ai/code/session_018TtHTtR8oa8WNaLEJR9aEr
操作単位の変更前後の行と拒否コンテキストを公開し、利用側での行データの二重管理を不要にする。既存のonChangeは変更しない。
Expose row header width and background as CSS variables while preserving the existing defaults.
@kanchi-Matsumoto
kanchi-Matsumoto force-pushed the preview/table-integration branch from 9e0905d to 8f18db6 Compare August 3, 2026 14:13
@kanchi-Matsumoto kanchi-Matsumoto changed the title [検証用] #8,#9,#10,#11 をまとめた時間割登録テーブル用プレビューブランチ [検証用] #8,#9,#10,#11,#13,#14 をまとめた時間割登録テーブル用プレビューブランチ Aug 3, 2026
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.

1 participant