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

Rename "All messages" to "Combined feed" in the codebase. #688

Merged
merged 2 commits into from
May 28, 2024

Conversation

Lalit3716
Copy link
Contributor

Fixes: #676

Comment on lines -44 to -46
/// This does not literally mean all messages, or even all messages
/// that the user has access to: in particular it excludes muted streams
/// and topics.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not sure whether I should remove this comment now or not?

Copy link
Collaborator

@chrisbobbe chrisbobbe May 22, 2024

Choose a reason for hiding this comment

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

Good question. I think we can replace it with something like:

/// All messages the user has access to, excluding unsubscribed streams
/// and muted streams and topics. See [PerAccountStore.isTopicVisible].

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good done!

@gnprice gnprice added the maintainer review PR ready for review by Zulip maintainers label May 20, 2024
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! This is close to being ready.

I noticed that you included Fixes: #676 in both commits. Please only include the Fixes: #676 line in the one commit that completely fixes the issue; that is, the commit at which the "all messages" name no longer appears in the codebase. (If you want, you could include a Fixes-partly: #676 in the first commit, but I think we don't have a consistent pattern of doing that.)

Also, I find one remaining reference to AllMessagesNarrow, in test/widgets/message_list_test.dart.

Comment on lines -44 to -46
/// This does not literally mean all messages, or even all messages
/// that the user has access to: in particular it excludes muted streams
/// and topics.
Copy link
Collaborator

@chrisbobbe chrisbobbe May 22, 2024

Choose a reason for hiding this comment

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

Good question. I think we can replace it with something like:

/// All messages the user has access to, excluding unsubscribed streams
/// and muted streams and topics. See [PerAccountStore.isTopicVisible].

@chrisbobbe
Copy link
Collaborator

It looks like some conflicts have appeared. Please resolve those and comment when this is ready for another review.

@Lalit3716
Copy link
Contributor Author

Resolved the conflicts and removed the Fixes from the first commit. This is ready for another look.

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 except one nit below, but I'll go ahead and label this for Greg to review.

Comment on lines 42 to 45
/// The narrow called "Combined feed" in the UI.
/// All messages the user has access to, excluding unsubscribed streams
/// and muted streams and topics. See [PerAccountStore.isTopicVisible].
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: empty line between dartdoc's summary line and body

@chrisbobbe chrisbobbe added the integration review Added by maintainers when PR may be ready for integration label May 23, 2024
Copy link
Member

@gnprice gnprice left a comment

Choose a reason for hiding this comment

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

Thanks @Lalit3716 and @chrisbobbe!

Apart from the comment Chris made above, I reran the search from the issue, and it looks like there's one match remaining that should be updated:

$ git grep -i 'all.?messages' 
…
lib/widgets/message_list.dart:            // widgets. As a simple test, flinging through All Messages in

@Lalit3716
Copy link
Contributor Author

Updated ready for another look now!

@gnprice
Copy link
Member

gnprice commented May 28, 2024

Thanks for the revision! Looks good — merging.

@gnprice gnprice merged commit 53853ab into zulip:main May 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration review Added by maintainers when PR may be ready for integration maintainer review PR ready for review by Zulip maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename "All messages" to "Combined feed" in our codebase
3 participants