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

Prevent message merging when starred #1340

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Sushmey
Copy link
Collaborator

@Sushmey Sushmey commented Mar 20, 2023

What does this PR do?
The PR #1147 was meant to fix #171 but had some coverage issues with the test cases. This PR helps to resolve that

Tested?

  • Manually
  • Existing tests (adapted, if necessary)
  • New tests added (for any new behavior)
  • Passed linting & tests (each commit)

Commit flow
First commit: Improving the test case so we can see the initial code doesn't pass the test cases

Second commit: Adding better condition to check star status difference

Notes & Questions

Interactions

Visual changes

@zulipbot zulipbot added the size: S [Automatic label added by zulipbot] label Mar 20, 2023
Changing the condition for difference in messages from comparing to outright assigning the status of the current message to prevent merging of messages starred in a row

fixes zulip#171
@Sushmey Sushmey changed the title Starred messages Prevent message merging when starred Mar 21, 2023
@neiljp neiljp added the PR needs review PR requires feedback to proceed label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR needs review PR requires feedback to proceed size: S [Automatic label added by zulipbot]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix issues with message merging (hiding content headers) based on star status
3 participants