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
Message Feed: Improve placeholder text for empty unsubscribed stream. #29706
base: main
Are you sure you want to change the base?
Conversation
Thanks! Looking at the screenshot, we need more vertical space above the button. |
b51d854
to
1563ddf
Compare
@alya added the vertical space above the button. |
Cool, I can test once the PR passes tests. |
ca04439
to
624b7ab
Compare
@@ -1946,6 +1946,7 @@ nav { | |||
|
|||
.sub_button_row { | |||
text-align: center; | |||
margin-top: 15px; |
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.
624b7ab
to
6249d30
Compare
This commit changes the placeholder text along with fixing the style issue of subscribe button in empty unsubscribed streams. Fixes zulip#29692.
6249d30
to
a968fc2
Compare
Yeah, that extra margin seems reasonable with the bookend as well. @laurynmm are you up for reviewing this one? I haven't tested. |
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.
@nimishmedatwal - Thanks for working on this!
As you mentioned in the CZO issues thread, the state after a user clicks on the subscribe button in the empty stream is not good.
We should definitely address that problem and I can update the issue description for that as well.
I think what we'll need to do is have the bookend loaded in this view like we do when viewing an unsubscribed stream with messages. Looking at the code for loading/showing the bookend when the subscribe button in the empty narrow is clicked would probably be a good place to start for working out how to do that when the user is initially viewing the unsubscribed stream.
And then for the empty banner, we can just show the default message for this case.
Heads up @nimishmedatwal, we just merged some commits that conflict with the changes you made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the |
This pr changes the placeholder text along with fixing the style issue of subscribe button in empty unsubscribed streams.
Fixes: #29692.
Screenshots and screen captures:
Self-review checklist
(variable names, code reuse, readability, etc.).
Communicate decisions, questions, and potential concerns.
Individual commits are ready for review (see commit discipline).
Completed manual review and testing of the following: