Repository navigation
feat(agents): issue-36-fix-web-entered-city-missing-from-live-p - #40
Conversation
Decouple location_city rendering from the Maker component in the outcome and rate variants of OrderCard. Previously city was passed as the Maker sub prop, which caused it to be silently discarded whenever maker is null (e.g. the Create-Order live preview). City is now rendered as a sibling pd-loc span, consistent with the existing standard variant. Proposal: platform-gitops/agents-state/mctl-pairdesk/proposals/issue-36-fix-web-entered-city-missing-from-live-p/
|
Claude finished @mashkovd's task in 1m 22s —— View job PR Review: feat(agents): issue-36-fix-web-entered-city-missing-from-live-pStatus: Request Changes — P2 findings SummaryThis PR refactors how the FindingsP2 — Missing CSS styling:
|
| {order.location_city && ( | ||
| <span className="pd-loc"> | ||
| <Icon name="pin" size={12} cls="pd-mut-ic" />{order.location_city} | ||
| </span> |
There was a problem hiding this comment.
P2: The pd-loc class is being used here, but CSS styling for .pd-card-outcome .pd-loc is missing in styles.css. Currently only .pd-card-standard .pd-loc is defined (line 301). This will cause the city icon + text to be unstyled in the outcome variant. Same issue in the rate variant below (line 404).
Add to styles.css:
.pd-card-outcome .pd-loc { display: inline-flex; align-items: center; gap: 3px; color: var(--pd-hint); }
.pd-card-rate .pd-loc { display: inline-flex; align-items: center; gap: 3px; color: var(--pd-hint); }There was a problem hiding this comment.
Has P2 findings, changes requested: missing CSS styling for .pd-loc in outcome and rate card variants. The code renders city with pd-loc class but only .pd-card-standard .pd-loc is styled in styles.css. Add corresponding rules for .pd-card-outcome and .pd-card-rate to fix layout/visibility.
Address claude-review P2 on PR #40: the city was moved to an independent .pd-loc footer element in the outcome and rate OrderCard variants, but only .pd-card-standard .pd-loc had CSS. Add the matching .pd-card-outcome .pd-loc and .pd-card-rate .pd-loc rules so the pin icon + city render consistently.
|
Claude finished @mashkovd's task in 44s —— View job PR Review: feat(agents): issue-36-fix-web-entered-city-missing-from-live-pStatus✅ APPROVED — P2 findings resolved SummaryThis PR refactors how VerificationPrevious P2 Finding: Missing CSS styling for Current State: ✅ Fixed
Component Changes: ✅ Correct
ConclusionAll previous P2 findings have been resolved. The CSS styling is in place and consistent across all card variants. The layout refactoring maintains visual consistency while improving component separation of concerns. No P1/P2 findings. Good to merge. |
Implements accepted proposal
mctl-pairdesk/issue-36-fix-web-entered-city-missing-from-live-p.Spec: https://github.com/mctlhq/mctl-gitops/tree/main/platform-gitops/agents-state/mctl-pairdesk/proposals/issue-36-fix-web-entered-city-missing-from-live-p/
Generated by mctl-agents Tier 2 implementer. Review carefully — this PR was opened automatically and the spec may have gaps.
Closes #36