georchestra / mapstore2-georchestra

geOrchestra newest viewer
Other
6 stars 23 forks source link

Edit button is not present by default but yes after FeatureEditor (2022.02) #670

Open MaelREBOUX opened 10 months ago

MaelREBOUX commented 10 months ago

Describe the bug

We have a contexte which contains a layer editable by user (filtered with a rôle). The EditButton in the Identify tool panel is not shown to the user by default when asking information on an object in the editable layer. Th button (a pen) is only availbale AFTER displaying the attribute table (FeatureEditor plugin).

See below the animation.

Expected behavior

The edit button (pen) should be present alaways when asking for information on an editable layer. More complicated to explain to the end users.

Screenshots

ms-manque-edit-button

Desktop (please complete the following information):

MaelREBOUX commented 10 months ago

I forgot to say that there is a JSON customization on the identifyTool :

{
  "cfg": {
    "showHighlightFeatureButton": true,
    "viewerOptions": {
      "container": "{context.ReactSwipe}"
    },
    "showEdit": true
  },
  "override": {
    "Toolbar": {
      "position": 11
    }
  }
}