Skip to content

Partners can view request comment and sender#5160

Merged
dorner merged 5 commits into
rubyforgood:mainfrom
jp524:5151-partner-request-show-comments
Apr 25, 2025
Merged

Partners can view request comment and sender#5160
dorner merged 5 commits into
rubyforgood:mainfrom
jp524:5151-partner-request-show-comments

Conversation

@jp524
Copy link
Copy Markdown
Contributor

@jp524 jp524 commented Apr 20, 2025

Resolves #5151

Description

Partners can now view comments for a given request, and the email for the person who made the request ("sender").
Per the issue description I've limited the length of the comments to 20 characters with the remainder displayed as a tooltip.

In order for Bootstrap tooltips to be displayed I had to add a small script on each page, as mentioned in Bootstrap documentation.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Added some request specs.

Screenshots

Essentials Requests page
Essentials Requests

Dashboard page
Dashboard

Tooltip demo

Tooltip.Demo.mov

@jp524 jp524 changed the title 5151 partner request show comments Partners can view request comment and sender Apr 20, 2025
@cielf
Copy link
Copy Markdown
Collaborator

cielf commented Apr 21, 2025

LGTM functionally -- over to @dorner for technical insight.

@cielf cielf requested a review from dorner April 21, 2025 17:49
Copy link
Copy Markdown
Collaborator

@dorner dorner left a comment

Choose a reason for hiding this comment

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

Minor suggestion.

Comment thread app/views/partners/dashboards/_requests_in_progress.html.erb Outdated
Comment thread app/views/partners/requests/_history.html.erb Outdated
@jp524 jp524 requested a review from dorner April 23, 2025 22:56
@dorner dorner merged commit fd980e8 into rubyforgood:main Apr 25, 2025
12 checks passed
@jp524 jp524 deleted the 5151-partner-request-show-comments branch April 25, 2025 19:30
@github-actions
Copy link
Copy Markdown
Contributor

@jp524: Your PR Partners can view request comment and sender is part of today's Human Essentials production release: 2025.04.27.
Thank you very much for your contribution!

GiovannyCordeiro pushed a commit to GiovannyCordeiro/human-essentials that referenced this pull request Jun 6, 2025
* Partner dashboard: add 'comment and sender' to Requests in Progress

* Comment is truncated to 20 chars; rest displayed via tooltip

* Partner requests: add 'comment and sender' to Request History

* Add specs

* Refactor script for tooltip
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.

Add comment and email of the request sender to the partner's view of their requests.

3 participants