gray-mueller / gray-mueller/foodpanda-clone-using-react-native

Enhance Filtering Options on Earnings Page (Add “Remove Filter” & “All” in User ID Dropdown)

Open
#74 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
Yes. The current Earnings page lacks essential filter controls that affect usability:

Once filters like date range or User ID are applied, there’s no clear way to remove or reset them without reloading the entire page.

The User ID dropdown only allows selecting individual users, with no “All” option to view earnings across all users at once.

These limitations make it harder to conduct quick analyses or generate comprehensive reports.

Describe the solution you'd like

Add a “Clear Filter” or “Reset” button to remove all applied filters and return to the default view.

Add an “All” option to the User ID dropdown, enabling a broader view of earnings without narrowing down to a single user.

Describe alternatives you've considered

Manually refreshing the browser (inefficient)

Selecting each user individually (not scalable for large user bases)

Additional context
These enhancements would improve the admin experience, making earnings management more intuitive and efficient, especially for tasks like support, auditing, and financial reporting.

Contributor guide

Open the contributing guide

Research direction

Locate the Earnings page and its User ID dropdown, then inspect how the existing date and user filters are applied. Done means users can reset all applied filters without reloading and select an “All” option to view earnings across users; verify both behaviors in the relevant Earnings page flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.