danny-avila / LibreChat

Enhanced ChatGPT Clone: Features OpenAI, Assistants API, Azure, Groq, GPT-4 Vision, Mistral, Bing, Anthropic, OpenRouter, Vertex AI, Gemini, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. More features in development
https://librechat.ai/
MIT License
15.28k stars 2.54k forks source link

Enhancement: Swipe to open/close left side-bar on mobile #2340

Open kzar opened 3 months ago

kzar commented 3 months ago

What features would you like to see added?

Instead of clicking the ">" button, it would be nice if the left side-bar could be opened and closed with a swipe gesture.

More details

This is how it works in the native ChatGPT Android app and it's much more convenient. I can't reach the ">" button on my phone with my thumb, so I have to use my other hand. Whereas the swiping gesture is quick to do with my thumb.

Which components are impacted by your request?

No response

Pictures

No response

Code of Conduct

danny-avila commented 3 months ago

Can you explain this more? I tried on ChatGPT using mobile and could not swipe anything, unless you were using the App store app, and not the web ui. I don't have android so can't easily test this but I'll try on the iOS app.

danny-avila commented 3 months ago

Also on LibreChat, you can easily bring the left side nav with left-hand thumb with either of the highlighted buttons

image

kzar commented 2 months ago

Sorry for the delay, I was going to record a video to demonstrate but I didn't get a chance.

Can you explain this more? I tried on ChatGPT using mobile and could not swipe anything, unless you were using the App store app, and not the web ui. I don't have android so can't easily test this but I'll try on the iOS app.

So I'm talking about the native ChatGPT Android app. For me, LibreChat (via API credits) is competing with the ChatGPT pro subscription and Android app. Using LibreChat works great for me on desktop, but there are a couple of these snags on mobile where using the native ChatGPT Android app is nicer. I don't think they're all avoidable to be fair, but that's where I'm coming from.

The ">" button to open the left sidebar works fine, but if I hold my phone with my right hand, my thumb doesn't reach that far. So I have to use my left hand to push the button. I missed the easy swipe action that the native Android app has, where I could make a quick swipe gesture with my right thumb to open/close the sidebar. I found that more convenient.

Feel free to close if this is out of scope, but hopefully that explains my thinking at least!