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

removed github link for bots #1006

Merged
merged 4 commits into from Apr 23, 2021
Merged

removed github link for bots #1006

merged 4 commits into from Apr 23, 2021

Conversation

Surtt
Copy link
Collaborator

@Surtt Surtt commented Apr 23, 2021

github-icon closes #789
Убрал ссылку на гитхаб у ботов в профиле юзера

@@ -92,10 +89,15 @@ const UserProfile = () => {
</div>
<h1 className="mt-5 mb-0">
{stats.user.name}
{stats.user.githubId && (
<a className="text-muted" href={`https://github.com/${stats.user.githubName}`}>
{stats.user.githubId && stats.user.githubName ? (
Copy link
Contributor

Choose a reason for hiding this comment

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

better to do just

stats.user.githubName

Copy link
Collaborator

Choose a reason for hiding this comment

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

@Surtt И еще вопрос, зачем было переходить на тернарный оператор?

ReDBrother
ReDBrother previously approved these changes Apr 23, 2021
@@ -92,10 +89,15 @@ const UserProfile = () => {
</div>
<h1 className="mt-5 mb-0">
{stats.user.name}
{stats.user.githubId && (
<a className="text-muted" href={`https://github.com/${stats.user.githubName}`}>
{stats.user.githubId && stats.user.githubName ? (
Copy link
Collaborator

Choose a reason for hiding this comment

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

@Surtt И еще вопрос, зачем было переходить на тернарный оператор?

@codecov-commenter
Copy link

codecov-commenter commented Apr 23, 2021

Codecov Report

Merging #1006 (90fe63e) into master (de7db30) will increase coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1006      +/-   ##
==========================================
+ Coverage   72.88%   72.93%   +0.05%     
==========================================
  Files         108      108              
  Lines        1966     1966              
==========================================
+ Hits         1433     1434       +1     
+ Misses        533      532       -1     
Impacted Files Coverage Δ
services/app/lib/codebattle/bot/chat_client.ex 0.00% <0.00%> (-8.70%) ⬇️
...es/app/lib/codebattle_web/channels/chat_channel.ex 96.66% <0.00%> (-3.34%) ⬇️
services/app/lib/codebattle/bot/player_server.ex 65.21% <0.00%> (ø)
...es/app/lib/codebattle_web/channels/game_channel.ex 86.36% <0.00%> (+6.06%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update de7db30...90fe63e. Read the comment docs.

@ReDBrother ReDBrother merged commit dc0da97 into master Apr 23, 2021
@ReDBrother ReDBrother deleted the bot-url-github branch April 23, 2021 19:16
@ReDBrother
Copy link
Collaborator

Здорово. Поздравляю с первым принятым пр ;)

@Surtt
Copy link
Collaborator Author

Surtt commented Apr 23, 2021

Благодарю :)

@vtm9
Copy link
Contributor

vtm9 commented Apr 24, 2021

Yay

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

Successfully merging this pull request may close these issues.

У ботов ссылка на гитхаб генерируется типа https://github.com/null
4 participants