vasani-arpit / WBOT

A simple Web based BOT for WhatsApp™ in NodeJS 😜. Working as of 📅 Feb 4th, 2024
Other
987 stars 314 forks source link

Create a seperate popup page for some features [0.25.0] #280

Closed nikhilmaske-2001 closed 2 years ago

nikhilmaske-2001 commented 2 years ago

TODOs:

  1. Call function setupFeaturePage() without opening the chat

This PR contains the following changes:

  1. Implemented new privacy features like Blur Name, blur chats, blur photos and blur recent messages
  2. Dark mode feature
  3. Improved the color combination of smartreply suggestion button (now it matches with chat bubble)

GIF: complete

nikhilmaske-2001 commented 2 years ago

@vasani-arpit Look at the above gif and if you have any suggestions please suggest. This PR is almost ready, just need to add some changes mentioned above in TODOs.

vasani-arpit commented 2 years ago

Looks good. Will check it in my local.

nikhilmaske-2001 commented 2 years ago

@vasani-arpit This PR is completed and I have tested it thoroughly and It can be merge now. But It has some minor bugs, they are as follows:

  1. Blur chats feature only works for a single chat window, if we change the chat window blur chat feature will be unchecked. (We need to apply blur chat again for another chat window)
  2. Blur chat/photo/name feature only blurs the currently visible text, the chat which is above or below the current window does not blur
vasani-arpit commented 2 years ago
nikhilmaske-2001 commented 2 years ago

@vasani-arpit I will fix the 1st & 2nd issues. I am already aware of the 3rd issue and trying to fix it, but I am not able to find the solution for it. For 3rd issue I tried: I am sure the code targets all the required elements we want to blur, but I am not able to understand why does that css property filter: blur(4px) does not work on them. If you want to debug by yourself, just go through any blur... function and console log the elements that we are picking using getElement...

nikhilmaske-2001 commented 2 years ago

@vasani-arpit This PR is ready for another review. Please take a look. There is a bug in Blur name feature, it blurs both name and recent messages chat. I have tried to solve this bug but I didn't find any solution for it. This is because Contact names does not have any unique class/id after a web update maybe, due to this blur name is also not working on WA plus extension

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.