Skip to content

fix: improve Response Failed UX for pre-response and mid-response errors#890

Merged
originchoi merged 2 commits into
productionfrom
feature/agent8-polish-phase2
Mar 6, 2026
Merged

fix: improve Response Failed UX for pre-response and mid-response errors#890
originchoi merged 2 commits into
productionfrom
feature/agent8-polish-phase2

Conversation

@originchoi

Copy link
Copy Markdown
  • Show dedicated "Response Failed" UI when error occurs before any response
  • Hide Copy button when no response content exists
  • Show Retry button for all failed responses regardless of content
  • Add 60s timeout for submitted state to handle unresponsive servers
  • Create placeholder assistant message for errors in submitted state

- Show dedicated "Response Failed" UI when error occurs before any response
- Hide Copy button when no response content exists
- Show Retry button for all failed responses regardless of content
- Add 60s timeout for submitted state to handle unresponsive servers
- Create placeholder assistant message for errors in submitted state
@originchoi originchoi requested a review from dinoksb March 6, 2026 02:36
@originchoi originchoi self-assigned this Mar 6, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 6, 2026

Copy link
Copy Markdown

Deploying agent8-sandbox with  Cloudflare Pages  Cloudflare Pages

Latest commit: a0e0875
Status: ✅  Deploy successful!
Preview URL: https://23836953.agent8-sandbox.pages.dev
Branch Preview URL: https://feature-agent8-polish-phase2.agent8-sandbox.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 6, 2026

Copy link
Copy Markdown

Deploying agent8-dev with  Cloudflare Pages  Cloudflare Pages

Latest commit: a0e0875
Status: ✅  Deploy successful!
Preview URL: https://3f4fe0b5.agent8-dev.pages.dev
Branch Preview URL: https://feature-agent8-polish-phase2.agent8-dev.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 6, 2026

Copy link
Copy Markdown

Deploying agent8-staging-sandbox with  Cloudflare Pages  Cloudflare Pages

Latest commit: a0e0875
Status: ✅  Deploy successful!
Preview URL: https://ae68892e.agent8-stg-sandbox.pages.dev
Branch Preview URL: https://feature-agent8-polish-phase2.agent8-stg-sandbox.pages.dev

View logs

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying agent8-production with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4049731
Status: ✅  Deploy successful!
Preview URL: https://3494a2f0.agent8-prod.pages.dev
Branch Preview URL: https://feature-agent8-polish-phase2.agent8-prod.pages.dev

View logs

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying agent8-staging with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4049731
Status: ✅  Deploy successful!
Preview URL: https://ccf3e79d.agent8-stg.pages.dev
Branch Preview URL: https://feature-agent8-polish-phase2.agent8-stg.pages.dev

View logs

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying agent8-pr with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4049731
Status: ✅  Deploy successful!
Preview URL: https://e2a00cde.agent8-pr.pages.dev
Branch Preview URL: https://feature-agent8-polish-phase2.agent8-pr.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 6, 2026

Copy link
Copy Markdown

Deploying agent8-production-old with  Cloudflare Pages  Cloudflare Pages

Latest commit: a0e0875
Status:⚡️  Build in progress...

View logs

Comment thread app/components/chat/Chat.client.tsx Outdated
}

const timer = setTimeout(() => {
stop();

@dinoksb dinoksb Mar 6, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stop() 대신 stopRef.current() 를 사용하는 것이 좋을 것 같습니다.

  • 코드베이스 패턴 유지
  • 스테일 클로저 회피

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

해당 코멘트 반영하였습니다. 감사합니다.


const timer = setTimeout(() => {
stop();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setFakeLoading(false) 와 같은 UI 정리는 필요없을지 확인 부탁드립니다.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

해당 코멘트 반영하였습니다. 감사합니다.

@dinoksb dinoksb left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

코멘트 확인 부탁드립니다.

@dinoksb dinoksb left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@originchoi originchoi merged commit c202602 into production Mar 6, 2026
6 of 7 checks passed
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.

2 participants