Skip to content

ProfileScreen: Use NavRows and a TextRow instead of ZulipButtons #5688

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chrisbobbe
Copy link
Contributor

We've been using a NavRow and a SwitchRow for the first two interactive items ("Set your status" and "Invisible mode"), and I think the screen looks more coherent if we use NavRows and a TextRow for these other interactive items too. For one thing, now all the text on the screen is the same color.

Before After
image image
image image

@chrisbobbe chrisbobbe requested a review from gnprice March 15, 2023 18:57
@chrisbobbe
Copy link
Contributor Author

Possibly we want the rows to have icons? I looked to the settings screen and didn't find a pattern to follow; just filed #5687 for that.

@chrisbobbe
Copy link
Contributor Author

Possibly we want the rows to have icons? I looked to the settings screen and didn't find a pattern to follow; just filed #5687 for that.

In #5687 (comment) @terpimost said it's OK for a row to include or not include an icon; we don't need them to be all-or-nothing. I assume that would apply here too.

@chrisbobbe chrisbobbe requested a review from alya April 4, 2023 18:18
We've been using a `NavRow` and a `SwitchRow` for the first two
interactive items ("Set your status" and "Invisible mode"), and I
think the screen looks more coherent if we use `NavRow`s and a
`TextRow` for these other interactive items too. For one thing, now
all the text on the screen is the same color.
@chrisbobbe chrisbobbe force-pushed the pr-profile-screen-rows branch from e216c0b to 85b20aa Compare April 6, 2023 22:12
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant