Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Promptbar initializes in open state for Mobile #542

Merged

Conversation

adiestel
Copy link
Contributor

Another simple fix. Currently when loading the ui on mobile the prompt launches in an open state. I fixed this issue by implementing the same approach that the chatbar uses.

Issue: Promptbar launches in an open state on mobile
Repro: In a new incognito (need a clean localstorage) launch the ui on a window smaller than 640px
Fix: Implement the same approach as the chatbar

@vercel
Copy link

vercel bot commented Apr 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
chatbot-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 13, 2023 11:10pm

@mckaywrigley mckaywrigley merged commit 7c259b9 into mckaywrigley:main Apr 14, 2023
ipeblb added a commit to ipeblb/chatbot-ui that referenced this pull request Apr 18, 2023
* Update Bangla Translation (mckaywrigley#546)

* Fix: Promptbar initializes in open state for Mobile (mckaywrigley#542)

* Fix for DEFAULT_SYSTEM_PROMPT

* Set the prompt bar to be hidden if screen < 640

* feature: 右columnにDocument upload用のエリアを追加

* feature: fileをアップロードするエリアを作成

* fix: Fileがtsですでに宣言済みだったため、名前を一部修正

* chore: langchain, pdfjs-distをinstall

* feature: upload用のendpoint作成

* feature: vectorstoreを生成するところまで

* feature: 作成したindexをlocalstorageに格納

* fix: アップロードをキャンセルした時の挙動を修正

* feature: 裏側のapiが動くところまで

* feature: frontに回答を送信できるように

* fix: responseが必ず閉じるように修正、payloadのlimit解放

* feature: filenameをmetadataとして渡す+idとして利用

* fix: 型エラー解消のためnullの代わりに空文字を渡す

* feature: add plugin

* fix: initial load files

* feature: validation and loading icon

* chore: prompt微調整

* feature: pluginでQA出し分けできるように修正

* feature: 雑に諸々ハンドリング

---------
HaRuKa-1231 pushed a commit to HaRuKa-1231/chatbot-ui that referenced this pull request Apr 20, 2023
* Update Bangla Translation (mckaywrigley#546)

* Fix: Promptbar initializes in open state for Mobile (mckaywrigley#542)

* Fix for DEFAULT_SYSTEM_PROMPT

* Set the prompt bar to be hidden if screen < 640

* feature: 右columnにDocument upload用のエリアを追加

* feature: fileをアップロードするエリアを作成

* fix: Fileがtsですでに宣言済みだったため、名前を一部修正

* chore: langchain, pdfjs-distをinstall

* feature: upload用のendpoint作成

* feature: vectorstoreを生成するところまで

* feature: 作成したindexをlocalstorageに格納

* fix: アップロードをキャンセルした時の挙動を修正

* feature: 裏側のapiが動くところまで

* feature: frontに回答を送信できるように

* fix: responseが必ず閉じるように修正、payloadのlimit解放

* feature: filenameをmetadataとして渡す+idとして利用

* fix: 型エラー解消のためnullの代わりに空文字を渡す

* feature: add plugin

* fix: initial load files

* feature: validation and loading icon

* chore: prompt微調整

* feature: pluginでQA出し分けできるように修正

* feature: 雑に諸々ハンドリング

---------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants