Skip to content

luci-app-package-manager: create solution when description text is cut off due to apk byte limit #8561

@owlsy

Description

@owlsy

Is there an existing issue for this?

  • I have searched among all existing issues (including closed issues)

Screenshots

Image
Image
Image

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

  1. Go to System -> Software
  2. Update lists…
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions