replaysMike / Binner

Open source parts inventory system for makers, electronics hobby, and professional engineers
https://binner.io
GNU General Public License v3.0
268 stars 41 forks source link

Datasheets in Inventory Item Page #127

Closed JamesLPearson closed 1 year ago

JamesLPearson commented 1 year ago

Hi Mike,

I'm a bit confused about the datasheet changes in the recent releases. In the older versions I created URL links to PDF datasheets and saved these with an inventory item. I understand that you've now integrated a link to a repository that contains datasheets for many items. I'm not actually sure if I've seen this working on my system, perhaps I'm missing something. Most items don't have a match and those that (might) do have a match the SwarmAPI seems to timeout.

Regarding the items I already have entered into the database (from previous releases prior to the 'swarmAPI') I can only seem to access the datasheet URL from the Inventory List using the icon, but not from the item's individual page. The Datasheet section on the item's page just pulses through shades of grey as if it's trying to load.

JamesLPearson commented 1 year ago

Here are some screenshots in case I wasn't clear. The first one appears to be a part that causes the API timeout, the second is one where I have a datasheet URL but there's no way to view it.

Inventory - TL074

Inventory - NE5532

replaysMike commented 1 year ago

This is something I can fix for v2.3.1 - I removed the URL's from the UI as it's going to be taken over by the Datasheets display on the bottom right side, however I failed to integrate those url's into that response. Should be easy for me to restore. v2.3.1 will likely be released on Wednesday or even tomorrow if I can get them all done quickly.