aws-samples / bedrock-claude-chat

AWS-native chatbot using Bedrock + Claude (+Mistral)
MIT No Attribution
687 stars 230 forks source link

add ErrorBoundary #372

Closed k70suK3-k06a7ash1 closed 1 week ago

k70suK3-k06a7ash1 commented 2 weeks ago

Issue #, if available:

371

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

k70suK3-k06a7ash1 commented 2 weeks ago

@wadabee @statefb 予期せぬ不具合でAppがクラッシュした場合に、ユーザーが復元できるようError Boundaryを追加しました ただ、UIどんな感じがいいか相談したいです!

現在はざっとcome backをonClickでwindow.location.href で"/"に遷移するようにしてます

スクリーンショット 2024-06-14 10 57 53
k70suK3-k06a7ash1 commented 2 weeks ago
スクリーンショット 2024-06-14 14 42 01
k70suK3-k06a7ash1 commented 2 weeks ago

@wadabee こちら修正しました!