-
Notifications
You must be signed in to change notification settings - Fork 184
Do Not Merge WIP with places autocomplete working in the reference browser #28
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
Conversation
| } | ||
|
|
||
| // XXX - this should be in the "profile" dir, but I'm not sure how to fetch that. | ||
| private val placesConnection = PlacesConnection(context.getExternalFilesDir(null).absolutePath + "/places.sqlite", "") |
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.
@pocmo do we have a concept of a profile ? Do we need to introduce that?
|
I've updated mozilla-mobile/android-components#1107 to use the new process which (I think?) we are moving towards. I'm now getting a strange build error: which might well be something simple - and possibly related to the fact that a-c is now at version 0.29 while this repo still pulls in 0.28. If anyone has clues about this I'd appreciate it but it shouldn't block general review of the shape. |
| Log.log(tag="BrowserAutocomplete", message=message); | ||
| } | ||
|
|
||
| class BrowserAutocompleteProvider ( |
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.
I think this type should ultimately live in the components repo. Likely, part of this component:
mozilla-mobile/android-components#1109
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.
PlacesConnection could live in the services/sync-places component using the mozilla.components package.
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.
PlacesConnection has an unsafe implementation so it should live in a-s. (Although maybe there will be a very similar type in mozilla.components, as with the recent fxa work)
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.
Just one comment inline.
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.
👍 Left a comment on the a-c side of this - mozilla-mobile/android-components#1107 about how we might end up structuring different parts of this.
|
I've updated this so it works with mozilla-mobile/android-components#1240 |
|
Closing in favor of #40. |
mozilla-mobile#28 and https://gitlab.com/fdroid/rfp/-/issues/1330, also allows search suggestions to appear on top of homepage
…duckduckgo to selected search engine on first start, related to mozilla-mobile#28. Remove unused privacy_settings string for lint
This PR allows the reference browser to auto-complete from the local places database. All the gory details can be found in README-places.md
While this is a WIP, I'd like some feedback on whether the general shape of this seems reasonable. CC @csadilek @pocmo @linacambridge @thomcc @ncalexan