Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes across different files to improve the backend functionality and enhance the frontend user experience. The most important changes include modifications to the backend server logic, updates to package configurations, and enhancements to the frontend components.
Backend improvements:
backend/index.js
: Improved error handling by adding listeners for unhandled promise rejections and uncaught exceptions.backend/server.js
: Added new socket event handlers for message emission, room deletion, and room updates, including handling different room types and resetting choices when necessary. [1] [2] [3] [4]backend/utils/utils.js
: Introduced a utility functionarraysAreEqual
to compare arrays.Package updates:
backend/package-lock.json
andbackend/package.json
: Updated the project name topoker-planning
and incremented the version to1.4.0
. [1] [2]package.json
: Synchronized the version update to1.4.0
.Frontend enhancements:
src/app.scss
: Added styles for the new avatar container, improving the user interface for avatar selection.src/lib/components/EditConfiguration.svelte
: Created a new component for editing room configurations, including avatar selection, team input, and room type selection.src/lib/components/Card.svelte
: Added acanRemove
property to control the card removal functionality. [1] [2]src/lib/components/Code.svelte
: Simplified the QR code generation by removing theurlFormatted
function and directly using theurl
prop. [1] [2] [3]src/lib/components/Textarea.svelte
: Updated border styles for better visual consistency. [1] [2] [3]