harshit1142 / BookStore

A Collections of Books ,with add to favorite feature.
https://bookstore-ochre-psi.vercel.app/
MIT License
16 stars 18 forks source link

Toast message for favorites #27

Closed Arshad-ashuu closed 1 month ago

Arshad-ashuu commented 1 month ago

Added Toast message for favorite button #25

fixex #25

Description used react-hot-toast for toast notifications to notify book is added to favorites

Changes in installed react-hot-toast - package.json imports and notify function for notifications - Book.js

harshit1142 commented 1 month ago

@Arshad-ashuu there is an update in UI of the page. Please update your branch

Arshad-ashuu commented 1 month ago

Ok I'll check that

gitguardian[bot] commented 1 month ago

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

Since your pull request originates from a forked repository, GitGuardian is not able to associate the secrets uncovered with secret incidents on your GitGuardian dashboard. Skipping this check run and merging your pull request will create secret incidents on your GitGuardian dashboard.

🔎 Detected hardcoded secret in your pull request
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [7694932](https://dashboard.gitguardian.com/workspace/419897/incidents/7694932) | Triggered | Google API Key | 55a8a352ed7f853baa0dde23c577116b9f851e7b | src/Screens/Main.js | [View secret](https://github.com/harshit1142/BookStore/commit/55a8a352ed7f853baa0dde23c577116b9f851e7b#diff-7a48709fe9cd4459ebf779ab6c4435406f97f5cf6bfcec9a1ea714a94199b4f5R17) |
🛠 Guidelines to remediate hardcoded secrets
1. Understand the implications of revoking this secret by investigating where it is used in your code. 2. Replace and store your secret safely. [Learn here](https://blog.gitguardian.com/secrets-api-management?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) the best practices. 3. Revoke and [rotate this secret](https://docs.gitguardian.com/secrets-detection/secrets-detection-engine/detectors/specifics/googleaiza#revoke-the-secret?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). 4. If possible, [rewrite git history](https://blog.gitguardian.com/rewriting-git-history-cheatsheet?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data. To avoid such incidents in the future consider - following these [best practices](https://blog.gitguardian.com/secrets-api-management/?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) for managing and storing secrets including API keys and other credentials - install [secret detection on pre-commit](https://docs.gitguardian.com/ggshield-docs/integrations/git-hooks/pre-commit?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) to catch secret before it leaves your machine and ease remediation.

🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Arshad-ashuu commented 1 month ago

Added Toast message for favorite in new UI #25

fixes #25

Description used react-hot-toast for toast notifications to notify book is added to favorites

Changes in installed react-hot-toast - package.json imports and notify function for notifications - Book.js

this is the the toast for a favorite for book named fear no evil @harshit1142

Screenshot 2024-10-05 222239