Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display "No Elections Found" Message When Filtered List is Empty #61

Open
akathedeveloper opened this issue Aug 16, 2024 · 3 comments
Open

Comments

@akathedeveloper
Copy link

Description:

Currently, the ElectionDash component doesn't display a message when there are no elections matching the selected filter (Pending, Active, or Ended). This can cause confusion for users as it may seem like the filtering isn't working correctly.

image

This issue aims to enhance the user experience by displaying a prominent message when there are no elections that match the selected filter. The message should be centered and styled appropriately to make it clear that no elections are available for the selected status.

Steps to Reproduce:

  • Navigate to the Election Dashboard.
  • Select a filter (e.g., Pending, Active, Ended).
  • If there are no elections that match the selected filter, observe that no message is displayed.

Expected Behavior:

When a user selects a filter and no elections match the selected filter:

  • A message should be displayed at the center top of the election list area.
  • The message should be bold and large enough to be easily noticed.
  • The message content should be:
    1. "No pending elections found" for Pending.
    2. "No active elections found" for Active.
    3. "No ended elections found" for Ended.

Additional Context:

This improvement will enhance user experience by providing clear feedback when no elections are available for a specific filter. It also ensures the dashboard remains intuitive and user-friendly.

@xsankalp13
Copy link

Hi @akathedeveloper, I'd love to work on this issue. Could you please assign it to me? Thanks!

@Jassi2004
Copy link

HI is this issue still open. I would like to contribute to it. Can you please assign me to it.

@kartikshukla17
Copy link

hi i would like to contribute to this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants