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

Plugin development : Order of fields in plugin configuration window #1282

Closed
sivasamyk opened this Issue Jul 2, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@sivasamyk

sivasamyk commented Jul 2, 2015

The order of fields in plugin configuration window should in the same order as added in Config.getRequestedConfiguration() method.

Currently ConfigurationRequest class uses HashMap to store the config fields. This should be a LinkedHashMap to preserve the order.

joschi added a commit that referenced this issue Jul 2, 2015

Use LinkedHashMap as backing store in ConfigurationRequest
In contrast to a simple HashMap, the LinkedHashMap retains insertion order which makes
the order of configuration fields in the frontend more predictable.

Fixes #1282

@joschi joschi added this to the 1.2.0 milestone Jul 2, 2015

@joschi joschi self-assigned this Jul 2, 2015

@joschi joschi added the papercut label Jul 2, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment