-
Notifications
You must be signed in to change notification settings - Fork 221
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
nav: Add an About Zulip button to the main menu #1157
Conversation
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! Small comments below.
The other thing this PR needs is screenshots. Please include screenshots of the new button in the PR description.
9f015f5
to
f3d2c6a
Compare
@chrisbobbe I have made the code changes and added screenshots! please check |
I see a video; please include a still image because videos are harder to review. |
For which icon to use, let's use the same icon that web uses for a similar button: Looks like that's this SVG file: https://github.com/zulip/zulip/blob/74d7f1192/web/shared/icons/info.svg Please add that file to the project in a separate prep commit, using the instructions in lib/widgets/icons.dart. The commit message should say that we didn't find a suitable icon in the Icons page of the Figma design (with a link to that page), which is why we're using the one from web. The commit should include this link, which points to the SVG file in web: https://github.com/zulip/zulip/blob/74d7f1192/web/shared/icons/info.svg |
@chrisbobbe I have added a still image of the About Zulip button as well. Please check now. |
Great, thanks! I see it's not the icon from the web app that I mentioned in my comment above: #1157 (comment) Please update the PR with that change. 🙂 |
@chrisbobbe Pardon, I saw the second message after sending previous one! |
@chrisbobbe After reading more docs, and having an understanding of what to do, I have done a separate commit because it's an entirely different kind of change compared to previous ones. Also updated screenshots, please review! |
Hey @tomlin7, the test you added seems to be failing |
2afa1d3
to
c74338c
Compare
@apoorvapendse thanks for pointing this out! I have fixed the test now, please review it. |
Thanks, this is quite close! Please switch the order of the two commits: the commit adding the icon should come first, so the new button uses it from the beginning. You can use an interactive rebase to reorder the commits. If you need help, please ask on |
c74338c
to
da70d76
Compare
@chrisbobbe I have reordered the commits, thanks for the docs. Please check! |
Thanks! LGTM; marking for Greg's review. |
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 @tomlin7 for the contribution! And thanks @chrisbobbe for the previous reviews.
Generally this looks good. Small comments below.
24cd71a
to
b24b1c6
Compare
@gnprice I have fixed the commit messages and fixed the redundancy as well! please check. |
The icon is taken from Zulip web: https://github.com/zulip/zulip/blob/74d7f1192/web/shared/icons/info.svg Because there were no suitable icon in the Icons page of the Figma design: https://www.figma.com/design/1JTNtYo9memgW7vV6d0ygq/Zulip-Mobile?node-id=544-22131&p=f
b24b1c6
to
eb3e2aa
Compare
Thanks for the revision! All LGTM. The CI failure looks like #1177. I've rebased, and (CI will take a few minutes longer because it runs |
fix #1128
Changes
Screenshots
outdated screenshot (icon changed):
zulip.mp4
The tests are passing: