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

Updated event dashboard with fuzzy search and hi-fi designs #91

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

phillipcutter
Copy link
Contributor

Authors: @phillipcutter @MatthewCCChang

What does this PR contain?

Updated DummyEvents page to add three new search bars:

  • Search by location
  • Search by name
  • Search by date

These searches work in combination (AND) to filter down the results to those that match what the user has typed in all three fields.

We also updated the design to change the new event button to a card, and added "Upcoming Events" text.

How did you test these changes?

We tested these changes by searching for different events using different combinations of names, locations, and dates. We also tested the create event button to ensure it still worked with the create event modal and functional.

Attach images (if applicable)

image New dummy events page image Searching for "Park" image Searching for "Park" and "century park" image

Searching for "amazon" and "2022"

Closes #83

} else result = events;
console.log(result);
setDisplayEvents(result);
}, [name, location, date, fuse]);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <react-hooks/exhaustive-deps> reported by reviewdog 🐶
React Hook useEffect has a missing dependency: 'events'. Either include it or remove the dependency array.

Copy link
Collaborator

@NwinNwin NwinNwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@NwinNwin NwinNwin merged commit 29d03a3 into main Feb 24, 2024
6 checks passed
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.

EventDashboard Match Updated Hi-fi + Fuzzy Search
4 participants