ChessHub icon indicating copy to clipboard operation
ChessHub copied to clipboard

piece hides below neighbour during hover

Open moonpatel opened this issue 2 years ago • 12 comments

image-hover-chess The selected piece hides behind the neighbor piece when it is hovered over other pieces coming after it on the board. There maybe some CSS issue in Piece.jsx or Cell.jsx.

moonpatel avatar Oct 11 '23 23:10 moonpatel

Hi, @moonpatel can I work on this?

droy117 avatar Oct 12 '23 07:10 droy117

Yeah sure, you can work on this, @slayeh17

moonpatel avatar Oct 12 '23 18:10 moonpatel

hey @moonpatel, I am using docker to run the application, and when I sign up or login I get a "Something went wrong" message.

this is what shows when I run sudo docker-compose up

Starting chesshub_frontend_1 ... done
Attaching to chesshub_frontend_1, chesshub_backend_1
backend_1   | 
backend_1   | > [email protected] start
backend_1   | > node app.js
backend_1   | 
frontend_1  | 
frontend_1  | > [email protected] dev
frontend_1  | > vite --host
frontend_1  | 
backend_1   | Listening on server 8080
frontend_1  | 
frontend_1  |   VITE v4.4.7  ready in 264 ms
frontend_1  | 
backend_1   | Error in connecting to database
frontend_1  |   ➜  Local:   http://localhost:5173/
frontend_1  |   ➜  Network: http://172.18.0.2:5173/
backend_1   | node:internal/process/promises:289
backend_1   |             triggerUncaughtException(err, true /* fromPromise */);
backend_1   |             ^
backend_1   | 
backend_1   | Error: spawn engine/stockfish16.exe ENOENT
backend_1   |     at ChildProcess._handle.onexit (node:internal/child_process:286:19)
backend_1   |     at onErrorNT (node:internal/child_process:484:16)
backend_1   |     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
backend_1   |   errno: -2,
backend_1   |   code: 'ENOENT',
backend_1   |   syscall: 'spawn engine/stockfish16.exe',
backend_1   |   path: 'engine/stockfish16.exe',
backend_1   |   spawnargs: []
backend_1   | }
backend_1   | 
backend_1   | Node.js v20.8.0
chesshub_backend_1 exited with code 1

droy117 avatar Oct 14 '23 08:10 droy117

hey @moonpatel, I am using docker to run the application, and when I sign up or login I get a "Something went wrong" message.

this is what shows when I run sudo docker-compose up

Starting chesshub_frontend_1 ... done
Attaching to chesshub_frontend_1, chesshub_backend_1
backend_1   | 
backend_1   | > [email protected] start
backend_1   | > node app.js
backend_1   | 
frontend_1  | 
frontend_1  | > [email protected] dev
frontend_1  | > vite --host
frontend_1  | 
backend_1   | Listening on server 8080
frontend_1  | 
frontend_1  |   VITE v4.4.7  ready in 264 ms
frontend_1  | 
backend_1   | Error in connecting to database
frontend_1  |   ➜  Local:   http://localhost:5173/
frontend_1  |   ➜  Network: http://172.18.0.2:5173/
backend_1   | node:internal/process/promises:289
backend_1   |             triggerUncaughtException(err, true /* fromPromise */);
backend_1   |             ^
backend_1   | 
backend_1   | Error: spawn engine/stockfish16.exe ENOENT
backend_1   |     at ChildProcess._handle.onexit (node:internal/child_process:286:19)
backend_1   |     at onErrorNT (node:internal/child_process:484:16)
backend_1   |     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
backend_1   |   errno: -2,
backend_1   |   code: 'ENOENT',
backend_1   |   syscall: 'spawn engine/stockfish16.exe',
backend_1   |   path: 'engine/stockfish16.exe',
backend_1   |   spawnargs: []
backend_1   | }
backend_1   | 
backend_1   | Node.js v20.8.0
chesshub_backend_1 exited with code 1

Make sure to set the .env file based on the .env.example templaye then build again. Also I have made some changes in docker-compose.yml file so pull before building again.

moonpatel avatar Oct 14 '23 15:10 moonpatel

Okay thanks 👍

droy117 avatar Oct 14 '23 17:10 droy117

Hi, @moonpatel can I work on this as well?

DeepRahangdale avatar Oct 14 '23 20:10 DeepRahangdale

Yeah, @DeepRahangdale you can work on this. @slayeh17 is already working on this issue so I will merge whoever first makes a pr

moonpatel avatar Oct 14 '23 21:10 moonpatel

Hey, @moonpatel I am unassigning myself, can't work on this unfortunately because I don't have much experience with React yet.

droy117 avatar Oct 17 '23 14:10 droy117

Hey, @moonpatel I am unassigning myself, can't work on this unfortunately because I don't have much experience with React yet.

Sure, @slayeh17 you can try looking for some other good first issues or try out the hosted application to find some bugs

moonpatel avatar Oct 17 '23 16:10 moonpatel

Hi, @moonpatel can I work on this as well?

Hey @DeepRahangdale are you still working on this? Would you like me to assign this to you?

moonpatel avatar Oct 17 '23 16:10 moonpatel

@moonpatel haven't started yet... will work on homepage instead of this!!!!

DeepRahangdale avatar Oct 17 '23 16:10 DeepRahangdale

Ok tell me afterwards if you want to work on this

@moonpatel haven't started yet... will work on homepage instead of this!!!!

moonpatel avatar Oct 17 '23 19:10 moonpatel