Skip to content

Conversation

gnprice
Copy link
Member

@gnprice gnprice commented Nov 7, 2022

Inspired by #5506 (comment) .


user [nfc]: Inline "card" into trivial "screen" wrapper UsersScreen

user [nfc]: Rename NewGroupPmScreen from CreateGroupScreen

The old name was highly misleading about what this does.

Not to mention the directory it was in -- Zulip user groups are
completely unrelated to group-PM threads, which is what this screen
is actually about.

user [nfc]: Rename New1to1PmScreen from UsersScreen

There are lots of screens in the app that show users, or even
all users. This screen in reality has a very specific role.
Name it accordingly.

Also move it next to the parallel NewGroupPmScreen component.

user [nfc]: Have UserList get presence data, not callers

The old name was highly misleading about what this does.

Not to mention the directory it was in -- Zulip user groups are
completely unrelated to group-PM threads, which is what this screen
is actually about.
There are lots of screens in the app that show users, or even
all users.  This screen in reality has a very specific role.
Name it accordingly.

Also move it next to the parallel NewGroupPmScreen component.
@chrisbobbe chrisbobbe force-pushed the pr-new-pm-screens-cleanup branch from 0390f3a to b8e24c1 Compare November 10, 2022 01:44
@chrisbobbe chrisbobbe merged commit b8e24c1 into zulip:main Nov 10, 2022
@chrisbobbe
Copy link
Contributor

Thanks, LGTM! Merged.

@gnprice gnprice deleted the pr-new-pm-screens-cleanup branch November 10, 2022 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants