Commit Graph

96 Commits

Author SHA1 Message Date
ca6b6b9ab1 drawing coming soon 2023-09-06 19:49:24 -04:00
aaa3044cfd invite all rooms 2023-09-06 19:25:18 -04:00
429e5ba4b9 updated admin invite page and set default action points to hearts 2023-09-06 18:31:00 -04:00
AtHeartEngineer
24491127ee checkpoint progress on experiences/demo 2023-09-06 18:08:03 -04:00
AtHeartEngineer
c33aaac1e9 fix(rate limit) rate limit was getting reset when page refreshed, 2023-08-31 21:34:05 -07:00
AtHeartEngineer
4e36c9e8a1 type cleanup 2023-08-31 19:49:54 -07:00
AtHeartEngineer
1ffef553fc better mobile epoch time 2023-08-31 11:13:44 -07:00
AtHeartEngineer
4ffa3e1bca All the action points 2023-08-31 01:22:08 -07:00
AtHeartEngineer
4b8943845a invite code if you have an identity already goes to settings page 2023-08-30 18:19:59 -07:00
AtHeartEngineer
11e1d7d77b updates to action points 2023-08-30 18:19:36 -07:00
AtHeartEngineer
ce4b9623ba invite page updates/cleanup 2023-08-30 13:37:59 -07:00
AtHeartEngineer
50dffe8304 excess epoch UX 2023-08-30 00:21:44 -07:00
AtHeartEngineer
b145b1de2c AP/Hearts, Settings Page, Chat formatting tweaks 2023-08-29 23:32:43 -07:00
AtHeartEngineer
71b3b9e597 Merge pull request #29 from Discreetly/chat-text-formatting
Chat text formatting
2023-08-30 00:35:03 -04:00
Blake Duncan
0cfac51241 Don't call DOMpurify on the server 2023-08-29 17:56:54 -04:00
Blake Duncan
7838fac50f Add emoji support 2023-08-29 17:51:04 -04:00
Blake Duncan
cdb475f56a Clean up 2023-08-29 17:33:38 -04:00
Blake Duncan
498301c27c Adding some libraries to update text chat and created BubbleText component 2023-08-29 16:48:16 -04:00
AtHeartEngineer
e500c3430e let people complete signup without backup 2023-08-29 13:28:27 -07:00
AtHeartEngineer
e94e85410f minor bug fixes, backup identity abstraction, alert toast message abstraction 2023-08-28 23:31:10 -07:00
AtHeartEngineer
5afa7835a5 link fixes 2023-08-28 12:34:39 -07:00
AtHeartEngineer
bca7abb810 link fix and about update 2023-08-28 12:08:00 -07:00
AtHeartEngineer
6d6cd43ea4 logo goes to chat if identity exists 2023-08-28 11:58:38 -07:00
AtHeartEngineer
03029989af change ? link button style 2023-08-28 11:56:40 -07:00
AtHeartEngineer
f2c87ac260 move ? link in header 2023-08-28 11:55:15 -07:00
AtHeartEngineer
6e7b16e8fb fix typo in url generation 2023-08-28 11:50:12 -07:00
AtHeartEngineer
3578cd41dc links to discord 2023-08-28 11:48:40 -07:00
AtHeartEngineer
aef09d90c0 url for invite codes 2023-08-28 11:44:12 -07:00
AtHeartEngineer
8658fd19e4 chore(UI): Adjust layout and add tooltips
This commit adjusts the layout in the chat page by widening the sidebar column. Tooltips have been added to provide additional information for the server and room selections. The footer has been temporarily commented out for further improvements in the future.
2023-08-28 02:20:29 -04:00
AtHeartEngineer
6d81f11acb Merge pull request #24 from Discreetly/alpha-fixes
Cleaned up Light Mode, fixed lots of small bugs/UX things, added admin invite feature
2023-08-28 01:41:06 -04:00
AtHeartEngineer
a62b6ae7de feat: Add loading component to Join form
- Added a loading component to the Join.svelte form to show a loading message when the invite code is being submitted.
- Updated the addCode function to set the loading variable to true before making the API call and set it back to false when the API call is completed.
- Added a msg variable to store any error messages returned by the API call and display them to the user.
- Updated the submit button to show a loading message when the loading variable is true and disable the button when there is no invite code.
- Added a new <aside> element to display the error message if there is one.
- Added a style tag to set the overflow-wrap style property for the <aside> element.

fix: Fix SelectRoom style issue

- Updated the SelectRoom.svelte component to use the variant-ghost class for the <select> element and set the background color and text color based on whether the room is selected or not.

fix: Update SelectServer component

- Updated the SelectServer.svelte component to use the variant-ghost class for the <select> element and added a margin to the component.
- Updated the add server button to use the variant-ghost class and added some margin to the button.

feat: Add loading component

- Added a new loading component to show a loading message and a progress indicator when the page is loading.

refactor: Update prover.ts

- Updated the logging in the genProof function in prover.ts to use console.info instead of console.debug to improve visibility of proof generation.

fix: Update postAuth function

- Added a new postAuth function to make a POST request with basic authentication to the API.
- Updated the createInvite function in server.ts to use the postAuth function to create invite codes with basic authentication.

feat: Add invite code functionality

- Added new types for invite codes and
2023-08-28 01:38:15 -04:00
d3a77e8f28 chore(gitignore) ignore vscode settings 2023-08-27 12:24:12 -04:00
AtHeartEngineer
ebf4fa0efa connection status 2023-08-26 00:30:41 -04:00
AtHeartEngineer
64e322969c connection status & system broadcasts 2023-08-26 00:10:02 -04:00
AtHeartEngineer
92298e2940 import bug fix 2023-08-25 23:57:50 -04:00
AtHeartEngineer
081e4c2a9f feat: Add toast notifications for system broadcasts
- Updated the layout component to include a toast component with a specific position.
- Modified the chat room component to import the toast store and show toast notifications for system broadcasts.
- Updated the chat room header component to adjust the positioning of circles on the canvas.
- Modified the input prompt component to include a custom message when the rate limit is reached.
2023-08-25 23:56:46 -04:00
AtHeartEngineer
a1b64ef288 messagesSent++ 2023-08-25 22:40:01 -04:00
AtHeartEngineer
e2788ad279 Merge pull request #23 from Discreetly/qol
refactored for better UI/UX
2023-08-25 01:05:12 -04:00
b0c0834a1a refactored for better UI/UX 2023-08-25 01:01:36 -04:00
AtHeartEngineer
8768a7721f Add error handling to rateLimit utility function 2023-08-23 20:33:39 -04:00
AtHeartEngineer
f299a84c4c Format Time Relative 2023-08-23 20:28:41 -04:00
AtHeartEngineer
ccc322334d feat: Improve Join functionality and SelectRoom component
- 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.
2023-08-23 19:48:43 -04:00
AtHeartEngineer
43fb6ab45f Merge pull request #18 from Discreetly/mobile
Add SelectRoom.svelte component and update layout for Chat page
2023-08-23 18:41:34 -04:00
AtHeartEngineer
ffb2931212 Add SelectRoom.svelte component and update layout for Chat page
- 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.
2023-08-23 18:40:58 -04:00
AtHeartEngineer
1ef80bc321 Refactor storage set and update functions, update roomStore and serverStore
- 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.
2023-08-23 16:59:38 -04:00
AtHeartEngineer
3d93182b13 removed testing route 2023-08-23 15:13:09 -04:00
AtHeartEngineer
490de3ea93 Merge pull request #17 from Discreetly/rate-limiter
Update the server address in `SelectServer.svelte` from `http://discr…
2023-08-23 15:09:39 -04:00
AtHeartEngineer
9e57131315 Update the server address in SelectServer.svelte from http://discreetly.chat/ to https://server.discreetly.chat/.
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.
2023-08-23 15:09:19 -04:00
AtHeartEngineer
6ee66af3cb Merge pull request #16 from Discreetly/rate-limiter
implement rate limiter properly in svelte
2023-08-23 12:59:58 -04:00
AtHeartEngineer
80f4f1815c implement rate limiter properly in svelte 2023-08-23 12:59:34 -04:00