Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add link to original message for activated reminders and /listremind #203

Merged
merged 14 commits into from
Dec 11, 2023

Conversation

neroduckale
Copy link
Member

/listremind now has a link to a message with the creation of a reminder for messages like "this"

@neroduckale neroduckale requested a review from a team as a code owner December 1, 2023 01:48
@neroduckale neroduckale linked an issue Dec 1, 2023 that may be closed by this pull request
@pull-request-size pull-request-size bot added the size/S PRs that change 20-100 lines. label Dec 1, 2023
@Octol1ttle Octol1ttle self-assigned this Dec 1, 2023
@Octol1ttle Octol1ttle added the type: feature Features and feature requests. label Dec 1, 2023
@mctaylors mctaylors self-assigned this Dec 1, 2023
src/Data/Reminder.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
@Octol1ttle Octol1ttle requested a review from Apceniy December 2, 2023 09:41
@neroduckale
Copy link
Member Author

TODO: Add link when reminder is off

@Octol1ttle Octol1ttle marked this pull request as draft December 2, 2023 11:25
Reminder.cs: Message -> MessageId
RemindCommandGroup.cs:
- check that the message was sent successfully first
- removed unnecessary string builder construction
- reminder store only original message ID.
MemberUpdateService.cs:
Link to original message added to the reminder itself as well when it goes off
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Data/Reminder.cs Outdated Show resolved Hide resolved
src/Services/Update/MemberUpdateService.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
@neroduckale neroduckale marked this pull request as ready for review December 5, 2023 13:18
…ginal-message-in-listremind

# Conflicts:
#	src/Commands/RemindCommandGroup.cs
@pull-request-size pull-request-size bot added size/XS PRs that change <20 lines. and removed size/S PRs that change 20-100 lines. labels Dec 5, 2023
@pull-request-size pull-request-size bot added size/S PRs that change 20-100 lines. and removed size/XS PRs that change <20 lines. labels Dec 5, 2023
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Services/Update/MemberUpdateService.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Services/Update/MemberUpdateService.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
src/Commands/RemindCommandGroup.cs Outdated Show resolved Hide resolved
@mctaylors mctaylors changed the title Add link to original message in listremind Add link to original message for activated reminders and /listremind Dec 11, 2023
@mctaylors mctaylors merged commit 59c2c5e into master Dec 11, 2023
1 check passed
@mctaylors mctaylors deleted the 200-add-link-to-original-message-in-listremind branch December 11, 2023 20:38
@Octol1ttle Octol1ttle added the type: breaking change PRs or issues that introduce breaking changes that require users to adapt label Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/S PRs that change 20-100 lines. type: breaking change PRs or issues that introduce breaking changes that require users to adapt type: feature Features and feature requests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add link to original message in /listremind
4 participants