nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.18k stars 1.75k forks source link

Resize URL in menu header to make it fit in one line #11348

Open AE720 opened 1 year ago

AE720 commented 1 year ago

⚠️ Before posting ⚠️

Steps to reproduce

I looked thoroughly but it's probably being described in a way I can't find. This has been an issue for a while but I cannot remember the exact version when it didn't look like this but it didn't always. Between the logo, and the sort of long URL (20 character) it looks like the following screenshot: Screenshot_20230205-123007_Nextcloud

I don't recall doing anything with the favicon in terms of size but hopefully from a design perspective, it can be changed to be more accommodating for this kind of issue such as being able to automatically resize the logo. Even if me having to resize the icon on the server size to reflect the change here to make it small enough for the URL to fit on one line, it would be better from an end user standpoint to have something for that. Thanks in advance. Obviously a very low priority. I just wanted this to be brought to the proper persons attention.

Expected behaviour

the URL on one line so it doesn't look off.

Actual behaviour

See Screenshot

Android version

11

Device brand and model

Teracube 2e

Stock or custom OS?

Stock

Nextcloud android app version

3.23.1

Nextcloud server version

25.0.2

Using a reverse proxy?

Yes

Android logs

No response

Server error logs

No response

Additional information

No response

AlvaroBrey commented 1 year ago

Not sure if we can even do anything here, as URLs are arbitrarily long. If we wanted to restrict it to a single line we'd have to ellipsize it, so something like nextcloud.verylongdomain.com would be ellipsized to nextcloud.ver...com. This might also not be desirable as it may make it confusing for similar-looking domain names

AE720 commented 1 year ago

Not sure if we can even do anything here, as URLs are arbitrarily long. If we wanted to restrict it to a single line we'd have to ellipsize it, so something like nextcloud.verylongdomain.com would be ellipsized to nextcloud.ver...com. This might also not be desirable as it may make it confusing for similar-looking domain names

Thanks for the response. I wasn't sure if this was entirely a "bug" or a "Feature Request". I know 15-16 characters isn't the shortest but for a website or company name, I could see it falling into that character size. The biggest culprit is the size of the logo compared to the name. I also was not sure if this information is pulled from the domain name or if there was a setting you can name the Nextcloud instance to give it a "Friendly Name". As for names going well past this limit, they may have to be on 2 lines or it can be cut off but that would affect far less people.

AE720 commented 1 year ago

Feel free to mark this as a feature request and put it on the backburner. I'd like for it to resemble closer to the subsonic app as posted below. Not only will this give more space for the other elements, but it makes it looks cleaner. I don't expect a 1:1 copy but from a design standpoint, focus more in that direction. I'm grateful for everyone's effort in general and mean no disrespect. But outside of that, I just think the logo should be smaller and if there's documentation on how it works that I have to manage, then I've failed to find it. Screenshot_20230211-100956_Ultrasonic 1