-
Notifications
You must be signed in to change notification settings - Fork 307
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
Communication
: Show indication if forwarded post has been deleted
#10434
base: develop
Are you sure you want to change the base?
Communication
: Show indication if forwarded post has been deleted
#10434
Conversation
WalkthroughThis pull request updates several model and component files to allow forwarded post properties to include Changes
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (7)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on TS1, however the placeholder does not seem to be visible. Let me know if this behavior is intended:
Screen.Recording.2025-03-04.134422.mp4
Tested on TS2 and noticed the same issue as @AjayvirS (the post containing the forwarded post is no longer there after deleting the forwarded post). However I also could reproduce this issue on TS3 without this PR's changes deployed. To me this seems like an issue/bug not related to this PR's changes, but the bug should be fixed in order to being able to test this PR |
Thanks for testing, @asliayk and I were previously looking into this and found out that there seems indeed to be an issue after deleting the source post and returning back to the conversation that contains the forwarded post. Since we were both able to reproduce this issue on other test servers with other deployments it's safe to say that the described issue is unrelated to this PR. I'll open an issue for this. Edit: I opened this issue that describes the observed behavior. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checklist
General
Client
Motivation and Context
When a message has been forwarded and is deleted afterwards the forwarded message currently does not reflect this information, instead the forwarded message is not shown at all.
Description
This PR makes it possible for users to see whether the source post has been deleted by showing a short info.
Instead of skipping the forwarded messages for which a post wasn't found in the database, null is added to the list of forwarded messages. In
forwarded-message.component.ts
null checks have been added to show an indication for these messages. If a null value is found the forwarded message cannot show any post information and falls back to the information state, which shows an information label instead.Before:

After:

Steps for Testing
Prerequisites:
Testserver States
You can manage test servers using Helios. Check environment statuses in the environment list. To deploy to a test server, go to the CI/CD page, find your PR or branch, and trigger the deployment.
Review Progress
Code Review
Manual Tests
Summary by CodeRabbit
New Features
Style
Bug Fixes