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 new thread context to show both Mattermost thread/parent/root and post IDs #474

Merged
merged 4 commits into from
Oct 12, 2022

Conversation

hloeung
Copy link
Collaborator

@hloeung hloeung commented Sep 15, 2022

This shows both the thread/parent/root IDs followed by the actual post IDs:

Testing replying to thread (re @hloeung: Testing ThreadContext …) [↪@@mhqyzmzkh78ct8mmfjijzas49h,@@ixm3u8q9a7ngi8j1yttkb9bq9a]

This is useful so we can perform actions, such as react, edit, delete, to certain posts within the thread rather than the thread root/parent post itself. In this example, we can do things such as:

@@ixm3u8q9a7ngi8j1yttkb9bq9a +:+1:

@hloeung
Copy link
Collaborator Author

hloeung commented Sep 15, 2022

Another option is to introduce a new config, ThreadContextMattermostPostID or similar and that reduces the diff size as it'll just be within prefixContext().

@hloeung hloeung marked this pull request as ready for review September 15, 2022 05:40
@42wim 42wim added this to the 0.26.0 milestone Oct 12, 2022
@42wim 42wim merged commit 5448276 into 42wim:master Oct 12, 2022
@42wim
Copy link
Owner

42wim commented Oct 12, 2022

👍

@hloeung hloeung deleted the thread+post branch October 12, 2022 22:04
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