Hi all,

I've noticed some inconsistency in the UI caused by the .layout.json files.
When you've downloaded the json file from the running webapp, the UI
changes. I'll give an example to illustrate the issue.

There is a function in my app called newAttribute(), which you can see in
the picture below [1]. Normally, the button appears right next to the
"Download Layout" button. By adding
@MemberOrder(name = "attributes", sequence = "1") the button will appear as
shown in the picture below [1]. At this point there was no
category.layout.json in the module.

To change the position of the changeName() action [2] the json file had to
be downloaded and edited. As soon as I downloaded the json file and copied
it to the category module, the UI changed. The New Attribute button [1] was
relocated next to the "Download Layout" button.



I've tested it several times, but the json file overrules the generated UI.
It looks like the "Download Layout" action doesn't take the @MemberOrder
annotation into account while generating the json file.

Has anyone noticed this before?

-- 
Kind regards,

Yu Ri Tan

Reply via email to