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

803# LanguagePicker built with react-select #840

Merged
merged 2 commits into from Oct 21, 2020
Merged

803# LanguagePicker built with react-select #840

merged 2 commits into from Oct 21, 2020

Conversation

possesion
Copy link
Contributor

Переписал пикер на react-select. Библиотеку ставил через yarn. Финальная версия выбора языка программирования

ReDBrother
ReDBrother previously approved these changes Oct 18, 2020
Comment on lines +49 to +55
<Select
styles={customStyle}
className="col-12 col-xl-7"
defaultValue={defaultLang}
onChange={changeLang}
options={options}
/>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Офигенно!, Мне даже обидно, что сразу не догадался предложить готовый компонент с логикой. Спасибо))

@codecov-io
Copy link

Codecov Report

Merging #840 into master will decrease coverage by 0.70%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #840      +/-   ##
==========================================
- Coverage   79.46%   78.75%   -0.71%     
==========================================
  Files          88       88              
  Lines        1597     1605       +8     
==========================================
- Hits         1269     1264       -5     
- Misses        328      341      +13     
Impacted Files Coverage Δ
services/app/lib/codebattle/chat/server.ex 67.85% <0.00%> (-21.43%) ⬇️
...es/app/lib/codebattle_web/channels/chat_channel.ex 80.00% <0.00%> (-16.67%) ⬇️
...es/app/lib/codebattle_web/channels/game_channel.ex 80.32% <0.00%> (-6.56%) ⬇️
services/app/lib/codebattle/user/scope.ex 89.47% <0.00%> (-3.86%) ⬇️
...debattle_web/controllers/api/v1/user_controller.ex 88.88% <0.00%> (+1.38%) ⬆️
services/app/lib/codebattle/bot/player_server.ex 68.18% <0.00%> (+1.51%) ⬆️
.../lib/codebattle_web/controllers/page_controller.ex 75.00% <0.00%> (+8.33%) ⬆️
services/app/lib/codebattle/bot/chat_client.ex 9.09% <0.00%> (+9.09%) ⬆️

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 6627a3b...386d266. Read the comment docs.

@ReDBrother ReDBrother merged commit 12132f1 into hexlet-codebattle:master Oct 21, 2020
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.

None yet

3 participants