Delivery status panel shows redundant, unclear messages for unverified runs

Open Beginner friendly
#866 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript, react
Domain
frontend, web-dev

Research direction

Start with the unconditional explainer paragraph and the unknown status label in frontend/src/components/intent/DeliveryStatus.tsx, then the deliveryView message when no delivery record exists in lambda/shared/final-delivery.js. Gate the retry-semantics paragraph so it renders only beside the Retry delivery button, and rewrite the unverified message as one concise outcome-focused line. Done when succeeded and no_change runs no longer show the explainer and the unverified state shows a single message.

Written by the indexing model from the issue text.

Description

area/frontend good first issue topic/delivery

What happens

The Final delivery section on the intent page shows three overlapping messages for a run that has no delivery record:

Delivery not yet verified

Publication is separate from stage execution. Retry publishes the existing intent branch; it does not regenerate code, rerun stages or merge the pull request.

Delivery has not been assessed for this run. Check delivery to inspect the recorded branches and existing pull requests.

Three problems:

  1. The heading and the backend message say the same thing twice ("not yet verified" / "has not been assessed"), and neither tells the user what checking will actually do for them.
  2. The "Publication is separate from stage execution…" paragraph renders unconditionally for every delivery status (frontend/src/components/intent/DeliveryStatus.tsx) — including succeeded and no_change, and even when no Retry delivery button is on screen. It answers a question that only exists at the moment retry is offered.
  3. The wording describes mechanics instead of outcomes ("assessed", "stage execution", "inspect the recorded branches") where the user just needs: the platform doesn't know whether this run's pull requests were published — check to find out.

Where it comes from

Introduced with delivery tracking in #537:

  • frontend/src/components/intent/DeliveryStatus.tsx — unknown status label and the unconditional explainer paragraph
  • lambda/shared/final-delivery.js — deliveryView message when no delivery record exists

Expected

  • One concise message per state, using established platform terminology (delivery record, publish, pull request, intent branch, Check delivery / Retry delivery / Save delivery assessment).
  • The retry-semantics explainer ("does not regenerate code, rerun stages or merge") appears only alongside the Retry delivery button it describes.

Final delivery panel showing three overlapping messages

Dominant language
JavaScript
Stars
128
Forks
62
Avg merge
3d 14h
Merged PRs (30d)
114

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws-samples/sample-collaborative-ai-dlc

All issues in aws-samples/sample-collaborative-ai-dlc

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.