-
Notifications
You must be signed in to change notification settings - Fork 509
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
Made UI respect order of attributes in config #1102
Conversation
…they were specified in in config is reflected in the UI.
This one is also awesome, why hasn't it been merged? |
The server-side changes look fine, as much as I hate pre-allocation, would have opted for sorting a list of tuples, I am willing to merge the changes. @amadanmath: Do you have any opinion on the client-side changes? |
I could certainly update it to avoid pre-allocation, if you'd prefer... |
@duncanka: It would certainly be appreciated. Pre-allocation can lead to nasty bugs further down the line. |
Done. It's now displaying that there are merge conflicts; I think I may have accidentally created them by letting Emacs strip whitespace. If those are the source of the conflicts, sorry about that. |
Made UI respect order of attributes in config
Stripping whitespace is not a problem, just beware of sneaky tabs. :) Thanks for the contrib! |
I found that for my annotation project, annotators wanted to see the attribute options in a specific order (they were on a spectrum). This change wasn't a particularly drastic one, and it seemed like it might be useful to others, as well.