inventree / InvenTree

Open Source Inventory Management System
https://docs.inventree.org
MIT License
4.32k stars 781 forks source link

[FR] display links as clickable in table views (links for line items of POs etc) #8070

Closed simonkuehling closed 2 months ago

simonkuehling commented 2 months ago

Please verify that this feature request has NOT been suggested before.

Problem statement

when adding links to supplier parts, those links were previously rendered as clickable html links in table views like purchase order line items etc. In the PUI interface, the whole table row now has the same link action (which is generally very consistent and appreciated compared to the old interface) - but especially in PO line items it is very useful to be able to directly click on those links when assembling a shopping cart for purchasing parts

grafik

Suggested solution

table fields containing URLs should be excluded from the current "boundary box link" and the URLs should be rendered as <a href...>html links instead like this:

grafik

Describe alternatives you've considered

Depending on UI consistency considerations this could instead be implemented with a small icon next to the URL as a "action button" - but I think a traditional link with the classic underline should be conventionally recognized by users

Examples of other systems

No response

Do you want to develop this?

SchrodingersGat commented 2 months ago

@simonkuehling thanks, this is a simple fix, we already the column rendering functions in place - https://github.com/inventree/InvenTree/pull/8072