PAINTROID-490: Search bar on Landing Page #105
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket
JIRA Ticket - PAINTROID-490
Flutter: Search bar on Landing Page
This PR introduces a search functionality to the LandingPage that allows users to search for projects by name. The search feature includes a search toggle button and a search text field. When the search button is pressed, it hides the ProjectPreview and focuses on just the list of projects. The FloatingActionButton also hides as we go into search mode.
New Features and Enhancements
Added search bar functionality to search projects by name
Changes
Added
SearchToggleButton
Component:SearchToggleButton
component that toggles between a search icon and a close icon based on the search state.Added
SearchTextField
Component:SearchTextField
component that provides a text input field for users to enter their search queries.Updated
LandingPage
to Integrate Search Functionality:LandingPage
component.SearchToggleButton
andSearchTextField
components into theAppBar's title
of theLandingPage
.LandingPage
to hideProjectPreview
andFloatingActionButton
when in search mode.Refactorings and Bug Fixes
n-1
projects were displayed whenn
projects were saved.Removed unnecessary
index != 0
condition to ensure all saved projects are visible.catrobat.mov
Checklist
Your checklist for this pull request
Please review the contributing guidelines and wiki pages of this repository.