Skip to content

Fixed:Broken image icon in left sidebar and typo in classname #630

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

Closed
wants to merge 0 commits into from

Conversation

Nikhil-Vats
Copy link
Collaborator

@Nikhil-Vats Nikhil-Vats commented Jan 18, 2019

What's this PR do?
The initial letter of Organistaion's name is shown instead of broken image when the app starts and typing mistake in main.js file in classname is fixed.

You have tested this PR on:

  • Windows
  • Linux/Ubuntu
  • macOS

@abhigyank
Copy link
Collaborator

Hello @NikhilPhalange, thanks for working on this.
Are we now showing the letter Z in case of broken image? From the discussion at czo what Akash actually meant by Z was the Zulip icon probably (not the letter Z).
Anyway, in such a case then, it'd be better to use the first letter of organization name and not any other letter. For this you can probably use this.props.name[0].

@Nikhil-Vats
Copy link
Collaborator Author

Thanks @abhigyank for the suggestion. I have changed the code and it shows the initial letter of the organisation's name now. I hope it is fine. In case of any issues, please inform me.

@zulipbot zulipbot added size: M and removed size: S labels Jan 20, 2019
@Nikhil-Vats
Copy link
Collaborator Author

@abhigyank Thanks for the suggestions. I have incorporated all of them. Please let me know if there are any more issues. Also, I want to work on other issues, so can you approve this PR or should I work without claiming(I can't claim any other issue while I am assigned one)?

margin-left: 17%;
border-radius: 4px;
}
content: attr(data-content);
Copy link
Collaborator

Choose a reason for hiding this comment

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

@NikhilPhalange You forgot to remove the parts of your code that was replaced.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@abhigyank Thanks a lot, I was incorporating the suggested changes for the first time, never did it before. Didn't know how it worked. Please inform me in case anything is left.

@zulipbot zulipbot added size: S and removed size: M labels Jan 20, 2019
@abhigyank
Copy link
Collaborator

Looks good @NikhilPhalange. Could you squash the commits into one commit?

@Nikhil-Vats
Copy link
Collaborator Author

@abhigyank I have squashed them in one commit, you can merge the PR now. Thanks a lot.

Copy link
Collaborator

@abhigyank abhigyank left a comment

Choose a reason for hiding this comment

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

Commit message needs to be fixed. Everything else is fine.

@Nikhil-Vats
Copy link
Collaborator Author

@abhigyank What needs to be changed-the main summary 'Fixed:Broken..... in classname' or the long message due to squashing?

@abhigyank
Copy link
Collaborator

Yes both. See Zulip's commit message guidelines - https://zulip.readthedocs.io/en/latest/contributing/version-control.html#commit-messages

Nikhil-Vats added a commit to Nikhil-Vats/zulip-electron that referenced this pull request Jan 23, 2019
Broken image icon was shown for a few seconds before realm character
icon replaced it. This replaces the broken image icon by realm character
in alt attribute. This fixes zulip#630.
@Nikhil-Vats
Copy link
Collaborator Author

@abhigyank The commit message is fixed. Thanks a lot for the guidance. I will make sure I adhere to these in my subsequent contributions.

Nikhil-Vats added a commit to Nikhil-Vats/zulip-electron that referenced this pull request Jan 29, 2019
Broken image icon was shown for a few seconds before realm character
icon replaced it. This replaces the broken image icon by realm character
in alt attribute. This fixes zulip#630.
@Nikhil-Vats
Copy link
Collaborator Author

@abhigyank Can you please tell me why the PR is not merged yet? Is it because it has not been tested on Ubuntu and OS, just curious to know the process?

@abhigyank
Copy link
Collaborator

It'll be merged once @akashnimare reviews it. He is currently recovering from surgery and busy with the release of the next update and probably hence the delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants