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

Sorting functionality added #107

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

chetanr25
Copy link

@chetanr25 chetanr25 commented Jan 19, 2025

Ticket

JIRA Ticket - PAINTROID-490
Flutter: Search bar on Landing Page

This PR is an Enhancement of #105

New Features and Enhancements

  • Added a sort button in the search bar
  • Implemented multiple sorting options:
    • Name (A to Z)
    • Name (Z to A)
    • Last Modified (Newest)
    • Last Modified (Oldest)
    • Date Created (Newest)
    • Date Created (Oldest)
  • Visual feedback for currently selected sort option
  • Auto-unfocus of search field when accessing sort menu

Implementation Details

  • Created new SortOption enum to manage different sorting methods
  • Integrated sorting functionality with existing search filtering
  • Added radio button indicators for active sort option
  • Maintained default sorting by last modified date
  • Sort settings persist during search operations

UI/UX Improvements

  • Intuitive sort button placement in search bar
  • Clear visual hierarchy in sort options menu
  • Smooth interaction between search and sort features
  • Improved project list navigation

Screenrecording

Screen.Recording.2025-01-19.at.9.11.38.PM.mov

Checklist

Your checklist for this pull request

Please review the contributing guidelines and wiki pages of this repository.

  • Include the name of the Jira ticket in the PR’s title
  • Add the link to the ticket in Jira in the description of the PR
  • Include a summary of the changes plus the relevant context
  • Choose the proper base branch (develop)
  • Confirm that the changes follow the project’s coding guidelines (Wiki)
  • Verify that the changes generate no compiler or linter warnings
  • Perform a self-review of the changes
  • Verify to commit no other files than the intentionally changed ones
  • Include reasonable and readable tests verifying the added or changed behavior
  • Confirm that new and existing tests pass locally
  • Check that the commits’ message style matches the project’s guideline
  • Verify that your changes do not have any conflicts with the base branch
  • After the PR, verify that all CI checks have passed
  • Add new information to the Wiki

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