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

Feature/dropdown fix #79

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

gy8879
Copy link

@gy8879 gy8879 commented Nov 21, 2024

Title: Improve dropdown usability by adding a user-friendly status message

Description:
This Pull Request addresses a usability issue in the dropdown functionality. Initially, I misunderstood the problem to be about difficulties exiting the dropdown. However, after reviewing the behavior, I realized the actual issue is that users cannot clearly tell whether their selections have been applied after interacting with the dropdown.

To resolve this, I added a user-friendly status message that notifies users when their selections have been successfully applied. The message, "Selections have been applied!", appears briefly after an update, ensuring users receive clear feedback about the action they performed.

Changes made:

Added a showStatusMessage function to dynamically create and display a brief status message on the screen.
Integrated the status message into the filterResult function, so it triggers after the dropdown selections update the right panel.
Ensured the message is styled appropriately and disappears automatically after 2 seconds to maintain a clean UI.
Why this change is necessary:

Enhances user experience by providing immediate visual feedback that selections were successfully applied.
Resolves potential confusion, especially in scenarios where the dropdown selections do not visibly change the top results in the right panel.
Result:

Users can now see a clear confirmation ("Selections have been applied!") whenever they make changes using the dropdown menu.
This improves the usability and aligns the behavior with user expectations for modern interfaces.

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

Successfully merging this pull request may close these issues.

1 participant