Skip to content

fix(web-ui): show pending placeholder while /goal target is generating#850

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:fix/goal-generating-placeholder
May 24, 2026
Merged

fix(web-ui): show pending placeholder while /goal target is generating#850
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:fix/goal-generating-placeholder

Conversation

@bobleer
Copy link
Copy Markdown
Collaborator

@bobleer bobleer commented May 24, 2026

Summary

  • Insert a local goal_pending dialog turn immediately after /goal is sent so the chat shows loading feedback during AI goal synthesis.
  • Reuse the /usage local-command pattern: pending turn is removed once goal activation succeeds or fails, then the normal kickoff message is sent.
  • Add localized copy (chatInput.goalGenerating) and store/UI tests for the pending turn lifecycle.

Test plan

  • pnpm run lint:web
  • pnpm run type-check:web
  • pnpm --dir src/web-ui run test:run
  • Manual: send /goal in a session and confirm "Generating session goal..." appears immediately with loading dots
  • Manual: confirm placeholder disappears after goal activation and kickoff message is sent
  • Manual: confirm placeholder is removed and error toast appears when goal activation fails

Insert a local goal_pending turn immediately after /goal is sent so users
see loading feedback during AI goal synthesis instead of a frozen chat UI.
@bobleer bobleer merged commit 7609ed5 into GCWing:main May 24, 2026
4 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.

1 participant