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

Save searches #869

Merged
merged 19 commits into from Aug 25, 2023
Merged

Save searches #869

merged 19 commits into from Aug 25, 2023

Conversation

gonzalovelasco
Copy link
Collaborator

@gonzalovelasco gonzalovelasco commented Aug 11, 2023

Screenshot 2023-08-15 at 16 02 29 Screenshot 2023-08-16 at 15 55 16

@matthewwong525
Copy link
Collaborator

matthewwong525 commented Aug 14, 2023

make the UI look like Google Keep, add divider and a title saying saved saerches + a button to "Create/Edit searches" ?

Instead of labels: "Saved Searches"
image

@gonzalovelasco gonzalovelasco changed the title [WIP] - Save searches Save searches Aug 16, 2023
Copy link
Collaborator

@matthewwong525 matthewwong525 left a 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(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the done button

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed 49a0cb7

lib/screens/main/components/create_search_dialog.dart Outdated Show resolved Hide resolved
lib/screens/main/components/create_search_dialog.dart Outdated Show resolved Hide resolved
itemCount: widget.searches.length,
itemBuilder: (context, index) {
String editedText = widget.searches[index];
return ListTile(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add leading search icon like how they added label icon in Google Keep

image

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gonzalovelasco gonzalovelasco linked an issue Aug 18, 2023 that may be closed by this pull request
Copy link
Collaborator

@matthewwong525 matthewwong525 left a 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!

@matthewwong525 matthewwong525 merged commit 243c900 into main Aug 25, 2023
1 check passed
gonzalovelasco added a commit that referenced this pull request Aug 28, 2023
* 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>
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.

Saved searches in the sidebar
2 participants