# Kibana left panel visualization bug after adding plugin

**URL:** <https://discuss.elastic.co/t/kibana-left-panel-visualization-bug-after-adding-plugin/135594>\
**Category:** Kibana\
**Created:** [June 12, 2018, 8:21pm UTC](https://discuss.elastic.co/t/kibana-left-panel-visualization-bug-after-adding-plugin/135594 "2018-06-12T20:21:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![george1](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@george1](https://discuss.elastic.co/u/george1)\
**Post date:** [June 12, 2018, 8:21pm UTC](https://discuss.elastic.co/t/kibana-left-panel-visualization-bug-after-adding-plugin/135594/1 "2018-06-12T20:21:43Z")

</div>

Hi,

I'm testing my new kibana plugin and when visualizing it the following happens to the side bard:

 ![error](https://us1.discourse-cdn.com/elastic/original/3X/c/7/c778604abf803ff614a126e07b2e4776cd67ef03.png)

As you can see when I click the new plugin "extractor" the plugins names and icones become unsync. This only happens when I click my plugin with other buttons works just fine.

Don't know how my plugin can cause such effect on the side-bar would appreciate any tip.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [June 13, 2018, 1:21pm UTC](https://discuss.elastic.co/t/kibana-left-panel-visualization-bug-after-adding-plugin/135594/2 "2018-06-13T13:21:50Z")

</div>

Hey @george1, can you share the code that you're using to register your plugin app?

---

<div class="post-metadata">

**Author:** ![george1](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@george1](https://discuss.elastic.co/u/george1)\
**Post date:** [June 13, 2018, 2:37pm UTC](https://discuss.elastic.co/t/kibana-left-panel-visualization-bug-after-adding-plugin/135594/3 "2018-06-13T14:37:27Z")

</div>

Hello @Brandon\_Kobe, I used the kibana plugin generator so I presume the plugin app is registered in the index.js:

```
import { resolve } from 'path';
import func1 from './server/routes/func1';
import func2 from './server/routes/func2';

export default function (kibana) {
  return new kibana.Plugin({
    require: ['elasticsearch'],
    name: 'extractor',
    uiExports: {
      
      app: {
        title: 'extractor',
        description: 'my plugin description',
        main: 'plugins/extractor/app'
      },
      
      
      translations: [
        resolve(__dirname, './translations/es.json')
      ]
      
    },

    config(Joi) {
      return Joi.object({
        enabled: Joi.boolean().default(true),
      }).default();
    },

    
    init(server, options) {
      // Add server routes and initialize the plugin here
      func1(server);
      func2(server);

    }
    

  });
};

```

Sorry for the functions names.  
Let me know if I got the wrong file.

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [June 13, 2018, 2:53pm UTC](https://discuss.elastic.co/t/kibana-left-panel-visualization-bug-after-adding-plugin/135594/4 "2018-06-13T14:53:56Z")

</div>

Interesting... I'm seeing the following when using that code, have you tried updating your Kibana source code?

 ![10%20AM](https://us1.discourse-cdn.com/elastic/original/3X/e/5/e5fa2ac0591ce8328f61abf4aeaaca9dedfb5ad0.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 11, 2018, 6:24pm UTC](https://discuss.elastic.co/t/kibana-left-panel-visualization-bug-after-adding-plugin/135594/6 "2018-07-11T18:24:42Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
