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
Save searches #869
Save searches #869
Conversation
gonzalovelasco
commented
Aug 11, 2023
•
edited
edited
1d387a9
to
0de9024
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! just a few small changes from me. i liked a lot of ur UI choices. altho I'm no UI designer myself
}, | ||
), | ||
), | ||
Padding( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the done button
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed 49a0cb7
itemCount: widget.searches.length, | ||
itemBuilder: (context, index) { | ||
String editedText = widget.searches[index]; | ||
return ListTile( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Matthew Wong <matthewwong525@gmail.com>
Co-authored-by: Matthew Wong <matthewwong525@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, great work gonzalo! Merge if you're happy with it!
* add new setting field for searches * add icon in search bar * save search * list the searchs in the menu * get the searches * remove save search in searchbar * update menu to show a button to add new searches * create search dialog to add or remove new searches * show dialog searches * use dynamic dialog and implement edit * implement functions to add, edit and remove * fix sidemu to show the list of searches * fix style * remove unused import * Update lib/screens/main/components/create_search_dialog.dart Co-authored-by: Matthew Wong <matthewwong525@gmail.com> * Update lib/screens/main/components/create_search_dialog.dart Co-authored-by: Matthew Wong <matthewwong525@gmail.com> * remove done button * add search icon and delete icon like google keep * add tests --------- Co-authored-by: Matthew Wong <matthewwong525@gmail.com>