zulip-mobile icon indicating copy to clipboard operation
zulip-mobile copied to clipboard

Use "list" icon for all-messages, matching web's new icon there

Open gnprice opened this issue 3 years ago • 17 comments
trafficstars

We currently use a "globe" icon for the button on the main screen that takes you to the all-messages view. This has never been a great icon to use there, but we didn't feel we had a better one -- the web app used a "home" icon, and that seemed like it would put too much emphasis on that view. (Unlike on web, the all-messages view has never been the main view that we present.)

But now web uses a "list" icon: image

That seems perfectly reasonable, and it's helpful to have the same icon on web as on mobile. So let's switch to that one.

(From chat thread here.)

gnprice avatar Mar 17 '22 18:03 gnprice

Can I work on this?

Vatsalsoni13 avatar Mar 18 '22 05:03 Vatsalsoni13

I have created a PR please look into it

wilsonfurtado2000 avatar Mar 19 '22 04:03 wilsonfurtado2000

i can change that icon can you assign me on this

avdhendra avatar Apr 15 '22 05:04 avdhendra

Hi, I'd like to help out on this issue.

dootMaster avatar Jul 23 '22 18:07 dootMaster

@dootMaster great! Please post a comment describing your proposed approach when you're ready. We can assign the issue to you once you have a rough plan. Thanks!

alya avatar Jul 26 '22 20:07 alya

@alya

The goal is to change the icon of mobile Zulip's All Messages tab to be congruent with the icon that currently exists in the browser Zulip app.

  • My investigation into the codebase shows me that HomeScreen.js contains a button component titled TopTabButton.
  • TopTabButton accepts a string property name that is passed into another component titled Icon.
  • The Icon component is sourced from Icons.js, a script that contains numerous functions that help build icons from the react-native-vector-icons package dependency.

Rough plan:

First, I will read the docs: Contributing, and Style Guide.

  1. Change the string property name passed in the TopTabButton component such that when it is consumed by the Icon function in Icons.js, an icon that is congruent to the "list" icon that currently exists on the browser Zulip app is returned.
  2. Run unit tests.
  3. Submit a PR and submit to code review stream on chat.zulip.org.

dootMaster avatar Jul 30 '22 23:07 dootMaster

Sounds good, thanks, @dootMaster! I've just assigned this issue to you.

chrisbobbe avatar Aug 01 '22 22:08 chrisbobbe

I've created a draft pull request. I'll also post this in the code review stream on the chat.

edit: tag for visibility @chrisbobbe

dootMaster avatar Aug 03 '22 00:08 dootMaster

I want to work on this issue, please assign it to me

aritroCoder avatar Nov 02 '22 13:11 aritroCoder

Sure, I see the current PR #5471 has been awaiting a revision from the author for some time, but it looks like we have a proposed implementation; see https://github.com/zulip/zulip-mobile/pull/5471#issuecomment-1230861599. You can try doing that.

chrisbobbe avatar Nov 02 '22 17:11 chrisbobbe

Hi, things got a little busy for me. The revision is done; I've created a PR awaiting review.

dootMaster avatar Nov 03 '22 00:11 dootMaster

@dootMaster What's the right PR to look at? #5458? (I guess GitHub incorrectly show it as merged?)

alya avatar Nov 03 '22 19:11 alya

@alya #M5532. Yeah, GitHub is incorrectly showing the other as merged.

dootMaster avatar Nov 03 '22 21:11 dootMaster

I checked the app, we still have this issue. I want to work on this.

entrymaster avatar Feb 09 '23 15:02 entrymaster

I think the next step here is for maintainers to re-review #5532.

alya avatar Feb 22 '23 22:02 alya

@alya Is it resolved?

ashutosh887 avatar Sep 06 '23 08:09 ashutosh887