andoriyaprashant / OpSo

OpSo is a Flutter app that provides comprehensive information about various open-source programs
MIT License
49 stars 95 forks source link

changed the filter row and placed it into the search bar #323

Closed shivamv003 closed 1 month ago

shivamv003 commented 1 month ago

Problem / Issue No.

321

Describe Problem / Root Cause

The current filter functionality is placed below the search bar, which can clutter the UI and disrupt the visual flow. To improve the design and provide a cleaner, more modern look, the filter options will be moved to an icon placed directly within the search bar. This solution simplifies the layout, reduces visual noise, and enhances user experience by making the filtering functionality more accessible without taking up additional space on the screen.

Solution proposed

Add a Filter Icon Inside the Search Bar:

Place a filter icon (Icons.filter_list) next to the search icon inside the search bar. This allows users to access filtering options without leaving the search bar, improving usability. Trigger the Filter Dialog on Icon Click:

When the filter icon is clicked, a dialog or bottom sheet should open to display the filter options, providing an intuitive and modern interaction. Implementation:

Modify the existing search bar widget to include the filter icon. Move the filter logic (e.g., language, organization) to a dialog that pops up when the user clicks on the filter icon

Screenshots

github-actions[bot] commented 1 month ago

Thank you for submitting your pull request! We'll review it as soon as possible.

github-actions[bot] commented 1 month ago

This PR has been automatically closed due to inactivity from the owner for 15 days.