botpress / studio

The studio is the main interface you'll use to build and edit your chatbot.
https://botpress.com/docs/quickstart#conversation-studio
36 stars 38 forks source link

fix(qna): improve slot intent sidebar ui #301

Closed rob-gordon closed 2 years ago

rob-gordon commented 2 years ago

Slot panel resize was fixed in #295 but this makes some minor improvements to slot panel UI on smaller screen sizes.

Before

Screen Shot 2022-02-21 at 8 43 38 AM

After

https://user-images.githubusercontent.com/159949/154968810-58217465-4afb-4bd7-8e90-9226b24aacde.mov

linear[bot] commented 2 years ago
DEV-2101 [Bug] Slot panel does not resize

I do not know how I got into this state. I am recording it here in case I will be able to later reproduce it at will or someone know what the problem may be. __________ BotPress v 12.26.7 MacOS Monterey Chrome Version 96.0.4664.55 __________ I was working with the NLU page and has at the same time the emulator opened ![image.png](https://uploads.linear.app/86b5451b-0c34-4f42-8d54-be35c275a26b/5307d9ac-ec95-4c41-901a-120c071019a8/17d19832-7009-4703-83c7-4a0f69569d80) Notice the emulator ate som of the real state for that displays the slots Removing the emulator, the slots are still in a 'compressed' form ![image.png](https://uploads.linear.app/86b5451b-0c34-4f42-8d54-be35c275a26b/ef2d7f44-181d-41c7-815f-8d2b8dd142f9/e202b5da-2af6-4a32-8a59-cd18f43e2b9c) I can not resize the boundary between the intent list and the slots Other bots loaded in the same server do not show this problem. I stopped and restarted the botpress server, same problem when using the same bot. I have attached the problem bot to this ticked [bot_weird_slot_panel.tgz](https://uploads.linear.app/86b5451b-0c34-4f42-8d54-be35c275a26b/ecf5c62e-f85c-492b-a358-561421ebc7fc/ce57ef6b-3169-4341-8d53-8db4041e675f)