camptocamp / c2cgeoportal

c2cgeoportal application
http://geomapfish.org
Other
64 stars 46 forks source link

Editing #1662

Closed sbrunner closed 8 years ago

sbrunner commented 9 years ago

Spec: https://github.com/camptocamp/c2cgeoportal/wiki/Spec-%231662-Editing

sbrunner commented 8 years ago

Requires: https://github.com/camptocamp/c2cgeoportal/issues/2040

ybolognini commented 8 years ago

Feedbacks via mail

From @gnerred J'ai juste un point négatif à mentionner, qu'il faudrait corriger dans la 2 : lorsqu'on a un attribut de type date et qu'on clique dans le champs sans n'y entrer aucune valeur, le module considère qu'un string vide a été entré, et cela fait planter l'enregistrement. C'est le seul problème qui m'a été remonté par les utilisateurs, mais ça peut être relativement handicapant. Surtout pour les utilisateurs qui utilisent le bouton TAB pour passer d'un attribut à un autre.

From @vvmalbre Unsere Frage ist, ob und wie das Editing-Tool in einem Mehrserverbetrieb eingesetzt werden kann.

From @svavoi

Questions to the specification:

Improvements for current editing interface:

Further improvements for future editing interface:

ybolognini commented 8 years ago

@gnerred date problem

This will be taken into account.

@vvmalbre multi servers environment

Editing, like short-URLs, needs to have a single database or a way to synchronize multiple databases. At Camptocamp we are working on such solutions, but it is more an infrastructure problem than a GeoMapFish problem.

@svavoi Does the drawing of the geometry still work the same? For example: double-click to finish a line or a polygon, ESC to cancel the drawing

Behavior is the same as for redlining: double-click finishes a line or a polygon, but for now Esc doesn't cancel.

@svavoi Can attributes still be hidden from the right panel with “exclude_properties”?

Yes. This is a server configuration, so it will be automatically included in 2.1.

@svavoi It would be nice to see what kind of attribute is expected in the attribute fields. At the moment you need to click into the field to see if it is a dropdown, a text or a Boolean field. Why not show it straight away?

We'll try to include this in the new version. ping @pgiraud

@svavoi When you click into a field or change an attribute you get a red triangle in the upper left corner of the field but it is not evident what this means

We will make a proposition. ping @pgiraud

@svavoi It would be nice to see which fields are mandatory to fill in. At the moment you only get an error message when you try to save the geometry @svavoi When there is a constraint on an attribute and you get an error because you filled in a wrong value, the value should be marked which provoked it. And show what the constraint is (if possible)

These errors come directly from the database. Now we are not able to have this information (what field provoked the error) on the client. But we could think about a solution as an enhancement.

@svavoi Possibility to search in the dropdown list by entering a value/ a letter in the field

This will be included only if the dropdown widget we use allows it. If this isn't the case, this could be an enhancement.

@svavoi At the moment the user can’t see what snapping layers are configured. It would be nice if the user can see what is available and then select the one he wants to use

We'll see what's possible, but it will stay simple. ping @pgiraud

@svavoi Deleting a vertex is not that intuitive with clicking and pressing DELETE. Would it be better to make a right click and get the additional action menu where you can delete the vertex?

We use standard OpenLayers 3 for delete a vertex (simple click). But yes, an action menu would be nice. I'll add this as an enhancement.

New issue with the "Further improvements" list: https://github.com/camptocamp/c2cgeoportal/issues/2251

ybolognini commented 8 years ago

@svavoi It would be nice to see what kind of attribute is expected in the attribute fields. At the moment you need to click into the field to see if it is a dropdown, a text or a Boolean field. Why not show it straight away?

We will do something to go in this direction. It also depends on what is technically possible with the tools we use.

@svavoi When you click into a field or change an attribute you get a red triangle in the upper left corner of the field but it is not evident what this means

This triangle was an ExtJS feature. What is planned for the new version is that the Save button will be active only when field values have been updated.

@svavoi At the moment the user can’t see what snapping layers are configured. It would be nice if the user can see what is available and then select the one he wants to use

In version 1.6, snapping configuration is quite simple: integrator can decide what layers are used for snapping. Displaying and choosing snapping layers is a possible enhancement. I'll add this to the list.

@rbovard @gnerred @svarim @vvmalbre @mriedo @gsollberger @svavoi @cedricmoullet @kalbermattenm

To all: Now ready for validation

svavoi commented 8 years ago

Thanks @ybolognini this is ok for me.

ybolognini commented 8 years ago

@rbovard @gnerred @svarim @vvmalbre @mriedo @gsollberger @svavoi @cedricmoullet @kalbermattenm

Last call! :)

kalbermattenm commented 8 years ago

OK for us (@mriedo and myself)

rbovard commented 8 years ago

Blank vote for me.

gnerred commented 8 years ago

ok for me

sbrunner commented 8 years ago

Fixed with #1922