Skip to content

style: update expanded BLI row on portfolio and CAN spending page#5490

Merged
weimiao67 merged 2 commits intomainfrom
OPS-5460/expanded_row_portfolio_and_can
Apr 14, 2026
Merged

style: update expanded BLI row on portfolio and CAN spending page#5490
weimiao67 merged 2 commits intomainfrom
OPS-5460/expanded_row_portfolio_and_can

Conversation

@weimiao67
Copy link
Copy Markdown
Contributor

What changed

Updated the layout of the expanded BLI row on the portfolio and CAN spending page.

Issue

#5460
#5485

How to test

  1. goto portfolio spending tab and CAN spending tab
  2. verify the expanded row has the correct data and layout

A11y impact

  • No accessibility-impacting changes in this PR
  • Accessibility changes included and validated against WCAG 2.1 AA intent
  • Any temporary suppression includes A11Y-SUPPRESSION metadata (owner, expires, rationale)

Screenshots

Screenshot 2026-04-10 at 12 02 42 PM

Definition of Done Checklist

  • OESA: Code refactored for clarity
  • OESA: Dependency rules followed
  • Automated unit tests updated and passed
  • Automated integration tests updated and passed
  • Automated quality tests updated and passed
  • Automated load tests updated and passed
  • Automated a11y tests updated and passed
  • Automated security tests updated and passed
  • 90%+ Code coverage achieved
  • [-] Form validations updated

@weimiao67 weimiao67 self-assigned this Apr 10, 2026
@weimiao67 weimiao67 added the task task for an associated story or backlog item label Apr 10, 2026
@weimiao67 weimiao67 marked this pull request as ready for review April 10, 2026 18:19
@fpigeonjr fpigeonjr requested a review from Copilot April 10, 2026 20:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the expanded-row layout for budget line items shown in the CAN/Portfolio spending tables, switching the expanded content from a flex + manual spacing approach to a USWDS grid-based layout.

Changes:

  • Refactored the expanded-row markup to use grid-row / grid-col* for more consistent alignment.
  • Reorganized the expanded-row fields into discrete grid columns (Created By, Description, Procurement Shop, SubTotal, Fees).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

@fpigeonjr fpigeonjr left a comment

Choose a reason for hiding this comment

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

Based on my review, I'm approving this PR with the following summary:

APPROVE ✅
Summary
PR #5490 makes a clean, focused layout refactor for the expanded budget line item row on portfolio and CAN spending pages.
What Changed

  • Converted the expanded row layout from manual flexbox with hardcoded pixel margins (marginLeft: "9.0625rem", marginLeft: "15rem") to a USWDS grid-based approach using grid-row, grid-gap-4, and grid-col-* classes
  • Simplified markup structure by flattening nested divs
  • No functional changes—purely layout/styling improvements
    Verification
  • ✅ Unit tests pass (2/2 for CANBudgetLineTableRow)
  • ✅ All 58 CI checks passing (E2E, a11y, CodeQL, etc.)
  • ✅ ESLint clean
  • ✅ Maintains semantic HTML structure (<dl>/<dt>/<dd>)
  • ✅ No prior review concerns required resolution

Recommendation
Approve—this is a low-risk, maintainability-focused improvement that follows USWDS best practices.


this review is submitted on behalf of Frank Pigeon Jr. via his coding agent.

@weimiao67 weimiao67 merged commit 28177c8 into main Apr 14, 2026
62 checks passed
@weimiao67 weimiao67 deleted the OPS-5460/expanded_row_portfolio_and_can branch April 14, 2026 15:48
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.359.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released task task for an associated story or backlog item

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants