On 03/13/2014 03:23 AM, Zhou Zheng Sheng wrote:
on 2014/03/12 01:50, Paulo Ricardo Paz Vital wrote:
On Tue, 2014-03-11 at 11:13 -0300, Aline Manera wrote:
On 03/11/2014 06:40 AM, Zhou Zheng Sheng wrote:

Hi,

I tried to add plugin to kimchi and created a new tab in the web UI.
However I found some problems in the front-end code. The first one is
that it does not provide a way to load plugin specific i18n.html. The
second one is that when I press F5 at my plugin tab page, it triggers
error KCHAPI6001E "Invalid URL. Redireced to home page."

I filed two issues in the github. Maybe anyone who are interested in
front-end can take a look.

https://github.com/kimchi-project/kimchi/issues/342
https://github.com/kimchi-project/kimchi/issues/343

Hi Zhou Zheng,

thanks for testing the plugin support.
Could you share with us some of your plugin code so we can easily
reproduce the issues you mentioned?

Doesn't the "sample" plugin presenting these issues?

Best regards,
Paulo Vital

Hi,

The sample plugin does not contain UI pages, so I just sent a patch
"[PATCH] Add Minimal UI Page for the Sample Plugin". In the patch I
added minimal UI pages just enough to re-produce the problem.

Thanks, Zhou Zheng!
I will check the patch