Refactor editor attribute sorting logic#453
Conversation
stijnpotters1
commented
Apr 23, 2026
|
Sorry that I'm only jumping in now, but can you explain what order is being used for the attributes now. I commented on the issue (#374 (comment)), but didn't realize that there was a PR already. |
Its sorted in 4 layers. First on namespaced attributes |
|
I'd rather see the order that is used in the XSD itself (and required at the top maybe). Then there is "less magic" and is inline with the FF! Doc. |
…ure mandatory attributes are handled
… attribute ordering
150fead to
2957e02
Compare
…with @PostConstruct and add unit tests for attribute reordering
|
We also discussed with in the Core Refining:
So: User is typing, saving, editing again -> Nothing should change The order in the FF! Doc is as follows:
The order of the XSD is actually important because it is sorted by input/output rather than alphabetically. The Flow also had namespaces in the XML. I don't care where they are shown (At top or bottom) as long as they are together and also in the order of the XSD. |
philipsens
left a comment
There was a problem hiding this comment.
Just to block merging until order and usability have been confirmed/implemented.
…prove attribute reordering logic with required/optional handling
…egrate saveConfiguration for direct content handling
|
1 similar comment
|



