Wordwrap in devices on dashboard

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
janpep
Posts: 212
Joined: Thursday 14 March 2024 10:11
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Wordwrap in devices on dashboard

Post by janpep »

I had a problem with the readability of longer lines in text and alert devices.
Under Utility tab there is a wordwrap and text goes to the next line.
Under Dashboard tab this is not the case.
I found a workaround by changing /pathtodomoticz/www/css/styles.css.
See topic: Incomplete text shown on dashboard
I guess this shall be overwritten by next update.
Therefore my suggestion to implement this.

I can not think of a good reason to have the 'nowrap' that makes the rest of a longer sentence invisible.
Until now I do not see unexpected or unwanted side effects.

Code: Select all

.status {
        /* 22-05-2024 Jan peppink, Modified to get wordwrap on dashboard.*/
        /*white-space: nowrap;*/
        white-space: normal;
}
Domoticz in Ubuntu virtual machine on Synology DS718+ behind FRITZ!Box.
Using: EvoHome; MELCloud; P1 meter; Z-Stick GEN5; Z-Wave-js-ui; MQTT; Greenwave powernodes 1+6; Fibaro switch, plugs, smoke; FRITZ!DECT 200. Scripts listed in profile interests.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Wordwrap in devices on dashboard

Post by waltervl »

You can create a PR for this on the github repository on the developing branch so it will added to beta and later Stable.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
janpep
Posts: 212
Joined: Thursday 14 March 2024 10:11
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Wordwrap in devices on dashboard

Post by janpep »

Okay. Thanks for the tip!
I will see if I can find that.
But is it strange that I expected the 'suggestions forum' to be the place for suggestions? And that developers also read it?
There also might be a reason not to do this, which I have not thought of, that could be answered or discussed here.
Domoticz in Ubuntu virtual machine on Synology DS718+ behind FRITZ!Box.
Using: EvoHome; MELCloud; P1 meter; Z-Stick GEN5; Z-Wave-js-ui; MQTT; Greenwave powernodes 1+6; Fibaro switch, plugs, smoke; FRITZ!DECT 200. Scripts listed in profile interests.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Wordwrap in devices on dashboard

Post by waltervl »

I hardly see any suggestions created on this forum implemented into changes on Domoticz unless a developer has the same issue or the requester implements it themselves.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest