Git Product home page Git Product logo

ft_transcendance's Introduction

ft_transcendance's People

Contributors

astriddelcros avatar aurelien-brabant avatar busshi avatar matboivin avatar nnevalti avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

ft_transcendance's Issues

Replace socket endpoint dynamically for production

Currently, it is:

  • in Chat src/nextjs-front/context/chat/ChatProvider.tsx
const socketIo = io("localhost:8080/chat");
  • in Games hub src/nextjs-front/pages/hub.tsx
socket = io("localhost:8080/game");

localhost:8080 must be replaced in production

Fix DraggableEvent mixed with other chat events

If you click on the select menu (all/public/private/protected) which is an HTMLInputEvent, the chat position is reset to the top-left corner:

Screenshot 2022-04-06 at 17-51-29 Screenshot

Like this:
Screenshot 2022-04-06 at 17-51-47 Screenshot

See src/nextjs-front/components/Chat.tsx in <Draggable>

Remove NextJS's warnings

There are currently a ton of lint warnings when building the app.
We need to decrease this number as much as possible.

Send Pong invite from chat

User should be able to send invitations to play Pong to other users (by clicking on the Pong icon) from these two views:

  • src/nextjs-front/components/chat/DirectMessage.tsx

Screenshot at 2022-05-15 12-58-41

  • src/nextjs-front/components/chat/GroupUsers.tsx

Screenshot at 2022-05-15 13-00-23

Finish the hub page

  • Implement some layout (grid?) with the current games on which the User can click in order to watch it
  • Finish the layout for the matchmaking system

Wrong 42 oauth redirect URI

Fix oauth redirect uri to redirect on port 8080
Do not display an error message unless an error has been reported when validating 42 login

Remove former layout

New layout is: ft_transcendance/src/nextjs-front/components/layout/dashboard-layout.tsx

Then, to be removed:

  • src/nextjs-front/components/DashboardLayout.tsx
  • src/nextjs-front/components/DashboardSideNav.tsx
  • The dashboardNavItems in src/nextjs-front/constants/nav.ts

Spectator mode

  • The User can watch any games currently running between 2 other users in real time.
  • The User cannot interfere with the game.

Fix the seeder

โš ๏ธ Depends on: #98 (wait for this PR to be merged before doing anything)

The seeder doesn't compile anymore (including in dev).

Implement basic API route protection

Currently API routes are, for the most part, not subject to any authentication/permission requirements.
We need to implement it.

NestJS provides the concept of guard for setting up such restrictions, so we will make use of them.

Note: for now we will ignore 2FA, we'll address this later.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.