manikumarreddyu / AgroTech-AI

AgroTech AI platform is a comprehensive web-based tool where users can access various machine learning models for making accurate predictions related to agriculture
https://agro-tech-ai.vercel.app
MIT License
68 stars 115 forks source link

Create Admin Notice Board to Notify Users on Agrotech Platform #1000

Closed IkkiOcean closed 2 days ago

IkkiOcean commented 2 days ago

Description: We need to implement an Admin Notice Board feature on the Agrotech platform that allows admins to post important updates, announcements, and messages. These notices will be visible to users on the platform and provide notifications for new or updated content.

Requirements:

  1. Admin Interface:

    • Create an interface accessible only to admins for posting notices.
    • Admins should be able to create, edit, and delete notices.
    • Each notice should include a title, message content, and a date.
    • Admins can activate or deactivate notices (for example, hiding past notices).
  2. User Interface:

    • Users should see the latest active notices prominently on the homepage or dashboard.
    • Notices should include a title, a short summary, and the date posted.
    • Users should be able to click a notice to view the full details.
    • Ensure that notices are displayed in chronological order, with the most recent notice at the top.
  3. Notification System:

    • When a new notice is posted or an existing one is updated, users should be notified.
    • The notification should be clear and non-intrusive (e.g., a banner or popup).
    • Users should be able to mark notices as "read" or dismiss them.
    • Optionally, users can get notifications in real-time without refreshing the page.
  4. Notice Management:

    • Admins should be able to mark notices as "active" or "inactive."
    • Inactive notices should no longer appear to users but can still be viewed by admins.
    • Notices should be limited to a certain number or page size, and older notices can be archived in the UI (e.g., a "See Older Notices" button).
  5. Styling:

    • Ensure notices are clearly visible and use appropriate design patterns (e.g., color coding or icons) to distinguish new or important notices.
    • Keep the design consistent with the rest of the Agrotech platform and ensure responsiveness across devices.

Acceptance Criteria:

github-actions[bot] commented 2 days ago

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

github-actions[bot] commented 2 days ago

Hello @IkkiOcean! Your issue #1000 has been closed. Thank you for your contribution!