Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use two lines for friendly name #4381

Closed
2 tasks done
mueller-ma opened this issue Jan 17, 2024 · 8 comments
Closed
2 tasks done

Use two lines for friendly name #4381

mueller-ma opened this issue Jan 17, 2024 · 8 comments
Labels
area:status-page Everything related to the status page area:ui/ux Interface and User Experience issues feature-request Request for new features to be added

Comments

@mueller-ma
Copy link
Contributor

⚠️ Please verify that this bug has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

When the friendly name is too long, it isn't shown fully on small displays like phones. The name could use multiple lines, so it's shown. Maybe limit this to two or three lines.

👟 Reproduction steps

Create a new monitor with "Very loooooooooooong name".

👀 Expected behavior

Full name is shown

😓 Actual Behavior

grafik

🐻 Uptime-Kuma Version

1.23.11

💻 Operating System and Arch

Windows 10

🌐 Browser

Firefox 121.0.1

🐋 Docker Version

No response

🟩 NodeJS Version

No response

📝 Relevant log output

No response

@mueller-ma mueller-ma added the bug Something isn't working label Jan 17, 2024
@CommanderStorm CommanderStorm added area:status-page Everything related to the status page area:ui/ux Interface and User Experience issues labels Jan 17, 2024
@CommanderStorm
Copy link
Collaborator

CommanderStorm commented Jan 17, 2024

Idk how where new line there would fit into our UI.
Why do you wan't so long titles? Could you give a real example as motivation?

@chakflying chakflying added feature-request Request for new features to be added and removed bug Something isn't working labels Jan 17, 2024
@chakflying
Copy link
Collaborator

I don't think this should be considered a bug, since it's more of a design choice.

@mueller-ma
Copy link
Contributor Author

The title doesn't have to be super long. For example from the screenshot in the Readme "Inbox by Gmail". When I use Chrome to emulate "Galaxy Fold", the title isn't fully shown:
grafik

Some services require more words to describe themselves for all users. For example "Active Directory" can be hard to understand for users where "Login on Windows Systems" is longer, but better understandable.

I don't think this should be considered a bug, since it's more of a design choice.

IMO anyone who wishes to can keep their titles short, but I personally prefer the full title to be shown.

@chakflying
Copy link
Collaborator

FYI in Settings -> Appearance, you can move the heartbeat bar to the bottom, which will give you plenty more space.

markup_1000029811.png

@mueller-ma
Copy link
Contributor Author

This setting doesn't influence the status page, but the dashboard only. And it's only for logged in user, not for every visitor: #1858

@mueller-ma
Copy link
Contributor Author

If you agree I can create a PR for this.

@CommanderStorm CommanderStorm mentioned this issue Jan 24, 2024
7 tasks
@mueller-ma
Copy link
Contributor Author

What about adding a mouse over text for the title? At least on PC users can view the full title then.

@mueller-ma
Copy link
Contributor Author

The following custom CSS enables line wrap for long titles:

.hp-bar-big {
  padding: 0; 
}
.monitor-list .item .info {
  white-space: normal;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:status-page Everything related to the status page area:ui/ux Interface and User Experience issues feature-request Request for new features to be added
Projects
None yet
Development

No branches or pull requests

3 participants