Current/old: "<assignee agency name> was assigned<name of grant>"
New: "<assigning agency name>shared<name of grant> with <assignee agency name>"
Implementation Details
The grantsInterested item for each row in the activity table does not currently include any value for <assigning agency name>, but it does provide the assignee's name. This data is provided by the /organizations/<organizationId>/grants/grantsInterested/<perPage>/<currentPage> API route. Update this route handler so that it provides the name of the sharing/assigning agency.
Since this entails adding a new field to the response, which is a backwards-compatible change, an API-side feature flag is not needed.
Note that the assigned_by field provides the ID of the assigning/sharing user, not their agency.
Update the ActivityTable.vue logic so that it displays "Recent Activity" items using the new text template detailed above.
Subtask of [STORY]: Change "assign" feature to "share" #2823
Blocked by
3060
Blocks
N/A
Definition of Done
The
Recent Activity
component that appears in theDashboard
view uses the following adjusted terminology when displaying assigned grant items:<assignee agency name>
was assigned<name of grant>
"<assigning agency name>
shared<name of grant>
with<assignee agency name>
"Implementation Details
grantsInterested
item for each row in the activity table does not currently include any value for<assigning agency name>
, but it does provide the assignee's name. This data is provided by the/organizations/<organizationId>/grants/grantsInterested/<perPage>/<currentPage>
API route. Update this route handler so that it provides the name of the sharing/assigning agency.assigned_by
field provides the ID of the assigning/sharing user, not their agency.ActivityTable.vue
logic so that it displays "Recent Activity" items using the new text template detailed above.