Is there an existing issue for this?
Screenshots
Actual behaviour
Descriptions for software packages are being cut off if they are over 512 characters (probably intentional).
Expected behaviour
If descriptions for software packages are over 512 characters, show a '…' horizontal ellipsis, along with a graphical UI button or a 'Show More' text link to further expand the entry list height and view the full description.
Example
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur quis tellus nec arcu aliquam elementum. Aliquam erat volutpat. Etiam efficitur rutrum leo, vel porta tortor mollis quis. Duis vehicula interdum ex, sed vulputate libero maximus vel. Cras condimentum odio a sapien tincidunt, quis condimentum nunc pellentesque. Morbi aliquet dictum nisi, eu congue enim eleifend ac. Curabitur tincidunt ac justo in vestibulum. Phasellus id tristique nulla, pharetra gravida mi. Ut accumsan dolor lacus, non veli… Show More
Steps to reproduce
- Go to System -> Software
- Update lists…
- View available package list and look for long descriptions.
Additional Information
Reasoning
I started to do PRs for any long descriptions (openwrt/packages#29062, openwrt/openwrt#22967, openwrt/openwrt#22968, openwrt/packages#29178), but realised with 10,835 distinct packages available at the moment… a different approach needs to be done.
Output of ubus call system board
{
"kernel": "6.12.74",
"hostname": "Dragon",
"system": "MediaTek MT7621 ver:1 eco:3",
"model": "TP-Link ER605 v2",
"board_name": "tplink,er605-v2",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "25.12.2",
"firmware_url": "https://downloads.openwrt.org/",
"revision": "r32802-f505120278",
"target": "ramips/mt7621",
"description": "OpenWrt 25.12.2 r32802-f505120278",
"builddate": "1774469393"
}
}
What browsers do you see the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Is there an existing issue for this?
Screenshots
Actual behaviour
Descriptions for software packages are being cut off if they are over 512 characters (probably intentional).
Expected behaviour
If descriptions for software packages are over 512 characters, show a '…' horizontal ellipsis, along with a graphical UI button or a 'Show More' text link to further expand the entry list height and view the full description.
Example
Steps to reproduce
Additional Information
Reasoning
I started to do PRs for any long descriptions (openwrt/packages#29062, openwrt/openwrt#22967, openwrt/openwrt#22968, openwrt/packages#29178), but realised with 10,835 distinct packages available at the moment… a different approach needs to be done.
Output of
ubus call system board{ "kernel": "6.12.74", "hostname": "Dragon", "system": "MediaTek MT7621 ver:1 eco:3", "model": "TP-Link ER605 v2", "board_name": "tplink,er605-v2", "rootfs_type": "squashfs", "release": { "distribution": "OpenWrt", "version": "25.12.2", "firmware_url": "https://downloads.openwrt.org/", "revision": "r32802-f505120278", "target": "ramips/mt7621", "description": "OpenWrt 25.12.2 r32802-f505120278", "builddate": "1774469393" } }What browsers do you see the problem on?
Firefox, Chrome, Safari, Microsoft Edge