Akylen

  • Full Member
  • Posts: 218
  • Trades: 61
One button to sync
« on May 10th, 2017, 07:33 PM »

Now that we can sync both the wishlist and the library with steam I'd like to ask if we can have one button to sync everything :)

[Lestrades.com] Nao 尚

  • I'm Share-Locked
  • Administrator
  • Posts: 1,396
  • Trades: 222
Re: One button to sync
« Reply #1, on May 11th, 2017, 12:04 AM »
I'm actually planning to automate both syncs in the future (hopefully daily, but it'll all depend on how many items are to be synced across all users...), so that'd be less useful I guess..?
I could add a button to sync both, but... Where??? :^^;:

Akylen

  • Full Member
  • Posts: 218
  • Trades: 61
Re: One button to sync
« Reply #2, on May 11th, 2017, 02:13 PM »Last edited on May 11th, 2017, 09:51 PM
Automatic sync would be really good  8-)

Even with periodic sync, there is still a need to always have a manual sync button I guess.
The possible places I can think of are (ordered by preference):
* Around the profile on the right side (either below the avatar). Or make a new row for generic tasks? and add the button there - although I think it makes sense to be attached with the profile
* Next to the search bar on the left (right before the logo)
* Profile page

I also had the idea of pushing the Home and Profile menu to the top justified left and move Notifications and My Messages to the top as well justified right. But this is kind of out of this topic hehe


Note: I am not considering the technical feasibility on any of the suggestions, just throwing out what might look better  :eheh:

PrometeheusCZ

  • Newbie
  • Posts: 1
  • Trades: 29

[Lestrades.com] Nao 尚

  • I'm Share-Locked
  • Administrator
  • Posts: 1,396
  • Trades: 222
Re: One button to sync
« Reply #4, on May 25th, 2017, 02:24 PM »
I... don't think so?
I guess someone with enough motivation could write a userscript that would take wishlist data from Lestrade's, compare it with Steam's and push new wishlisted items to Steam. I'm just not sure of the point of doing that..? You can simply look at your LT wishlist and middle-click on items not explictly marked with 'STEAM' as their wishlist source, then you can add them manually on Steam.
Quote from Akylen on May 11th, 2017, 02:13 PM
Even with periodic sync, there is still a need to always have a manual sync button I guess.
Yes, when you add a game and want to immediately find matches without having to use the search engine. (Lazy bastards! :P)
Quote from Akylen on May 11th, 2017, 02:13 PM
* Around the profile on the right side (either below the avatar).
You mean in the sidebar..? (Because I'm considering removing the sidebar...)
Or the profile page?
Quote from Akylen on May 11th, 2017, 02:13 PM
* Next to the search bar on the left (right before the logo)
Needs to be mobile-friendly, so I'm unlikely to add more things to the top bar... ^^
Quote from Akylen on May 11th, 2017, 02:13 PM
I also had the idea of pushing the Home and Profile menu to the top justified left and move Notifications and My Messages to the top as well justified right. But this is kind of out of this topic hehe
Well there's always something that can be done about this.
The main menu is inherited from Wedge, I wrote it with more forum-related features in mind that I disabled for Lestrade's. (Also, the menu has an Admin submenu that's only viewable by me, including a link to server errors. :^^;:)

Akylen

  • Full Member
  • Posts: 218
  • Trades: 61
Re: One button to sync
« Reply #5, on May 26th, 2017, 12:54 AM »

I meant the sidebar yes, but the profile page is another good possibility  :hmm:
Quote from Lestrade 尚
Yes, when you add a game and want to immediately find matches without having to use the search engine. (Lazy bastards!:P)
:whistle:


You should have a whole admin page :niark:


PS: Couldn't get the quoting right no matter how much I tried. I guess I am too used to markdown nowadays.

[Lestrades.com] Nao 尚

  • I'm Share-Locked
  • Administrator
  • Posts: 1,396
  • Trades: 222
Re: One button to sync
« Reply #6, on June 10th, 2017, 05:47 PM »
Has anyone tried @theemu-'s solution for BVG recently..?
Just wanna know if I have to do all the work and re-enable that monkeythingy extension :P

Akylen

  • Full Member
  • Posts: 218
  • Trades: 61
Re: One button to sync
« Reply #7, on June 28th, 2017, 06:21 PM »
Did anything changed for auto sync? I think this is crucial in order to be able to trade actively. I find myself needing to sync every time I come here  :(

[Lestrades.com] Nao 尚

  • I'm Share-Locked
  • Administrator
  • Posts: 1,396
  • Trades: 222
Re: One button to sync
« Reply #8, on June 28th, 2017, 09:52 PM »
Well, auto-sync is enabled (every day, sometimes more) for Steam wishlist and Steam library.
Tradables are the only thing you'd want to manually sync, I still don't sync it automatically because I'm unable to find out whether an item is missing because it was traded at BVG or because you use LT as your primary trading base and you forgot to add it to BVG.
What I'm considering is adding a profile option to tell LT that your main base of operation is Barter and that any missing tradables over there should be removed from LT as well. It's a bit complicated though, which is why I'm focusing on other things for now.

I feel like I repeat it every day, but really, manual sync isn't that hard or time-consuming. :^^;:
Tradables > Compare tradables with Barter > Add them all + Back button + Remove them all.

Akylen

  • Full Member
  • Posts: 218
  • Trades: 61
Re: One button to sync
« Reply #9, on June 30th, 2017, 12:15 AM »
I was more worried about wishlist and library. I see how tradables is more of a second solution, because either LT becomes primary for trading or Barter.


The reason I asked is because I noticed the wishlist and library not being synced for couple days. I will keep an eye on it and let you know again with more details hopefully.

[Lestrades.com] Nao 尚

  • I'm Share-Locked
  • Administrator
  • Posts: 1,396
  • Trades: 222
Re: One button to sync
« Reply #10, on June 30th, 2017, 12:41 AM »
I've always seen them in sync personally, in fact I'm starting to wonder if I'm not doing syncs way too often... (Like, am I doing an auto-sync when completing an offer? I don't think I ever added that code but I always see my library being updated within a few seconds... lol I should really double-check that part.)

Maybe sync was broken by the SSL certificate problem yesterday, but I doubt it had a long-lasting effect. It was only for a few hours ;)

Yirg

  • Newbie
  • Posts: 5
  • Trades: 0
Re: One button to sync
« Reply #11, on July 9th, 2017, 07:04 PM »
Quote from Lestrade 尚 on June 28th, 2017, 09:52 PM
Well, auto-sync is enabled (every day, sometimes more) for Steam wishlist and Steam library.
Are you sure it's working properly? Because I just synced both manually and each resulted in changes.

[Lestrades.com] Nao 尚

  • I'm Share-Locked
  • Administrator
  • Posts: 1,396
  • Trades: 222
Re: One button to sync
« Reply #12, on July 9th, 2017, 08:16 PM »
Works for me. In fact I suspect it updates more that daily, since it often has my latest library changes even without syncing manually.

Akylen

  • Full Member
  • Posts: 218
  • Trades: 61
Re: One button to sync
« Reply #13, on July 9th, 2017, 10:21 PM »
There is definitely a problem with the auto-sync.

Logged in to the website and registered these stats (30-06-2017):

Wishlist - 2388
Library - 2243

I have added new games every day to wishlist and library.

Today (09-07-2017), after sync:
Wishlist - 2476
Library - 2267

After 9 days you can see that nothing happened.
I can confirm that syncing one of them syncs everything else, apart from blacklist.

[Lestrades.com] Nao 尚

  • I'm Share-Locked
  • Administrator
  • Posts: 1,396
  • Trades: 222
Re: One button to sync
« Reply #14, on July 10th, 2017, 10:53 AM »
If you didn't, though, then that'd explain it partially: LT only syncs active users, that is, if you haven't logged in the last 7 days, LT will stop including you in the scheduled task that updates all wishlists & libraries.

Let me look at it again though...

Oh, right. Just as I feared, lol.
Auto-sync was launched for active users who had last auto-synced in the last 24 hours... That should obviously be the opposite, lol: active users who haven't been auto-synced in the last 24 hours.

Fixed that. Sorry about the mess. The issue was due to a frenetic copy & paste where I used the same code as the activity test, except it should have been reversed (since I was testing for non-sync state, rather than up-to-dateness. Is that even a word?)
The problem is, as the admin I'm obviously visiting the site every day. If I had for any reason been offline for 25 hours, then I'd be off the autosync list forever. Which would have suddenly made it obvious to me that it was buggy... Up until now it worked too well, so that explains why I had my library up to date every time I went back to the site after a trade, ahah...

Quick poll: should I use the auto-sync scheduled task to also remove items that went from your wishlist to your library..? Or maybe limit it to Steam wishlisted items that went to your library, since it's likely you would want those for yourself only. Of course, I'd exclude all games with a + (extra) tag... I never did it until now because I record these things and I tell users to remove their wishlisted items when they visit their wishlist.
Maybe I could make it a flag when I start overhauling the profile area... By default, remove wishlisted when found in library. If a checkbox is clicked, only ask for advice when visiting the wishlist area.

I'm also considering not syncing wishlist & library until the user started adding tradables... I've occasionally seen people register to the site, and then no longer come back to it, making LT import their wishlist & library for zero benefits (except artificially changing the H:W ratio for nothing.)