- Added a code transformation to lowercase before sending to the server in the Join component.
- Modified the SelectRoom component to use a list layout instead of a dropdown menu.
- Added a click event to each room item in the SelectRoom component to update the selected room.
- Updated the styles for the SelectRoom component to improve readability.
fix: Handle errors in merkle proof generation
- Added error handling for generating merkle proofs with rate commitments and identity commitments in the Prover module.
style: Adjust grid template columns in Chat page
- Adjusted the grid template columns in the Chat page to make the sidebar narrower.
fix: Improve error handling in InputPrompt component
- Added validation for empty messages and messages that exceed the character limit.
- Added error handling for cases where generating merkle proofs fail, displaying appropriate error messages.
style: Adjust padding in Sidebar component
- Adjusted the padding in the Sidebar component to improve spacing.
feat: Reset state on identity deletion
- Reset the state on identity deletion by setting identityStore, configStore, roomsStore, selectedRoom, and messageStore to their initial values.
- Added SelectRoom.svelte component to allow users to select a room.
- Updated the layout for the Chat page to include the SelectRoom component in the top drawer.
- Refactored the set and update functions in `storeFactory.ts` to use more descriptive variable names.
- Updated the `set` function to use the `value` parameter instead of `newValue`.
- Updated the `updateRoomStore` function in `rooms.ts` to directly update the `roomsStore` and `serverStore`.
- Removed unnecessary lines of code from `updateRoomStore` and fixed indentation.
- Added comments to clarify the purpose of the code in `updateRooms` function in `rooms.ts`.
- Added code to limit the number of messages in the message store in `ChatRoom.svelte`.
- Updated the `currentRoomMessages` loop in `Conversation.svelte` to not reverse the order.
- Added a debug statement in `InputPrompt.svelte` to print the message being sent.
Update the default server URL in `defaults.ts` to `'https://server.discreetly.chat/'`.
Add a new function `getMessages()` in `server.ts` to retrieve messages from a server.
In `ChatRoom.svelte`, call `getMessages()` to fetch messages from the selected server and update the message store.
In `InputPrompt.svelte`, remove console log statements.
In `BackupIdentity.svelte`, add a cursor style to the QR Code button.
In `DeleteIdentity.svelte`, reset the application configuration after deleting the identity.