Skip to content
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

Do not show room names when the user is not part of it #1496

Conversation

nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Jan 30, 2019

Follow up to #1426

Views:

  • Black - Owner of the files
  • White - Owner of the rooms

Shares:

  • Shared to room "Playdowns"
  • Shared to room without a name set
  • Shared in one-to-one conversation between test1 and test2

bildschirmfoto von 2019-01-30 12-14-09

@nickvergessen nickvergessen added 3. to review bug feature: upload & shares & voice 📤🎙️ Sharing files into a chat and audio recordings labels Jan 30, 2019
@nickvergessen nickvergessen added this to the 💚 Next Major milestone Jan 30, 2019
@nickvergessen
Copy link
Member Author

/backport to stable15

@nickvergessen
Copy link
Member Author

/backport to stable14

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the followup/1426/do-not-show-room-names-when-the-user-is-not-part-of-it branch from b05fed6 to 8949585 Compare January 30, 2019 11:13
@nickvergessen
Copy link
Member Author

Functional tests pass locally, merging

@nickvergessen nickvergessen merged commit 6da5a21 into master Jan 30, 2019
@nickvergessen nickvergessen deleted the followup/1426/do-not-show-room-names-when-the-user-is-not-part-of-it branch January 30, 2019 12:46
@backportbot-nextcloud
Copy link

backport to stable15 in #1497

@backportbot-nextcloud
Copy link

The backport to stable14 failed. Please do this backport manually.

}
}
} else if ($roomName === '') {
$roomName = $this->l->t('Unnamed conversation');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When the room has no name I would either return the list of participants (which would be consistent with how unnamed rooms are shown in the main Talk UI) or an empty string so clients can decide the best way to show the lack of name.

For example, in the share tab of the Files app, when a file is shared with a user in a room with no name now it shows Shared with you and the conversation Unnamed conversation by user0; before it showed Shared with you in a conversation by user0, which in my opinion is better.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, but before that, the list of (re-)shares listed it as (conversation) with an empty avatar. Certainly a worse option.
bildschirmfoto von 2019-01-31 11-58-15

Anyway, I don't think neither is too important and in the future we should prevent empty room names, as they just cause too much weird behaviour

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, but before that, the list of (re-)shares listed it as (conversation) with an empty avatar. Certainly a worse option.

I agree, but that was a bug in the Sharing tab, not in Talk itself.

Anyway, I don't think neither is too important and in the future we should prevent empty room names, as they just cause too much weird behaviour

OK.

@nickvergessen nickvergessen mentioned this pull request Apr 10, 2019
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug feature: upload & shares & voice 📤🎙️ Sharing files into a chat and audio recordings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants