Digikey sort by prce at qty disappeared? - Page 1
Forum section: electronics / general

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: May 12, 2013, 10:32:29 pm
content: Digikey seem to have rearranged their search results recently, and their very useful and unique feature to sort by price at a particular quantity seems to have disappeared - anyone else (not) seeing this?

author: krenzo
author_rank: Regular Contributor
timestamp: May 12, 2013, 10:43:51 pm
content: Quote from: mikeselectricstuff on May 12, 2013, 10:32:29 pmYou can enter the quantity below the filters but above the results.

author: peter.mitchell
author_rank: Super Contributor
timestamp: May 12, 2013, 10:45:13 pm
content: Now if only we could choose the order of the columns...

author: HackedFridgeMagnet
author_rank: Super Contributor
timestamp: May 12, 2013, 11:11:30 pm
content: Good to see they are working on it, you can now reset individual filters.It's nice that the filter section doesn't disappear when you get down to one page of results too.Hopefully they have done some workflow improvements on the Bom uploader, I find it a bit difficult sometimes.

author: Psi
author_rank: Super Contributor
timestamp: May 12, 2013, 11:19:24 pm
content: I like how they have moved the price column from its original right hand position to more centered in the table.No more scrolling to see price on products with lots of parameters.Also i see you can hover over a component picture and the large picture appears. That's excellent.I've always liked that feature on other websites.

author: codeboy2k
author_rank: Super Contributor
timestamp: May 13, 2013, 12:56:35 am
content: Unless its just been added since you posted this, Mike, I can see the qty at the top right. I entered 100 and it's priced at qty 100 now.Yes, I like that they moved the price column closer to the start.

author: EEVblog
author_rank: Unknown
timestamp: May 13, 2013, 03:18:28 am
content: Quote from: codeboy2k on May 13, 2013, 12:56:35 amThat' a MASSIVE improvement!Been waiting for that for years.I like the QTY box above, works well, and just like the existing method. So no functionality lost there Mike.

author: codeboy2k
author_rank: Super Contributor
timestamp: May 13, 2013, 07:11:33 am
content: I like it better than the old way that opened a pop-over window

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: May 13, 2013, 08:13:13 am
content: Probably is better that way - just didn't notice it!A way to delete or at least resize columns would be good though.The other thing that's still annoying is a seperate line for each packaging option.

author: Fsck
author_rank: Super Contributor
timestamp: May 13, 2013, 08:52:30 am
content: *mindblown* saves you some clicking though.

author: free_electron
author_rank: Super Contributor
timestamp: May 13, 2013, 01:39:14 pm
content: Quote from: mikeselectricstuff on May 13, 2013, 08:13:13 amJust specify tr nd1 or nd2 in your search parameter.0805 1% resistor trWill get you only tape and reelNd or nd1 will get you loose parts . Nd2 is digireel

author: bombledmonk
author_rank: Regular Contributor
timestamp: May 13, 2013, 02:33:04 pm
content: Quote from: EEVblog on May 13, 2013, 03:18:28 amNot that anyone would care or use it, but I've had the columns moved over in my userscript for well over a year now.http://www.eewiki.net/display/Motley/advancedsearch+Greasemonkey+UserscriptQuote from: mikeselectricstuff on May 13, 2013, 08:13:13 amThe delete portion is hacked into the userscript as well...

author: HackedFridgeMagnet
author_rank: Super Contributor
timestamp: May 13, 2013, 11:24:39 pm
content: Does the script need to changed to match the site changes?Greasemonkey is great for what I use it for, only to get rid of the google redirects.I will give it a try at digikey.

author: bombledmonk
author_rank: Regular Contributor
timestamp: May 14, 2013, 01:00:44 pm
content: Quote from: HackedFridgeMagnet on May 13, 2013, 11:24:39 pmI've fixed most of issues introduced by the changes. There are still a few outstanding issues, but feel free to let me know if you find anything odd.I also apologize that it only works on the digikey.com (US) site for the time being. There are a few differences with international sites that I haven't yet rectified.

author: bombledmonk
author_rank: Regular Contributor
timestamp: May 22, 2013, 04:04:05 pm
content: I did get around to internationalizing theadvancedsearch Digi-Key userscriptif anyone cares to take a look.I'd certainly appreciate some input and testing help from any interested people.

author: HackedFridgeMagnet
author_rank: Super Contributor
timestamp: May 23, 2013, 12:54:01 pm
content: It looks really good and useful but I have a bug in it.The error happened when trying to sort columns. Using Firefox latest, windows 7 64bit.Quotepointing at the first F "not well formed", it looks well formed but maybe missing inverted commas or the enclosing tag.Now it works, initially I did not filter by package, initially it didn't sort on any column, after I filtered by package it worked on all columns.Can I switch the scripts on/off would be really good. Just in case something is a bit strange.I like the picture previewing it could be really useful sometimes.More space for parts which is great.Great work, I recommend the concept thoroughly and with a bit more testing and assuming you can keep it up to date I recommend it to anyone.

author: HackedFridgeMagnet
author_rank: Super Contributor
timestamp: May 23, 2013, 01:22:12 pm
content: As far as the BOM upload goes, I tried it again with good results. This time I use text file import, which was a cut and paste. Which is what I wanted.Maybe just call the link paste in text, instead of import text file because that implies a file upload.Lines that didn't parse successfully are included with a best guess. Excellent.The same part on two lines is highlighted red. Excellent.I can use that.One other issue I had was my BOM got deleted quicker than I expected.Also would be good if you could upload BOM. Download it, modify it and then Upload it again without having to set up the columns again.So however it is downloaded is the default when it is uploaded. I think the column headings get in the way.It really should be able to look for its own column headings.This way I could keep my own record of my adjustments.

author: bombledmonk
author_rank: Regular Contributor
timestamp: May 23, 2013, 01:35:56 pm
content: I updated the sorting mechanism, it hopefully is fixed.Quote from: HackedFridgeMagnet on May 23, 2013, 12:54:01 pmCould you maybe clarify this statement? I'm guessing a couple words got switched around, but I don't want to assume.

author: HackedFridgeMagnet
author_rank: Super Contributor
timestamp: May 23, 2013, 02:00:15 pm
content: I mean just have a button that lets everything go back and forth between normal view(+ 1 button) and your scripted/restyled page.So if I am having a problem with the scripted view or something seems amiss, I can toggle back to normal view. The normal view would need one extra button or link to go to the scripted/restyled view.

author: bombledmonk
author_rank: Regular Contributor
timestamp: May 23, 2013, 03:06:23 pm
content: Quote from: HackedFridgeMagnet on May 23, 2013, 02:00:15 pmWith the way the script is written, it isn't really possible to do a live toggle, but clicking the GreaseMonkey icon (to disable it) and hitting refresh will get you there.I could also include a toggling button in the script to refresh the page and disable most of the script on the reload if that was an acceptable solution.

author: kfitch42
author_rank: Frequent Contributor
timestamp: May 23, 2013, 05:46:02 pm
content: One feature I would love to see on digikey is something that the parametric search on newegg has. Being able to see what parameters have been selected, and be able click an 'X' to remove a parameter. Perhaps just above the boxes to make a selection you would see something like:Constrained Parameters:Bandwidth Number of Pins Furlongs Per Fortnight ...Often I will overconstrain things initially (oh wow there are three out of stock parts that cost $1000000 each that meet my ideal parameters...) and play a game of going back to find the right set of parameters, and the only way to know what is constrained on the particular page is to notice which boxes are NOT there.

author: HackedFridgeMagnet
author_rank: Super Contributor
timestamp: May 23, 2013, 11:05:04 pm
content: The greasemonkey toggle is good enough. It is more of a "just in case" scenario.QuoteThat is something I too have wanted, but currently I just go back one page.Another thing that is useful that is in your script is the breadcrumbs are all links, for some reason Digikey kills the link in the last breadcrumb. It is an easy way to reset your search.Great work bombledmonk.

author: bombledmonk
author_rank: Regular Contributor
timestamp: May 24, 2013, 01:29:22 am
content: Quote from: kfitch42 on May 23, 2013, 05:46:02 pmI tried and failed at doing that in a userscript in the past, but I've got a few more tricks up my sleeve now. I've got a couple ideas in mind. Might see it show up in the future, but can't promise anything.

author: bombledmonk
author_rank: Regular Contributor
timestamp: May 31, 2013, 07:25:45 pm
content: Well I haven't failed this time..... I have a working prototype of individual parametric removal.I also increased the speed of the script. It's run time is about 10% of what it was.

author: fmaimon
author_rank: Unknown
timestamp: May 31, 2013, 09:25:53 pm
content: I've tried searching for op amps and the supply voltage helper didn't show up. Is this a bug?

author: bombledmonk
author_rank: Regular Contributor
timestamp: May 31, 2013, 09:46:03 pm
content: I should also note that this my first working attempt at the individual parametric removal. I have some more planned for that feature.Quote from: fmaimon on May 31, 2013, 09:25:53 pmA choice actually..... It's rather unreliable because of the complex fashion in which Digi-Key displays data. I know that's a hot target for selection help and it is being worked on, but I'm not yet happy with the results on that parameter in opamps. If you find any other product families that are missing a range search that might be a bug so please feel free to let me know.

author: fmaimon
author_rank: Unknown
timestamp: May 31, 2013, 10:39:00 pm
content: Quote from: bombledmonk on May 31, 2013, 09:46:03 pmOk. If I find something else I'll post it in here.Thank you for the script. It's a very good one! I'm looking foward for the improvements.

author: TimNJ
author_rank: Super Contributor
timestamp: May 31, 2013, 11:07:22 pm
content: Damnit Mouser. I like using Mouser generally, but jeez, that's one function they are missing...and I'm not sure why it'sstillmissing.

author: gxti
author_rank: Frequent Contributor
timestamp: June 01, 2013, 12:08:32 am
content: That voltage helper is killer! I have my own, much simpler script but it does not yet have that feature, it's fairly daunting and I have not yet gotten around to adding it.May I humbly suggest a few features from my script that would be nice? One is making a helper for the "Feature" fields that have comma-separated lists of items. For example, the "Type" field in "DC DC Switching Regulators" has entries that look like "Step-Down, Step-Up, Inverting, Flyback, Cuk" etc. all on one line and in many different combinations. So you collect all the individual items (like "Step-Down"), present a checkbox for each unique item, and the user can check off one or more and it will select all of the rows that contain any checked word.A simpler one is that the first time the category page is opened, "In Stock" is automatically checked and all packaging options other than "Tape & Reel" and "Digi-Reel" are selected. In particular this keeps the Digi-Reel entries out since they're mostly duplicates of the Cut Tape options and they show up at qty 1.But already this looks great, and I can use both it and my script simultaneously to fill in the gaps. Keep it up! If I had to offer some criticism it is that the on-hover popups should appear after a delay, especially the "example pics" on the home page. I'm also not so keen on the smooth scrolling.Here is mine, if you're curious:http://partiallystapled.com/digi-key-dorkery/

author: bombledmonk
author_rank: Regular Contributor
timestamp: June 01, 2013, 04:24:05 pm
content: Quote from: gxti on June 01, 2013, 12:08:32 amThat's in there, just not enabled for everything. Take a look atmicrocontrollers. I'm not sure if it works exactly like people want. It's an ANDed selection process so any line selected has to have these all of the selected features. I'll get it enabled for more parameter names in the next release. In the future, I might also implement an ORed selection if that's desired.Quote from: gxti on June 01, 2013, 12:08:32 amThat's a great idea! The header currently remembers if in stock is checked. Not quite the same feature, but it's there.Quote from: gxti on June 01, 2013, 12:08:32 amYeah, almost all of popups have a built in delay (300ms on most, plus a slowdown in mouse movement is needed to trigger)so I can already tune them to whatever suites people best.I'm actually not the biggest fan of the smooth scrolling either, but I'm using some of this as a tech demo to learn some new things as well. Features may appear and disappear at will. I'm all for comments/concerns, and for nearly any feature I can add a control to enable/disable a feature if desired, just let me know.Thanks for the compliments and feedback. I hope it's more helpful to people with the speed optimizations I added. There's no more 4 second delay on load. It's not instant either, but probably close enough to not impede people's experience too much. I've had the dorkery script installed since you first posted it here, it's night nice and lightweight for adding some really helpful features.

author: bombledmonk
author_rank: Regular Contributor
timestamp: June 03, 2013, 04:45:25 pm
content: Quote from: bombledmonk on June 01, 2013, 04:24:05 pmI took a look and I was wrong. The timing was 100ms which indeed was triggering rather fast. I changed that to 300ms and the script should autoupdate if you allow greasemonkey to do that. See if that feels any better.