Skip to content

Tweak news ticker#358

Merged
jawwadmukhtargmail merged 3 commits into
next-major-releasefrom
TweakNewsTicker
Dec 8, 2021
Merged

Tweak news ticker#358
jawwadmukhtargmail merged 3 commits into
next-major-releasefrom
TweakNewsTicker

Conversation

@jawwadmukhtargmail

Copy link
Copy Markdown
Contributor

No description provided.

Value = item.Value,
SupportActivity = item.SupportActivity,
Message = $"**{ item.Value }** {item.SupportActivity.FriendlyNameShort()} { item.SupportActivity.RequestType().ToString() } completed"
Message = $"**{ item.Value }** *{item.SupportActivity.FriendlyNameShort().ToLower()}* { item.SupportActivity.RequestType().PerfectTense(Convert.ToInt32(item.Value)) } completed"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just wondering whether here we should be makeing use of the existing PerfectTense extension method for SupportActivities, which provides slightly more varied wording, e.g. "5 dogs walked", "6 errands run".

We would need to add the markdown formatting, but that could enhance where that method is used already (the recognition banner towards the top of the screen, when logged in.)

@jawwadmukhtargmail jawwadmukhtargmail merged commit 923ec14 into next-major-release Dec 8, 2021
@jawwadmukhtargmail jawwadmukhtargmail deleted the TweakNewsTicker branch December 8, 2021 15:03
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