Dressca のフロントエンドについて Maia v1.0 の変更を移植 #2269
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
この Pull request で実施したこと
確認ポイント
dressca-frontend
配下のディレクトリに想定外の差分がないことを確認しました。あるべき差分
src/generated
配下の自動生成された API クライアントコードpackage.json
の OpenAPI 仕様書のパスpackage.json
のvite preview
のポート番号env.dev
で指定するバックエンドAPIのポート番号この Pull request では実施していないこと
vite preview
のポート番号については下記のissueでmaia/marisともに指定なし(4173)に統一します。Issues や Discussions 、関連する Web サイトなどへのリンク
下記の解決により、v0.9までは存在したconsumerのmockの差分が解消されました。
下記の対応により、APIコールの失敗時にmaia側ではレスポンスのProblemDetailsから詳細なメッセージをトースト通知しますが、maris側はバックエンド側が未対応のため、既存と変わらない出力を行います。