cs-internship / cs-system

Apache License 2.0
11 stars 8 forks source link

Implement Global Toast Notification Component #63

Open Ali-Sdg90 opened 2 months ago

Ali-Sdg90 commented 2 months ago

We aim to integrate global toast notifications into our project to indicate various actions. We will use the default Bootstrap toast in three modes: success (green), error (red), and info (blue). These toasts should be positioned at the top-right corner of the page. The toast design should remain as close to the default Bootstrap toast as possible, avoiding any complex styling.

The toast notifications should automatically close after a specified duration. The toast component should be designed to accept variables for the toast mode and text, ensuring flexibility and avoiding hardcoding these values.

cs-toast

Additional Notes

Steps to Participate

  1. Comment: Comment on this issue with your estimated timeframe for completing the task.
  2. Review: The administrators will review your proposed timeline.
  3. Assignment: If approved, the issue will be assigned to you.
  4. Reward: Receive the issue reward upon completing the task within the agreed timeframe.

Contribution Guidelines

Deliverables

Reward

mehrandvd commented 2 months ago

@Ali-Sdg90 There isn't a need for a test page for it. As everything does exist in Bootstrap, this thing could be a part of a task for the "organizations page" and after a successful sync, it should show a toast. So a toast service will be created and tested there.

Ali-Sdg90 commented 2 months ago

@mehrandvd Thanks, I have updated the issue.