-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
No error when trying to add an instance without organisation #596
Comments
Yeah, it's a known issue. We'll fix this once we improve our validation logic, see https://github.com/zulip/zulip-electron/issues/573. |
@akashnimare ok, I'm continuing the discussion in #573 for now. Thanks for the link |
@akashnimare yeah it's related but I think we shouldn't wait to fix this particular issue in this particular situation, because it makes the self-hosted validation logic more robust while we think about a full refactor handling both zulipchat.com and self-hosted issues. What do you think? |
I think a PR for this would be great; it seems like a small fix that is useful independent of when we end up doing #573. |
Can I work on this @timabbott? Since I have already sent a PR for the previous issue I was working on. |
@NikhilPhalange feel free to work on this. |
@zulipbot claim |
Hello @NikhilPhalange, it looks like you've currently claimed 1 issue in this repository. We encourage new contributors to focus their efforts on at most 1 issue at a time, so please complete your work on your other claimed issues before trying to claim this issue again. We look forward to your valuable contributions! |
I am not able to understand this issue as soon as I initiate a zulip instance, I am shown this which is okay, I guess. Please see the screenshot attached, this is the page which comes after we add an instance. @superbiche @akashnimare Till then I am working on some other issue, I hope it's fine. |
@Nikhil-Vats I think the issue is that when you're setting up a Zulip server, then the install script prints a link that you then visit in your browser to set up the organization. |
@zulipbot claim |
What's wrong
Zulip desktop client doesn't display any error or information when trying to add a Zulip instance without any Organisations in it.
Steps to reproduce
Expected
Zulip should give a clear, helpful message so the user understands he needs to create the org first / ask the Zulip instance admin to create the org.
Possible resolutions
https://github.com/zulip/zulip-electron/blob/925fec71d5542dd124e0b7065023195dac364e12/app/renderer/js/utils/domain-util.js#L215 is looking for the realm icon and not expecting it to be missing.
Adding a
else
block here to render an alert would suffice.OS
Mac OS Mojave 10.14.1
I can PR this if needed.
EDIT: I'm leaving https://zulip2.superbiche.co (my testing instance without org) as-is so you can easily reproduce this behavior. I'll shut it down when we've fixed it and checked it works.
The text was updated successfully, but these errors were encountered: