This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about cookies.
Skip to main content
Metadecidim's official logo
  • English Triar la llengua Elegir el idioma Choose language
    • Català
    • Castellano
Sign Up Sign In
  • Home
  • Processes
  • Assemblies
  • Initiatives
  • Consultations
  • Conferences
  • Help

Propose new functionalities for Decidim software

#DecidimRoadmap Designing Decidim together

Phase 1 of 1
Open 2019-01-01 - 2030-12-31
Process phases Submit a proposal
  • The process
  • Debates
  • Propose new features
  • News
chevron-left Back to list

Proposals - Improve address field user experience

Avatar: Antti Hukkanen Antti Hukkanen
14/09/2018 17:19  
Finished

We have received feedback that the address field is confusing. Users assume they can just enter the address, without giving the city as this instance of Decidim only concerns one city.

After they have entered an address, the points have been mapped e.g. to USA and Russia on the map as those are apparently the first results found from the geolocation service.

We should be able to configure a default city for the proposals component to fix this. This would allow the users to enter the street or location name and it would be automatically mapped to the correct city.

Another way to improve the user experience for the address selection would be to implement something similar what is available in Google Maps Platform (autocomplete feature):
https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform

Even with the autocomplete, I would see it beneficial if the geolocation queries could be restricted only to a specific city.

  • Filter results for category: Proposals Proposals

The development of this proposal has finished

  • Reviewed by @product and included in Decidim Roadmap
  • It is funded by Mainio Tech
  • Developed by Mainio Tech
  • Available in release 0.23 via #6340

List of Endorsements

Avatar: City of Helsinki City of Helsinki
Avatar: Virgile Deville Virgile Deville
Avatar: Armand Armand
Avatar: Carol Romero Carol Romero verified-badge
Avatar: Valentin Chaput Valentin Chaput
Avatar: Pauline Bessoles Pauline Bessoles verified-badge
and 3 more people (see more) (see less)
Endorsements count6
Proposals - Improve address field user experience Comments 13

Reference: MDC-PROP-2018-09-13156
Version number 4 (of 4) see other versions
Check fingerprint

Fingerprint

The piece of text below is a shortened, hashed representation of this content. It's useful to ensure the content hasn't been tampered with, as a single modification would result in a totally different value.

Value: 1d97de1d9d1e665a0fc6d62c70aef84008d3ad9a8e31e460f61fc062faace4c1

Source: {"body":{"en":"We have received feedback that the address field is confusing. Users assume they can just enter the address, without giving the city as this instance of Decidim only concerns one city.\r\n\r\nAfter they have entered an address, the points have been mapped e.g. to USA and Russia on the map as those are apparently the first results found from the geolocation service.\r\n\r\nWe should be able to configure a default city for the proposals component to fix this. This would allow the users to enter the street or location name and it would be automatically mapped to the correct city.\r\n\r\nAnother way to improve the user experience for the address selection would be to implement something similar what is available in Google Maps Platform (autocomplete feature):\r\nhttps://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform\r\n\r\nEven with the autocomplete, I would see it beneficial if the geolocation queries could be restricted only to a specific city."},"title":{"en":"Proposals - Improve address field user experience"}}

This fingerprint is calculated using a SHA256 hashing algorithm. In order to replicate it yourself, you can use an MD5 calculator online and copy-paste the source data.

Share:

link-intact Share link

Share link:

Please paste this code in your page:

<script src="https://meta.decidim.org/processes/roadmap/f/122/proposals/13156/embed.js"></script>
<noscript><iframe src="https://meta.decidim.org/processes/roadmap/f/122/proposals/13156/embed.html" frameborder="0" scrolling="vertical"></iframe></noscript>

Report inappropriate content

Is this content inappropriate?

Reason

13 comments

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed
Conversation with Armand
Avatar: Armand Armand
02/10/2018 15:25
  • Get link Get link

The autocomplete feature has a real added value for users. You will never know when your users want to mark something in this or this city.

Avatar: Carol Romero Carol Romero verified-badge
16/04/2020 17:05
  • Get link Get link

Agreed with Armand. I think the autocomplete would be an optimal solution.

Avatar: Virgile Deville Virgile Deville
29/04/2020 10:58
  • Get link Get link

We are working on this :
- autocomplete
- restricting geocoding to a certain area (to avoid being pinned in Russia, Brazil for a local consultation)

@carol I understood recently that the pin displayed on the map above are only the ones from the proposal list displayed bellow which is very confusing. One would like to have all the proposal pinned on the map. What do you think ?

Avatar: Carol Romero Carol Romero verified-badge
29/04/2020 12:32
  • Get link Get link

we're also working on the autocomplete! we just created the issue a few days ago: https://github.com/decidim/decidim/issues/6024

One would like to have all the proposal pinned on the map

What do you mean with all the proposals? We're talking about the map in the context of a specific participation space, right?

Avatar: Antti Hukkanen Antti Hukkanen
30/04/2020 09:42
  • Get link Get link

@Virgile Deville have you thought further how you're gonna implement the geocoding to certain area?

I think the best option would be to use the "bounding box" parameter available e.g. with Here. There may be service specific differences regarding this (as there is also the other discussion to change Here to something better).

https://developer.here.com/documentation/geocoder/dev_guide/topics/resource-type-bounding-box.html
Change "here.com" for "Open Street Map"

So far we have implemented it simply just by customizing the geocoding validator and adding a suffix to the geocoding queries such as "{query}, Town, Country". It works better but we've noticed this also causes some of the results to be misinterpreted by the geocoder. E.g. someone had put an area name of a city in South Finland and it was geocoded to Lapland, even when the are name was correctly written and the area exists in that city.

Conversation with Virgile Deville
Avatar: Virgile Deville Virgile Deville
29/04/2020 14:53
  • Get link Get link

Just the proposals from the component but all of them.
Currently only a few are being shown as pins on the maps.
Here is an image to be more clear.
https://imgur.com/aW1n0Z5

Avatar: Virgile Deville Virgile Deville
29/04/2020 14:54
  • Get link Get link

@carol

Avatar: Carol Romero Carol Romero verified-badge
29/04/2020 14:59
  • Get link Get link

Oh yes, you're right! I should see al the proposals regardless of the first page (this reinforces my thesis that we should tend to have a triple view of components such as proposals or meetings: list, cards and map). Let's see if I can find the time to make a proposal detailing this.

Avatar: Virgile Deville Virgile Deville
19/11/2020 16:26
  • Get link Get link

this reinforces my thesis that we should tend to have a triple view of components such as proposals or meetings: list, cards and map

@carol resurfaced this today while doing QA. Super interesting idea. Happy to work with you on this.

Avatar: Carol Romero Carol Romero verified-badge
23/11/2020 18:53
  • Get link Get link

Yay! Let's think how to do it!

Conversation with Virgile Deville
Avatar: Virgile Deville Virgile Deville
01/07/2020 14:24
  • Get link Get link

Hello @carol can you share some updates on this ?
Please link PR if there are any :)

Avatar: Virgile Deville Virgile Deville
01/07/2020 14:37
  • Get link Get link

@carol also we did a feature that limits the geocoding area to a country if you are interested https://github.com/OpenSourcePolitics/decidim/pull/951

Avatar: Antti Hukkanen Antti Hukkanen
24/11/2020 11:26
  • Get link Get link

This would be really cool to have but not only for the country, also to limit the city e.g. with the bounding box search. I believe most geocoders allow restricting the search with a bounding box (e.g. city's bounding coordinates).

This would allow getting rid of the matching results in other cities.

Add your comment

Sign in with your account or sign up to add your comment.

Loading comments ...

  • Terms and conditions of use
  • About the community
  • Download Open Data files
  • Metadecidim at Twitter Twitter
  • Metadecidim at Instagram Instagram
  • Metadecidim at YouTube YouTube
  • Metadecidim at GitHub GitHub
Creative Commons License Website made with free software.
Decidim Logo

Confirm

OK Cancel

Please sign in

decidim Sign in with Decidim
Or

Sign up

Forgot your password?