Skip to content

Added sorting the list of opponents in the "Choose opponent": online users appear before offline users.#2145

Merged
vtm9 merged 2 commits intohexlet-codebattle:masterfrom
AlinLob:fix/sort-online-then-offline
May 9, 2025
Merged

Added sorting the list of opponents in the "Choose opponent": online users appear before offline users.#2145
vtm9 merged 2 commits intohexlet-codebattle:masterfrom
AlinLob:fix/sort-online-then-offline

Conversation

@AlinLob
Copy link
Contributor

@AlinLob AlinLob commented Apr 15, 2025

Fixes #1766

@AlinLob AlinLob force-pushed the fix/sort-online-then-offline branch from e31030f to cfba364 Compare April 15, 2025 18:14
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.08%. Comparing base (5128691) to head (cfba364).
Report is 75 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2145      +/-   ##
==========================================
- Coverage   59.67%   59.08%   -0.59%     
==========================================
  Files         254      256       +2     
  Lines        5285     5358      +73     
==========================================
+ Hits         3154     3166      +12     
- Misses       2131     2192      +61     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

const dispatch = useDispatch();
const currentUserId = useSelector(selectors.currentUserIdSelector);
const { presenceList } = useSelector(selectors.lobbyDataSelector);
console.log('presenceList:', presenceList);
Copy link
Contributor

Choose a reason for hiding this comment

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

let's remove this console.log

@vtm9 vtm9 merged commit ac234d5 into hexlet-codebattle:master May 9, 2025
1 check failed
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.

Bug: Список игроков при выборе друга

3 participants