janhq / jan

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer. Multiple engine support (llama.cpp, TensorRT-LLM)
https://jan.ai/
GNU Affero General Public License v3.0
23.74k stars 1.38k forks source link

planning: Jan Mobile UI #3905

Open dan-homebrew opened 3 weeks ago

dan-homebrew commented 3 weeks ago

Goal

urmauur commented 3 weeks ago
Screenshot 2024-10-30 at 13 32 41

@dan-homebrew @imtuyethan @0xSage here my suggestion

For the mobile base layout, the design prioritizes clean and accessible navigation:

This layout aims to maintain a streamlined user experience, with the Ribbon Panel consistently accessible at the bottom. To optimize performance, conditional stylesheets will be used instead of conditional rendering to adapt the layout on mobile devices.

imtuyethan commented 3 weeks ago

Thanks @urmauur. Here are 2 design options for mobile:

Design

Option 1

Figma link: https://www.figma.com/design/HI8LuAGRsYQ2FdTRtg3aHH/Jan-Mobile?node-id=0-1

Screenshot 2024-10-31 at 8 40 41 AM Screenshot 2024-10-31 at 8 40 53 AM Screenshot 2024-10-31 at 8 40 58 AM

Option 2

Figma link: https://www.figma.com/design/HI8LuAGRsYQ2FdTRtg3aHH/Jan-Mobile?node-id=26-1549

Based on @urmauur's suggestion & inspired by Obsidian

Screenshot 2024-10-31 at 8 45 02 AM Screenshot 2024-10-31 at 8 45 36 AM Screenshot 2024-10-31 at 8 45 46 AM

Set up models to use on mobile

It's clear that users can't run large models on mobile. Here are some options for them: 1. Use models via nearby servers:

Screenshot 2024-10-31 at 8 51 05 AM

urmauur commented 3 weeks ago

Since we allow the community to inject icons from extensions, let’s say I install 10 extensions, and all of them create new icons on the ribbon. How would this menu look?

If we go with this approach, we need to handle this case.

Screenshot 2024-11-01 at 10 11 20