isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Haywood <...@haywood-associates.co.uk>
Subject Re: Inconsistent UI using the downloaded .layout.json files
Date Fri, 04 Sep 2015 14:08:29 GMT
Hi Yuri,

the ASF mailing lists strip out any pictures/attachments, so could you post
it to imgur.com (or elsewhere) and link to it?

thx
Dan



On 4 September 2015 at 15:06, Yu Ri Tan <mail@yuritan.nl> wrote:

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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message