-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature: Add chat actions #104
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
- add mock chats to seed database - reenable auth guard - add hooks to chat popover modal
- avoid server backend shutdown
vcwild
requested review from
iaurg,
julianochoi and
GuiMartinelli
as code owners
November 20, 2023 23:39
GuiMartinelli
approved these changes
Nov 21, 2023
iaurg
pushed a commit
that referenced
this pull request
Nov 23, 2023
* wip: add chat actions * wip: add guards back to project - add mock chats to seed database - reenable auth guard - add hooks to chat popover modal * fix: update components * fix: add owner to seeded chats * fix: update seed to render chat owner * fix: add warning to change user * fix: add onloading state to component * fix: drop exception handler - avoid server backend shutdown * feat: implement demote to member * fix: lint files
vcwild
added a commit
that referenced
this pull request
Dec 5, 2023
* feat: add docker start into backend * fix: import not declared into build * feat: update docker based on nextjs example * refactor: docker compose * feat: add new configs into docker * feat: add configure to make up for validation * Feat/users status (#97) * feat: add pino logger and update prisma to fix bug * feat: add global logger * feat: instantiate logger into chat * refactor: remove dev container * feat: move post create command * refactor: simplify docker files * feat: create a temporary db for dev * refactor: move declarations * refactor: logger configs * feat: add status into user connection * fix: default user status creation to offline * feat: add status requests * feat: return status and display name on leaderboard * feat: update status component to use status from server * feat: update user type and revalidate query * Feat/83-image-upload (#86) * feat: create avatar upload route * wip: opening map to uploads folder * feat: update avatar reference into user * feat: create avatar upload route * chore: add new todo * feat: expose dir to be public * feat: add new packages * fix: duplicated avatar module * fix: token flow over websocket * refactor: remove not used query * feat: add option to upload avatar in frontend * feat: rebase conflicts * refactor: remove files * Feat/user friends (#92) * feat: start user friends feature * chore: add uploads folder into gitignore * feat: create simple friend request functional * feat: add option to add,remove and list friends on front * feat: add global logger * feat: create a temporary db for dev * feat: add statuses into list friend * Feat/83-image-upload (#86) * feat: create avatar upload route * wip: opening map to uploads folder * feat: update avatar reference into user * feat: create avatar upload route * chore: add new todo * feat: expose dir to be public * feat: add new packages * fix: duplicated avatar module * fix: token flow over websocket * refactor: remove not used query * feat: add option to upload avatar in frontend * feat: rebase conflicts * refactor: remove files * feat: add pino logger and update prisma to fix bug * Feat/83-image-upload (#86) * feat: create avatar upload route * wip: opening map to uploads folder * feat: update avatar reference into user * feat: create avatar upload route * chore: add new todo * feat: expose dir to be public * feat: add new packages * fix: duplicated avatar module * fix: token flow over websocket * refactor: remove not used query * feat: add option to upload avatar in frontend * feat: rebase conflicts * refactor: remove files * feat: add global logger * fix: rollback argon2 * feat: add data into ignore * fix: build error * fix: duplicated value after merge * fix: duplicated import * fix: hardcoded localhost game socket (#106) * fix: hardcoded localhost game socket * fix: localhost hardcoded chat * Feature: Add chat actions (#104) * wip: add chat actions * wip: add guards back to project - add mock chats to seed database - reenable auth guard - add hooks to chat popover modal * fix: update components * fix: add owner to seeded chats * fix: update seed to render chat owner * fix: add warning to change user * fix: add onloading state to component * fix: drop exception handler - avoid server backend shutdown * feat: implement demote to member * fix: lint files * fix: chat width (#113) * Fix: Remove some bugs from chat context (#110) * fix: remove bugs - remove bug for chat gateway - fix bug where user was able to find promote to admin button * fix: remove a few more bugs from chat - add mute block handler when trying to send messages when the user is muted - simplify channelpopover handler logic --------- Co-authored-by: Italo A <[email protected]> * fix: downgrade nextjs * feat: update packages and configs * feat: update examples * feat: add restart into backend image * docs: add seed and reset example * fix: update command based on pdf * chore: update locj * chore: update nextjs * refactor: backend fast startup * Updates docker deployment details - Bumps node version to 20 (LTS) - Separates into multi-stage dev/build/prod - Updates prisma to work in latest alpine - Bumps backend package versions * Updates deployment details ## Backend - Updates backend database migration - Replaces backend wildcard CORS to FRONTEND_URL - Updates backend Dockerfile to use an entrypoint script ## Frontend - Reverts API to `with_credentials`for proper cookie handling - Bumps package versions - Moves types/lint packages to devDependencies - Adds multi-stage Dockerfile to production recommendations ## Docker Compose - Replaces restart policy to `unless-stopped` - Adds named volumes - Removes frontend volumes - Fixes frontend internal port to match external port * Simplifies backend entrypoint * chore: updates lockfile * Enables docker entrypoint again - Adds database url in the entrypoint to simplify prisma setup --------- Co-authored-by: Victor Wildner <[email protected]> Co-authored-by: Juliano <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Adds chat actions tooltip
Closes #61