georchestra / mapstore2-georchestra

geOrchestra newest viewer
Other
6 stars 23 forks source link

[Navigation toolbar]Ability to parameter Undo plugin visible by default on the navigation toolbar #594

Open catmorales opened 1 year ago

catmorales commented 1 year ago

Description

All our users are using frequently the undo function. The aim, here, is to give the ability to th eadministrator to put it by default in the navigation toolbar without the necessity to deploy it with "..." Actually, it is here image

We'd like to be able to force its position here: image

What kind of improvement you want to add? (check one with "x", remove the others)

Other useful information

tdipisa commented 1 year ago

@catmorales it is only a matter of configuration. Please, try this in localConfig. It is working for us.

{​
    "name": "Undo",
    "override": {​
        "Toolbar": {​
            "alwaysVisible": true
        }
    }
}, {​
    "name": "Redo",
    "override": {​
        "Toolbar": {​
            "alwaysVisible": true
        }
    }
}
landryb commented 1 year ago

can confirm that it works fine with that snippet in localConfig.json - thanks a lot @tdipisa !

@catmorales i'll let you close this one once you've also tested it :)