Skip to content

refactor: Clean up share buttons and UI tweaks on referral page - #130

Merged
michelle-hadfield-nava merged 5 commits into
mainfrom
rh/1304-share-buttons-cleanup
Jan 9, 2026
Merged

refactor: Clean up share buttons and UI tweaks on referral page#130
michelle-hadfield-nava merged 5 commits into
mainfrom
rh/1304-share-buttons-cleanup

Conversation

@RyanHansz

@RyanHansz RyanHansz commented Jan 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Jira: DST-1304

  • Rename "Print Referrals" → "Print" and "Email Referrals" → "Email" for cleaner UI
  • Add duplicate Print/Email buttons at the bottom of the results page with a "Share" header for better discoverability
  • Extract ShareButtons component to eliminate code duplication (DRY)
  • Remove descriptions from ActionPlanSection resource selection - shows names only for cleaner list
  • Change website links to blue (text-blue-600) to match resource numbers for visual consistency
  • Add container to referral page so elements can't infinitely expand horizontally

Screenshots

Top of Results Page

pr-screenshot-top-buttons

Bottom of Results Page

pr-screenshot-full-page

Test Plan

  • Navigate to referral page and submit a search
  • Verify "Print" and "Email" buttons appear at top of results
  • Verify "Share" header with "Print" and "Email" buttons at bottom of results
  • Verify website links are blue and underline on hover
  • Verify ActionPlanSection shows only resource names (no descriptions)
  • Click Print button - should trigger print dialog
  • Click Email button - should open email dialog

🤖 Generated with Claude Code

Preview environment for frontend

♻️ Environment destroyed ♻️

Preview environment for app

♻️ Environment destroyed ♻️

Ryan Hansz and others added 3 commits January 8, 2026 09:07
- Rename "Print Referrals" to "Print" and "Email Referrals" to "Email"
- Add duplicate Print/Email buttons at bottom of results page with "Share" header
- Extract ShareButtons component to eliminate code duplication
- Remove descriptions from ActionPlanSection resource selection (show names only)
- Change website links to blue color to match resource numbers

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jan 8, 2026

Copy link
Copy Markdown

Coverage report for frontend

St.
Category Percentage Covered / Total
🔴 Statements
54.33% (+0.34% 🔼)
370/681
🔴 Branches
48.96% (+0.43% 🔼)
118/241
🔴 Functions
59.26% (+0.38% 🔼)
64/108
🔴 Lines
54.11% (+0.36% 🔼)
349/645
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢
... / ShareButtons.tsx
100% 100% 100% 100%
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢
... / ActionPlanSection.tsx
100%
83.33% (-2.38% 🔻)
100% 100%
🟡
... / page.tsx
75.54%
80% (-0.7% 🔻)
75.68% 76.3%

Test suite run success

78 tests passing in 7 suites.

Report generated by 🧪jest coverage report action from 5e185ef

@RyanHansz RyanHansz changed the title refactor: Clean up share buttons and simplify UI Clean up share buttons and simplify UI Jan 8, 2026
@RyanHansz RyanHansz changed the title Clean up share buttons and simplify UI refactor: Clean up share buttons and simplify UI Jan 8, 2026
@RyanHansz RyanHansz changed the title refactor: Clean up share buttons and simplify UI refactor: Clean up share buttons and UI tweaks on referral page Jan 8, 2026
@michelle-hadfield-nava
michelle-hadfield-nava merged commit 3a8b7bc into main Jan 9, 2026
16 of 17 checks passed
@michelle-hadfield-nava
michelle-hadfield-nava deleted the rh/1304-share-buttons-cleanup branch January 9, 2026 18:33
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.

2 participants