After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 775256 - roomStack: Display error message for a given room if we fail to join it.
roomStack: Display error message for a given room if we fail to join it.
Status: RESOLVED OBSOLETE
Product: polari
Classification: Applications
Component: general
3.23.x
Other Linux
: Normal normal
: ---
Assigned To: Polari maintainers
Polari maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-28 16:23 UTC by Bastian Ilsø
Modified: 2017-10-28 17:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mockup illustrating error handling when joining rooms (42.24 KB, image/png)
2016-11-28 16:23 UTC, Bastian Ilsø
Details

Description Bastian Ilsø 2016-11-28 16:23:09 UTC
Created attachment 340929 [details]
mockup illustrating error handling when joining rooms

If we attempt to join a room but fail to do so we need to have some error handling in place. The error handling should enable the user to retry joining the room again later.

The attached mockup shows a GtkInfoBar containing the error message along with a "Retry" button. The GtkInfoBar is only shown for rooms that we failed to join.

The error should explain why joinng the room failed and there can be several reasons, the most interesting being:

Error.CHANNEL_FULL
The channel is full. 

Error.CHANNEL_BANNED
You have been banned from the room.

Error.CHANNEL_INVITE_ONLY
The channel is invite-only

Error.CHANNEL_KICKED
You've been kicked from a channel.

See also:
https://people.gnome.org/~gcampagna/docs/TelepathyGLib-0.12/TelepathyGLib.Error.html

As you can see in the Error class, there are more errors but they are too technical and could probably just go behind a generic "Polari encountered an error while attempting to join this room."
Comment 1 Bastian Ilsø 2016-11-28 16:23:53 UTC
Adding newcomers keyword.
Comment 2 Florian Müllner 2017-10-28 17:33:42 UTC
Moved to https://gitlab.gnome.org/GNOME/polari/issues/17