Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
8 tasks
catmorales opened this issue Jan 24, 2023 · 2 comments

Comments

@catmorales
Copy link
Collaborator

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)

  • Minor changes to existing features
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Mapstore2georchestra improvement
  • Mapstore2 improvement
  • Other... Please describe:

Other useful information

@tdipisa
Copy link
Collaborator

tdipisa commented Jan 25, 2023

@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
Copy link
Member

landryb commented Jan 26, 2023

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants