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

chore(layout): use bp3 dropdown for lang switcher #282

Closed EFF closed 2 years ago

EFF commented 2 years ago

rewrite of language switcher with common dropdown. I'm aware style isn't exactly the same but I believe it's good enough as it touches a tiny portion of the user base.

If you guys don't agree, you are welcome on styling this thing.

@sebburon should fix your issue

Closes https://github.com/botpress/v12/issues/1598 Closes DEV-2286

sebburon commented 2 years ago

Just tested! It looks great and it fixed my issue

allardy commented 2 years ago

Haha, I did the exact same thing earlier but didn't open a PR because I couldn't replicate the keyboard shortcuts. Theres not much left of bootstrap. Let's continue this change :)

EFF commented 2 years ago

@allardy Let's agree to drop the keyboard shortcut I'm pretty sure I'm the only one that uses the keyboard shortcut.

allardy commented 2 years ago

@EFF totally agree

linear[bot] commented 2 years ago
DEV-2286 [BUG] LangSwitcher.tsx breaks on slow network (botpress/botpress botpress/v12#1598)

**Describe the bug**\ The studio is blank when accessing a multi-language bot on a slower network connection. **To Reproduce**\ Create a bot with 2 or more languages in its bot.config.json\ Throttle your browser connection to Fast 3G\ Access the bot flow editor **Screenshots** ![](https://uploads.linear.app/86b5451b-0c34-4f42-8d54-be35c275a26b/b8aab017-14c2-415e-becd-fa527ef8447c/6a74f178-d7fe-4559-a3b7-e0e6caa937ad) [botpress/borpress botpress/v12#1598](https://github.com/botpress/v12/issues/1598) by [@ sebburon](https://github.com/sebburon)