InteractiveHtmlBom icon indicating copy to clipboard operation
InteractiveHtmlBom copied to clipboard

Give unique URL to each specific BOM line

Open rusefillc opened this issue 4 years ago • 3 comments
trafficstars

it would be great to be able to link to specific BOM line or even specific referenced component to have it pre-selected when page opens

rusefillc avatar Dec 06 '20 19:12 rusefillc

Can we do that from the user.js?

get the url parameter (rowid) like url.html?rowid=5 and call the createRowHighlightHandler or any other function to highlight that row?

makerstorage avatar Dec 08 '21 10:12 makerstorage

Literally anything is theoretically possible to do in user.js. But a good UI needs some more thought put into it. How to select rows for url change? Should multiple be selectable? Does bom mode need to be encoded in url too since it affects row numbers and bom contents? What about filters?

There's many questions I haven't thought through yet but I do like the idea. Of course you can do some minimum viable version in user.js, share it if you can make it work.

qu1ck avatar Dec 08 '21 11:12 qu1ck

Or maybe use the filters for this, url.html?filter=R21

vanBassum avatar Nov 23 '22 09:11 vanBassum