Re: My tasks for the next week



2014-06-26 0:08 GMT+02:00 Damián Nohales <damiannohales gmail com>:
Hi guys!


Hi!

I prefer to use this channel because my ZNC server died and I going to
loose your responses in IRC :(

Also, I didn't have time to think about my tasks yesterday on #gnome-maps.

At this time my work is almost ready and I'm just waiting for reviews.
So, I want to do some other tasks related to some issues that I've
found when developing markers and bubbles:


Will try to review some more tonight.


 - For the search result bubble, I'm trying to show different GUIs
depending on the place type, to do that, I need to use all the
properties for GeocodePlace objects. The problem is with the recent
places, PlaceStore does not save all the properties for a GeocodePlace
object, it should, if not, I cannot show the correct GUI if users
press on a recent place during search.


Yes, the place store might need some love. It's kind of hard to know
exactly what to save atm, since we are still in rapid development and
keep adding on stuff. I guess we need to determine soonish exactly what
data makes up a place.

 - The search entry shows the recent places in a regular autocomplete
box as user writes in the entry, but when users press enter, it shows
a popover with the results and also we cannot see anymore the search
result. We need to polish that behaviour.
I think the best way to do it is show the popover when users start to
type and show everything, recent places and search results in the same
popover, I think we need to hack GtkSearchEntry to use a different
delay for the 'search-changed' signal emission to avoid killing OSM
API (also we could contribute to Gtk+ to add a property in
GtkSearchEntry to configure this delay, that value is hardcoded to
150ms in current Gtk+).

I agree with what you are saying. But the fact remains that we are not
allowed to autocomplete against the Nominatim search API, and even if
we would the result wouldn't be all that great because Nominatim is not
good at / does not deal with partial searches. More information in this bug:
https://bugzilla.gnome.org/show_bug.cgi?id=731546


 - We need to organize the popover search results in some useful way.
   1) Organize the places into different groups (countries, streets,
pois, recent, etc)

What do you mean by organize here? The UI or the code?
We are moving to some kind of custom Place-object that inherits
from GeocodePlace. I guess that could have some kind of category
property?

   2) The "GeocodePlace::name" property is not useful to show it to
the user, for example:

Yes, the name-property is kind of awkward in GeocodePlace.
You can try out using the Nominatim service and see exactly
what data _actually_ comes back and see if there is some way to
improve it.

         a) The object that represents Argentina as a country is
"Argentina, Argentina", that's a no-sense
        b) If we have a street and a building with the same name in
the same town, it's very difficult to distinguish which is which.
       So, we need to take care about the type of the places and show
something useful. We can solve it by grouping results, by showing some
hint next to the result entry, create and use more relevant icons.

On the other hand, the new features that remains to implement to me are:

 - Share button/Share dialog in bubbles (normal difficulty)
 - Check-in button in UserLocationBubble (very easy)
 - Improve SearchResultBubble UI (from my point of view, the marker
and bubble are actually better than the old MapLocation, but it can be
even better)

I think the issues that I mentioned first are more important (mainly
the first two) than the new features, so, what do you think, how
should I continue?

Looking at the placeStore and how that will cope going forward
would be super helpful, also comment and update/improve the
bug at: https://bugzilla.gnome.org/show_bug.cgi?id=726625
might be valueble.



Thanks!

Great work, Damian.
Thanks

_______________________________________________
maps-list mailing list
maps-list gnome org
https://mail.gnome.org/mailman/listinfo/maps-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]