ContriHUB / PlayTopia

0 stars 11 forks source link

Add dark theme and light theme feature #2

Open silkie261001 opened 1 year ago

silkie261001 commented 1 year ago

There should be one button or slider to turn light theme or dark theme

theDevSoham commented 1 year ago

Hey @silkie261001 can I give a go to this issue? If so please assign me

theDevSoham commented 1 year ago

@silkie261001 I'm getting error on Mongoose connect. Could you please help me out. I checked that the code is using process.env.MONGO_URI at backend/server.js on line number 118. Currently, the repo doesn't have any .env.example which I can convert to .env

Screenshot from 2023-10-07 13-07-44

rituraj12797 commented 1 year ago

please assign issue to me

sharmavasant commented 1 year ago

can u assign me this issue

ujjwal13818 commented 1 year ago

Hi @silkie261001 sir, a simple if-else statement in javascript with some CSS properties will do the work. Please assign this to me.

shikhartheone commented 1 year ago

Maam/Sir, I have been tasked with addressing the current issue on ContriHub. However, I kindly request an extension of the deadline, as I am currently halfway through the resolution process. Please consider reassigning this issue to me, allowing for the necessary additional time to ensure its successful completion. The original time allocated for this assignment is expected to expire at approximately 3:40 PM in ContriHub. I kindly request that this issue be reassigned to me to allow for the necessary time extension to ensure a thorough and successful resolution.

silkie261001 commented 1 year ago

It is a competition and it is not allowed

On Mon, Oct 9, 2023, 1:19 PM Shikhar Gupta @.***> wrote:

Maam/Sir, I have been tasked with addressing the current issue on ContriHub. However, I kindly request an extension of the deadline, as I am currently halfway through the resolution process. Please consider reassigning this issue to me, allowing for the necessary additional time to ensure its successful completion. The original time allocated for this assignment is expected to expire at approximately 3:40 PM in ContriHub. I kindly request that this issue be reassigned to me to allow for the necessary time extension to ensure a thorough and successful resolution.

— Reply to this email directly, view it on GitHub https://github.com/ContriHUB/PlayTopia/issues/2#issuecomment-1752499264, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASRKYI5I4N62MCG32M4JEKLX6OT7PAVCNFSM6AAAAAA5WVSRIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSGQ4TSMRWGQ . You are receiving this because you were mentioned.Message ID: @.***>

harshit1142 commented 1 year ago

I am facing issue while registration "Error : try again "

{ username: 'user1233', email: 'pandey@gmail.com', password: '123456' } user register request came register fail => MongoServerError: E11000 duplicate key error collection: playTopia.users index: email_1 dup key: { email: "pandey@gmail.com" } at C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\operations\insert.js:53:33 at C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\connection_pool.js:333:25 at C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\sdam\server.js:210:17 at handleOperationResult (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\sdam\server.js:326:20) at Connection.onMessage (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\connection.js:243:9) at MessageStream. (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\connection.js:61:60) at MessageStream.emit (node:events:514:28) at processIncomingData (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\message_stream.js:125:16) at MessageStream._write (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\message_stream.js:33:9) at writeOrBuffer (node:internal/streams/writable:392:12) { index: 0, code: 11000, keyPattern: { email: 1 }, keyValue: { email: 'pandey@gmail.com' }, [Symbol(errorLabels)]: Set(0) {} }

silkie261001 commented 1 year ago

have you connected db

harshit1142 commented 1 year ago

have you connected db

Yes Ma'am

silkie261001 commented 1 year ago

do you have .env file

harshit1142 commented 1 year ago

do you have .env file

No , it is hidden by .gitignore file

Error: { username: 'user1233', email: 'pandey@gmail.com', password: '123456' } user register request came register fail => MongoServerError: E11000 duplicate key error collection: playTopia.users index: email_1 dup key: { email: "pandey@gmail.com" } at C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\operations\insert.js:53:33 at C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\connection_pool.js:333:25 at C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\sdam\server.js:210:17 at handleOperationResult (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\sdam\server.js:326:20) at Connection.onMessage (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\connection.js:243:9) at MessageStream. (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\connection.js:61:60) at MessageStream.emit (node:events:514:28) at processIncomingData (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\message_stream.js:125:16) at MessageStream._write (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\message_stream.js:33:9) at writeOrBuffer (node:internal/streams/writable:392:12) { index: 0, code: 11000, keyPattern: { email: 1 }, keyValue: { email: 'pandey@gmail.com' }, [Symbol(errorLabels)]: Set(0) {} }

silkie261001 commented 1 year ago

send your email id i will give .env file then try

harshit1142 commented 1 year ago

send your email id i will give .env file then try

harshitinfinix8@gmail.com