The collection directory sidebar should have a grid of icons or a list of names representing recently viewed collections so users can easily get back to recent collections. This is available to both logged-in and logged-out users. Please use localStorage for this feature. (the feature will not be available to browsers that do not support localStorage or have JS disabled) Assigning to chowse for designs.
I like the Recently Viewed section. My concern with changing the top box is that the overall stats page isn't planned and the browse my collections link is the same as the My Collections tab. So the only helpful link there is Create a Collection, which is what's there currently. I think we'll eventually have something to replace that box with for collection owners, but right now I don't think the replacement box provides enough value to warrant it.
I agree with Justin. I'm not really sure why we're trying to replace browser history anyway, but that's another discussion I guess.
We can implement this with only the Recently Viewed portion of the mockup.
Can we use localStorage for this? It's supported in FF 3.5, Safari 4, and IE8. This is not an essential piece, so I think it's ok to not show it in older browsers. http://www.quirksmode.org/dom/html5.html#localstorage
As mentioned in the description, yes, please use localStorage.
Oh right. I usually ignore the words you write, I'll try to be better about that from now on.
I was going to give this bug to someone else but fligtar said you really wanted to use localStorage
Created attachment 394380 [details] [diff] [review] show recently viewed collections
I tested this out on your khan and it looks pretty cool. One comment is that the Recently Viewed box should also show in the sidebar of the directory and search results, not just on collection view pages.
Well, now it's not showing up at all, which leads me to believe you're messing with things! boooooo git
Created attachment 394412 [details] [diff] [review] v2 Now showing on all collection detail, listing, and search pages.
Created attachment 394414 [details] [diff] [review] v3 With all the necessary files this time.
Comment on attachment 394414 [details] [diff] [review] v3 Pretty close, I'm seeing some dupes though. To reproduce: 1) Load collection A 2) Load collection B 3) Refresh collection A (b will show up) 4) Refresh collection B (collection A will show up twice)
Created attachment 394526 [details] [diff] [review] v4 Thanks for the catch. It was broken due to a typo, but now it's way better.
Created attachment 394527 [details] [diff] [review] v4, for real Of course, it helps to check in changes before cutting a new patch.
Comment on attachment 394527 [details] [diff] [review] v4, for real Works in FF. Let's double check it doesn't break other browsers.
I played with it (successfully!) in Safari4 and IE8.
Verified FIXED using Firefox 3.5.2, Namoroka, IE 8, and Safari 4.0.3 (works). Also regression-tested using Firefox 126.96.36.199, Opera 9.64, and Google Chrome (doesn't work, but no regressions found).