[Lestrades.com] Nao 尚

  • I'm Share-Locked
  • Administrator
  • Posts: 1,396
  • Trades: 223
Re: What's up at Lestrade's?
« Reply #630, on May 20th, 2018, 06:35 PM »
That's the thing... Nobody ever complained (even until now) about the order being reversed between match time and offer creation time. It always bothered me a bit. It really needs to be discussed more than it currently is, I think. :P
Re: What's up at Lestrade's?
« Reply #631, on May 25th, 2018, 11:55 PM »
NEW: Privacy settings in offer comments were pretty useless, especially "Just me" (which makes your comment, uh... Only readable by you... But still generates a notification to the other trader, uh...), so I added a "Just us" option which indicates only the offer's sender and recipient will be able to read it. (As well as yourself, if you're not part of these two of course.)
This is only barely tested-- I would need to test with someone else. Send me a PM if you wanna see an offer where I posted such a message, tell me if you can see it etc.
Re: What's up at Lestrade's?
« Reply #632, on May 26th, 2018, 01:02 AM »
(Reminder to self: feature doesn't seem to work properly (i.e. can't see my own comments) when posting a new comment and the page auto-refreshes. Forcing a refresh fixes it though...)
Re: What's up at Lestrade's?
« Reply #633, on May 26th, 2018, 11:05 AM »
FIX: Sorting option was not being saved across page loads if you had a huge library of games (e.g. would work fine on a small Tradables page but not on your library with several thousand games).
Re: What's up at Lestrade's?
« Reply #634, on June 3rd, 2018, 12:40 AM »
NEW: Pagination on wishlist/tradables/blacklist/library pages!

I worked on this for months, abandoned it at one point because of technical issues and finally devoted a couple days to working on it seriously.
- If you're visiting a list that has more than 1000 items (on desktop; or 500 items on mobile devices, 200 on desktop with banners enabled, and 100 on mobile with banners enabled), the list will be split over multiple pages. The number of items was chosen arbitrarily based on my own experience of performance comparisons between on-the-fly sorting and AJAX-based sorting. (Basically, on mobile, on-the-fly sorting speed was absolutely terrible beyond a few hundred items...)
- Paginated lists can still be sorted on the fly, but instead of sorting them through JavaScript I'll sort them on the server. This makes performance actually much better on mobile, but I'm close to the server physically so I don't know about you guys. I'd like to point out that if you checked items on your lists and then changed the order, they will still remain checked internally even if they disappear from the page (e.g. same sorting algorithm, reversed order). Once you reset the sort order, you'll get your items checked again. I'm insisting on this because it was the main cause for concern that I had to fix this week. :P
- I'm considering completely dropping JavaScript sorting because arguably server performance is always better on mobile devices and often on par with JS sorting on desktop devices. However I'm not 100% sure, it needs a lot more testing.

So, don't forget to send your bug reports..!

The only drawback of paginated lists is that you can no longer filter through all items at once, obviously. I'll try to add some kind of realtime filter like the search engine in the top bar, or the wishlist filter at Steam. We'll see about it... Right now I just want to go to bed. :P
Re: What's up at Lestrade's?
« Reply #635, on June 3rd, 2018, 01:10 AM »
FIXES:
- (Hopefully) fixed a silent Ajax error. I don't know what originated it but I modified something to ensure it wouldn't trigger.
- Pagination only generated valid page links on your own lists.
Re: What's up at Lestrade's?
« Reply #637, on June 8th, 2018, 06:12 PM »
FIX: Associated 1611 demos with their parent game. Yes, not very useful but I still wanted to have them all, as Barter only does it very occasionally (and marks demos as DLCs as well...)
Re: What's up at Lestrade's?
« Reply #638, on June 16th, 2018, 11:35 PM »
NEW: Added a new JSON output option to the Export feature. This is for Barter only. It will export your games with the following specifications: quantity (0, 1 or more), source store (only the most popular are transmitted), key type (key, link, gift), and that's all for now because I can't bother to convert tags between sites.

Important: Barter limits the size of their JSON text input to 40.000 characters, meaning you can't enter more than ~600 to ~800 games. If you have more games, the import process will fail at Barter, so just fall back to the original BVG format which only indicates game IDs. (Yes, I'm in that position and it's frustrating...)
Re: What's up at Lestrade's?
« Reply #639, on June 18th, 2018, 07:14 PM »
The bundle page is a bit crowded for my taste on mobile so I'll be reworking it soon.

In the meantime I added counters for owned & tradable games in addition to wishlisted items. :)
Re: What's up at Lestrade's?
« Reply #640, on June 18th, 2018, 11:36 PM »
NEW: Added "Matches" and "Takers" buttons on the multi-copy editor (the popup that sets tags and removes games etc.), available in both your list pages (Wishlist etc) and Bundle pages.
For instance, you can now match for all games in a bundle to determine, for instance, if anyone on the site is interested in any of your leftovers from a bundle you just bought.

This is a really nice feature that I added a year ago and only made available to Premium users (of course there is only one besides me). I figured that if I still don't have any way to automatically acquire Premium status over a year after I coded the damn thing, I might as well make it available to everyone, for practical purposes. Hope you like it!
Re: What's up at Lestrade's?
« Reply #641, on June 19th, 2018, 11:29 PM »
NEW: Added a filter search function for list pages. For instance, if you're on your library and you want to quickly find a game you own, just go there (it's the input box near the top of the page, right before the actual list of games), type a few letters and the game(s) will show up, you only need to click them to edit their tags on their game page.
I originally wanted to update the game list on the fly with this, but figured that it'd be a bit complicated and might risk screwing up your current selection. So instead I'm re-using the global game search input box, with the major difference that's it's set to only search within the current user's current list.

Well, I certainly hope you like that. It's something I'll probably use in the future, especially now that library lists are split over multiple pages and it's harder to find the game I want.

Akylen

  • Full Member
  • Posts: 218
  • Trades: 61
Re: What's up at Lestrade's?
« Reply #642, on June 20th, 2018, 12:02 AM »
This is very useful. I personally prefer if when the game is found instead of taking to the game page it would select it instead. Thanks anyway ;)

[Lestrades.com] Nao 尚

  • I'm Share-Locked
  • Administrator
  • Posts: 1,396
  • Trades: 223
Re: What's up at Lestrade's?
« Reply #643, on June 20th, 2018, 12:51 AM »
I know, but I can't with the current technique. I could possibly select items but only if it's on the current page. Because I can't be sure of that, it means I'd either have to manually add it to the list, perhaps at the top... bit weird..? doable but weird...
Re: What's up at Lestrade's?
« Reply #644, on June 21st, 2018, 03:52 PM »
FIX: Lestrade's would crash on you if you attempted to sync with a Barter list with more than 12.000 items (estimated number.)
I fixed it to hopefully work on many more items at once. In the future it might break again as we reach ridiculous numbers of games on Steam, in which case I'll fix it more aggressively, but for now I guess you can import up to 20.000 items now.