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

Add guest user suffix, depending on organization setting

Open neiljp opened this issue 1 year ago • 8 comments

From feature level 216 (Zulip 8.0), realm_enable_guest_user_indicator is present in the response from register (and in events), which should control whether we add a (guest) suffix to users with that role.

The web app UI needs checking for which locations this appears, which likely needs a development environment in order to explore behavior for when this setting is enabled or otherwise.

We should also confirm that

  • the suffix wasn't present unconditionally prior to this
  • this behaves correctly in a backwards-compatible way

However, this will also need tests, which may need to be feature level (ZFL) dependent.

neiljp avatar Nov 29 '23 00:11 neiljp

@neiljp can i pick this up ?

AnkurPrabhu avatar Dec 22 '23 05:12 AnkurPrabhu

@AnkurPrabhu Sure! Apologies, I didn't see your message earlier!

neiljp avatar Jan 06 '24 01:01 neiljp

This is implemented in mobile via zulip/zulip-mobile#5804, and based on the release announcement on chat.zulip.org, hides the guest suffix only when on 8.0+ and the organization has the setting to do so. There are also screenshots that suggest places that will need updating in zulip/zulip-mobile#5809.

neiljp avatar Jan 06 '24 01:01 neiljp

@zulipbot claim

AnkurPrabhu avatar Jan 06 '24 12:01 AnkurPrabhu

Welcome to Zulip, @AnkurPrabhu! We just sent you an invite to collaborate on this repository at https://github.com/zulip/zulip-terminal/invitations. Please accept this invite in order to claim this issue and begin a fun, rewarding experience contributing to Zulip!

Here's some tips to get you off to a good start:

As you work on this issue, you'll also want to refer to the Zulip code contribution guide, as well as the rest of the developer documentation on that site.

See you on the other side (that is, the pull request side)!

zulipbot avatar Jan 06 '24 12:01 zulipbot

Hey @neiljp just wanted to say that i am still working on this issue some of the changes are done and i will raise a pr and if you approve it then i will start with the testing part

AnkurPrabhu avatar Jan 09 '24 18:01 AnkurPrabhu

@neiljp please take a look at the pr, The tests are failing as I have not fixed them because i wanted to know if my approach is right and also wanted to know other places where the change needs to be done and have missed it . will fix the test with the review changes

AnkurPrabhu avatar Jan 12 '24 21:01 AnkurPrabhu

@AnkurPrabhu You have been unassigned from this issue because you have not made any updates for over 14 days. Please feel free to reclaim the issue if you decide to pick up again. Thanks!

zulipbot avatar Mar 15 '24 01:03 zulipbot