ItzCrazyKns / Perplexica

Perplexica is an AI-powered search engine. It is an Open source alternative to Perplexity AI
MIT License
16.28k stars 1.52k forks source link

Settings page on mobile #162

Closed ProjectMoon closed 1 day ago

ProjectMoon commented 5 months ago

Describe the bug The settings page button is not visible on the mobile UI. Or is it? Am I blind?

To Reproduce Steps to reproduce the behavior:

  1. Load Perplexica on a mobile UI (or mobile-sized screen on a desktop/laptop)

Expected behavior There should be a way to access the settings menu on mobile.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context I cannot find the settings button. Am I just dumb? Or is it actually not there?

WanQuanXie commented 5 months ago

This feature is still in WIP.

delfireinoso commented 5 months ago

This is new from 1,60 version

Before that I was able to access the settings on a iPhone

On an IPad works now

The problem is as the app doesn't saves the settings on a permanent volume the frontend wants to use the first model of the list

As there is a common Ollama installation some big models are there for use outside the network access of Perplexica

Perplexica tries to use the first in alfabetical order

ProjectMoon commented 5 months ago

I'm not even sure it's alphabetical. It seems to be the model most recently added to ollama. My guess is that it's just using the first item in the list, which is just in whatever order ollama returns from its API.

It would be very very good to have server-side settings that persist, yes.

manjaroblack commented 4 months ago

Workaround: On iPhone using Safari: The settings button is visible if you zoom out to 75% and view the page in landscape.

mtcl commented 3 months ago

I do not think this issue is resolved. I still have no way to set this on mobile. Would be nice to see settings on the phone. I cannot set embedding model and llama3.1 and hence the ui fails.

eliranwong commented 1 month ago

I do not think this issue is resolved. I still have no way to set this on mobile. Would be nice to see settings on the phone. I cannot set embedding model and llama3.1 and hence the ui fails.

You are right, I am still experiencing the issue with the latest version.

edge-sky commented 1 month ago

I am using custom openai api but config file can't not set a default key and base_url, that is mean I need to open setting and set those when a new brower. Display in phone is still can't see the button, is it have any solution?

Passerby1011 commented 3 weeks ago

It's been exactly five months, and compared to five months ago, none of the issues have been resolved, or perhaps the author has already abandoned this project.

delfireinoso commented 3 weeks ago

The project is not abandoned, the main goal was a in site use, and some UI problems are on the remote side, not intended on the main project. It will be fixed, but it's not the main theme

ItzCrazyKns commented 3 weeks ago

Hi, the project isn't abandoned, you can see I am constantly working on new updates. I am trying to provide quality updates not quantity ones. I am currently working on file uploads which is mostly done, only left with the UI part. These issues are of much lower importance than others I am working on. Please bear with me. Not gonna lie, I wasn't able to find a place to put the settings gear on the mobile, its like a chore of a minute if I know where exactly to put it.

ItzCrazyKns commented 3 weeks ago

Added in the last few commits.

Krzysi3k commented 3 weeks ago

I can't see any changes on mobile, I've tried multiple browsers and still settings button is not there, my phone is 6.7 inch screen and native resolution is 2400x1080

delfireinoso commented 3 weeks ago

Until next version there are no changes, this is the meaning of the statement, Not now

ItzCrazyKns commented 3 weeks ago

I can't see any changes on mobile, I've tried multiple browsers and still settings button is not there, my phone is 6.7 inch screen and native resolution is 2400x1080

Follow the update guide

Krzysi3k commented 3 weeks ago

of course I pulled changes from repository and rebuilt containers but nothing has changed. Screenshot_2024-10-31-13-03-55-973_com sonelli juicessh-edit Screenshot_2024-10-31-13-04-54-543_mark via gp

ItzCrazyKns commented 3 weeks ago

A bit weird, what browser are you using? I am not able to replicate with the same exact resolution.

eliranwong commented 3 weeks ago

Is it possible for you simply add like http://[Perplexica_host]/settings for uses to launch the settings page?

Krzysi3k commented 3 weeks ago

A bit weird, what browser are you using? I am not able to replicate with the same exact resolution.

I have tested on brave, duckduckgo, and soul browser, they are not very popular but this is what I'm using on mobile.

ItzCrazyKns commented 3 weeks ago

Is it possible for you simply add like http://[Perplexica_host]/settings for uses to launch the settings page?

Its not a page, its a dialog that can only be opened by a button, I could make a page for it but that doesn't make any sense unless its a page.

ItzCrazyKns commented 3 weeks ago

A bit weird, what browser are you using? I am not able to replicate with the same exact resolution.

I have tested on brave, duckduckgo, and soul browser, they are not very popular but this is what I'm using on mobile.

Could be an issue related to browser, can you try on some common browsers like Chrome?

Krzysi3k commented 3 weeks ago

I can confirm that settings button is available on mobile, It was problem on my side, somehow I was still using old docker image cached on my local machine. removed old image and pulled again, now it works. IMG_20241102_001419

edge-sky commented 1 week ago

I can confirm that settings button is available on mobile, It was problem on my side, somehow I was still using old docker image cached on my local machine. removed old image and pulled again, now it works. IMG_20241102_001419

I have cloned the latest version, but in mobile view still can not see the setting button. I am try to clear docker an pull again, but it doesn't work too. image

edge-sky commented 1 week ago

I can confirm that settings button is available on mobile, It was problem on my side, somehow I was still using old docker image cached on my local machine. removed old image and pulled again, now it works. IMG_20241102_001419

I have cloned the latest version, but in mobile view still can not see the setting button. I am try to clear docker an pull again, but it doesn't work too. image

Actually, it is work when you set the llm config, but for custom API user who not set any config such as openai API or Ollama API, you can't open the dialog on mobile.

mtcl commented 1 week ago

This issue is resolved now. Run below command to update. git pull docker compose up --build Screenshot_20241112_143715_Samsung Internet

delfireinoso commented 1 week ago

Great! works on my iPhone too!