Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Remove redundant orchestration progress card from V2 chat - #1575

Merged
Paul Lizer (paullizer) merged 2 commits into
paullizer-react-v2-uifrom
paullizer-remove-orchestration-progress-card
Sep 29, 2026
Merged

Paul Lizer (paullizer) merged 2 commits into
paullizer-react-v2-uifrom
paullizer-remove-orchestration-progress-card

Conversation

@paullizer

Copy link
Copy Markdown
Collaborator

Summary

  • While Orchestrate plans a question, the V2 chat reply showed an Orchestration progress card above the "1 reasoning step" toggle and Thinking. The card had "Current step: Building a plan", a 45% badge, "0/1 step | 1 running", a progress bar and the planner's latest sentence. It repeated what the toggle already says, stayed at 45% while the planner worked, and then disappeared when the plan arrived. It also came back during runs next to the plan card, which already shows run progress.
  • Orchestrated turns no longer draw that card:
    • While planning, the reply shows only the reasoning-step toggle and Thinking. The planner's steps are one click away under the toggle.
    • While running, the plan card shows the step count, the running step and Review.
    • A saved answer's expanded reasoning shows only its steps.
    • Tabular analysis and agent replies keep their progress cards.
  • How: LaneDefinition in activityLanes.ts gains a showsCard flag. The orchestration lane sets it to false, and ThoughtsProgressCard renders nothing for those lanes. The orchestration lane is kept on purpose. A turn keeps the first specific lane it matches, and only the generic agent lane can be replaced. Without the orchestration lane, an agent hand-off inside an orchestrated turn would show an "Agent progress" card instead.
  • The server is unchanged. Thought payloads and saved message data are the same, so reopened conversations also show no card.

Linked issue

N/A (no associated issue)

Release Notes & Latest Features

  • New Feature
  • Bug Fix
  • UI Enhancement
  • Breaking Change
  • Internal only

Is this visible to end users?

  • Yes
  • No

Is this admin-facing (Admin Settings, governance, deployment, config)?

  • Yes
  • No

Should this become a Latest Feature card?

  • Yes
  • No
  • Already added

Screenshot needed for the card?

  • Yes
  • No
  • Attached

Version bump

  • application/single_app/config.py VERSION third segment bumped, or not needed because this is docs-only (0.261.203 -> 0.261.204)
  • deployers/version.txt bumped, or not needed because deployers/ was not changed (not changed)

Testing / validation

  • npm --prefix .\application\v2_ui run typecheck: passes.
  • node .\functional_tests\test_v2_orchestration_progress_lane.mjs (new): 6/6 pass.
    • Planner, plan-ready, saved-memory and reasoning-adjustment steps stay in the orchestration lane with showsCard: false.
    • An agent hand-off inside an orchestrated turn stays in that lane.
    • Tabular and agent lanes keep their cards.
  • python -m pytest .\ui_tests\test_v2_orchestration_streaming_bubble.py -q (new): 3 passed.
    • The test runs the production controller, stores, SSE reader, MessageList and plan card in Chromium with production CSS. It holds the plan and run streams open and sends one server-shaped frame at a time.
    • Before the fix, both orchestration tests failed at the card assertions and the tabular control test passed.
    • It needs the V2 build in ui_tests/artifacts/orchestration-plan-editor. The build command is in the test docstring.
  • python -m pytest .\ui_tests\test_v2_orchestration_planning_retry.py -q: 15 passed.
  • python .\ui_tests\test_v2_orchestration_plan_card.py: 7/7 pass.
  • python .\functional_tests\test_v2_tabular_parity.py: the 70 TypeScript lane and logic checks pass. One structural check, test_the_confirmation_precedes_the_send, fails independently of this PR. Its regex expects const submit = () => {, but Composer.tsx declares submit = (allowUnfilled = false). This PR doesn't touch either file.
  • python .\functional_tests\test_docs_site_quality.py: 6/6 pass.
  • python .\functional_tests\test_docs_app_surface_coverage.py: 7/7 pass.
  • git diff --check: clean.
  • Existing doc failures in files this PR doesn't modify:
    • test_docs_release_notes_integrity.py reports the generated release-notes pages are 142 releases out of date.
    • test_docs_link_integrity.py reports broken links.

Documentation

  • Release notes updated, or not needed (v0.261.204, User Interface Enhancements)
  • Feature documentation updated, or not needed (CHAT_ORCHESTRATION.md stream events and test table, V2_TABULAR_ANALYSIS.md progress lanes and known limitations, REACT_V2_UI.md)
  • Fix documentation updated, or not needed (docs/explanation/fixes/ORCHESTRATION_DUPLICATE_PROGRESS_CARD_FIX.md)

Security checklist

  • New Flask routes include @swagger_route(security=get_auth_security()) (N/A: no routes added)
  • Settings sent to non-admin frontends use sanitize_settings_for_user() (N/A: no settings are sent)
  • Browser JavaScript is served from local SimpleChat static assets only; no CDN-hosted JS
  • No secrets, keys, connection strings, or local-only artifacts are included

While Orchestrate planned a question, the V2 streaming bubble drew an Orchestration progress card (Current step: Building a plan, 45%, 0/1 step, a progress bar) above the reasoning toggle and the Thinking indicator. It repeated what the toggle already said, stayed at 45% until the plan arrived and then vanished, and came back during runs beside the plan card, which already shows run progress.

The orchestration lane still claims its steps, so they are never counted as agent or tabular work, but it now declares showsCard: false and ThoughtsProgressCard draws nothing for it. Tabular and agent cards are unchanged.

Adds a lane logic test and a Playwright streaming-bubble regression, documents the fix, and bumps the version to 0.261.204.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Describes removing the redundant orchestration progress card from the V2 chat under User Interface Enhancements.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@paullizer
Paul Lizer (paullizer) merged commit 2f8dab4 into paullizer-react-v2-ui Sep 29, 2026
2 checks passed
Paul Lizer (paullizer) added a commit that referenced this pull request Sep 30, 2026
…le-rerenders

Brings in #1575 (v0.261.204). Keeps VERSION 0.261.207 and places the
v0.261.207 release notes above the v0.261.204 section.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Paul Lizer (paullizer) added a commit that referenced this pull request Sep 30, 2026
#1575 took 0.261.204 on V2 and 3b holds 0.261.205, so the coordinator
moved Phase 4 to 0.261.206. Move VERSION and the headers, docs, version
floors and stubbed bootstrap version this branch added from 0.261.204.
Only files this branch changed since V2 7900ab1 are touched, before
merging V2, so #1575's own 0.261.204 references stay as they are.

Refs #1547

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Paul Lizer (paullizer) added a commit that referenced this pull request Sep 30, 2026
Brings in #1575 (remove the redundant orchestration progress card, which
took 0.261.204) and #1570 (roadmap status). The only textual conflict was
config.py, resolved to this change's reserved VERSION 0.261.206.

Refs #1547

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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