Skip to content

Add DM narrows; clean up DM recipients some more in API #160

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

Merged
merged 7 commits into from
Jun 8, 2023

Conversation

gnprice
Copy link
Member

@gnprice gnprice commented Jun 8, 2023

This implements #142. Along the way, we also make the list of recipients of a DM somewhat cleaner to deal with, in particular by sorting it canonically up front; and we add a bit more testing infrastructure.

Fixes: #142

Copy link
Collaborator

@chrisbobbe chrisbobbe left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM! One nit below, then please merge at will.

@@ -63,28 +63,28 @@ final _messagePropertiesBase = {
};

// When we have a User object, this can take that as an argument.
Copy link
Collaborator

Choose a reason for hiding this comment

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

// When we have a User object, this can take that as an argument.

This comment can now be removed.

gnprice added 7 commits June 8, 2023 16:02
This is cheap to just do -- the lists should be short -- and it
saves us some headache having to deal with potentially-unsorted
lists later.
This takes care of the bulk of zulip#142.  The only thing missing is
a way to navigate to one of these narrows, which we'll add next.
@gnprice
Copy link
Member Author

gnprice commented Jun 8, 2023

Thanks for the review! Merging, with that fix.

@gnprice gnprice merged commit f7feabf into zulip:main Jun 8, 2023
@gnprice gnprice deleted the pr-dm-narrow branch June 8, 2023 23: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.

msglist: Offer DM-conversation narrows
2 participants