-
Notifications
You must be signed in to change notification settings - Fork 171
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
Conversation
/// 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. |
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.
I am not sure whether I should remove this comment now or not?
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.
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].
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.
Sounds good done!
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.
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.
/// 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. |
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.
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].
It looks like some conflicts have appeared. Please resolve those and comment when this is ready for another review. |
724b48a
to
c3dcb57
Compare
Resolved the conflicts and removed the |
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.
Thanks! LGTM except one nit below, but I'll go ahead and label this for Greg to review.
lib/model/narrow.dart
Outdated
/// 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]. |
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.
nit: empty line between dartdoc's summary line and body
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.
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
Updated ready for another look now! |
Thanks for the revision! Looks good — merging. |
Fixes: #676