huggingface / chat-ui

Open source codebase powering the HuggingChat app
https://huggingface.co/chat
Apache License 2.0
7.1k stars 1.02k forks source link

Add fullscreen mobile Safari compatibility on iOS when added to home screen #357

Open e-caste opened 1 year ago

e-caste commented 1 year ago

Since there currently isn't a mobile app for HuggingChat, I would like to be able to do the following on iOS:

  1. Go to hf.co/chat
  2. Tap the share button in Safari
  3. Choose add to home screen and tap add
  4. Open the web app in fullscreen when tapping the icon in the home screen

As of now, I'm only able to do up to point 3, while point 4 currently opens the web app within Safari, but with the clunky address bar shown at the bottom of the screen.

Adding this feature should be very easy (see https://flaviocopes.com/website-ios-full-screen/, https://stackoverflow.com/questions/16485919/open-webpage-in-fullscreen-in-safari-on-ios), but it may involve additional steps.

This would greatly enhance the mobile experience of HuggingChat!

nsarrazin commented 1 year ago

Hey! Thanks for bringing this up, it seems pretty easy, I'll try to do it :smile:

julien-c commented 1 year ago

cool suggestion!