FOR DOWNLOADING THE PLUGIN PLEASE REFER TO THIS TOPIC

http://www.steamgifts.com/discussion/7euKx/steamgifts-beta


I have been working on SGv2+ since the beta started, but because of work related stuff, I kinda stopped pushing it forward. Now I am able to bring it back and I'd like to see if anyone in the community is experienced with Typescript/Javascript/CSS/HTML to help.

This time around, I'll be focusing on a modular design, each function will be contained in its own file and will be curated as I deem fit.

I'll set up my github account with the proper code in the weekend, all files will contain a mix of Javascript/Typescript code and are not presently suitable for end user, sorry.

The stuff I have that is updated to work with SGv2 includes:

  • Fixed navbar
  • Gridview

Things that could be part of SGv2+:

  • Scrolling Sidebar
  • Shorten comments
  • Endless Scroll
  • Hide Featured Giveaway
  • Put images in place
  • Live preview

And many more, nothing is set on stone, and those were the functions that I had working while the beta was going on. Some might be straighforward to make it work.

Last but not least, check the attachment image for Gridview + Fixed Navbar.


EDIT

Master branch is updated with the current code Github


EDIT (05/02/2015)

Functionality is coming together nicely, I have appended another screenshot to the post.


EDIT (06/02/2015)

What is currently working on SG++ Alpha is:

  • Scrolling Sidebar
  • Fixed Navbar (always on top)
  • Check if entry/winner has commented on giveaway
  • Comment and Enter (needs some tweak)
  • Endless Scroll (I still have to merge from madjoki)

EDIT (14/02/2015)

  • Beta launches

EDIT (16/02/2015)

Changelog 0.2.3 and 0.2.4

  • Fixed mixed errors;
  • Added User Hover Info, if enabled, after an user link is hovered for 1.5s a popup should appear with the info.

Known Issues:

  • User Hover Info report button doesn't work.

EDIT (27/02/2015)

Changelog 0.2.5

  • Allows users to forget a topic;
  • Fixes suspensions/report on User hover;
  • Updated Gridview to add more info/allow the hide giveaway to work;
  • Allows user to hide all read comments;
  • Other minor fixes.

EDIT (28/03/2015)

Changelog 0.3.0

  • Revamps settings;
  • Popup Giveaway added;
  • User Tagging added;
  • Some fixes;
  • You'll have to reenable your settings.

Contributors:

View attached image.
View attached image.
9 years ago*

Comment has been collapsed.


I see everything as double XD
I'm using firefox.
guess one from SGv2 dark stylish and another from Steamgifts++ grasemonkey or is it endless scroll ??

View attached image.
9 years ago
Permalink

Comment has been collapsed.

Glitch in the matrix guessing endless scroll since the style does not add anything, but i can't replicate in firefox.

9 years ago
Permalink

Comment has been collapsed.

it was happening cuz i enabled everything in SG++. there's option of endless scroll in settings which is disabled by default.{i had one endless scroll from SG++ & another downloaded directly - endless scroll26. disabling one of them solved the "double" problem}
i now have new bug. permalinks from message tab don't work properly. they only take you to that page..not to that particular comment on the page..

9 years ago
Permalink

Comment has been collapsed.

Noticed that with the last post links

9 years ago
Permalink

Comment has been collapsed.

I wish SG had the ability to bookmark/watch threads because this is one I'd be adding to that. xD

Thanks for your work m8.

9 years ago
Permalink

Comment has been collapsed.

if CG doesn't want to do that,
we could make a module for bookmarking discussion threads

9 years ago
Permalink

Comment has been collapsed.

I'd be happy to help, especially if it will allow me to more easily integrate SG into my giveaway group site...that I was supposed to have finished in January.

I don't have a whole lot of time, but I can toss around some Javascript/CSS/HTML.

9 years ago
Permalink

Comment has been collapsed.

I know SGPP does not touch datepicker but this bug only applies with SGPP active.

On Chrome Version 40.0.2214.111 m (64-bit), Tampermonkey stable Version 3.9.202. Work around for this is a page reload

View attached image.
View attached image.
9 years ago
Permalink

Comment has been collapsed.

yep, I noticed that yesterday, will take a look.

9 years ago
Permalink

Comment has been collapsed.

seems to apply to the "mark as read button" in messages page and search as well, maybe certain things that submit?

Ahhh i see it was the // @grant GM_none

9 years ago*
Permalink

Comment has been collapsed.


old but relevant

View attached image.
9 years ago
Permalink

Comment has been collapsed.

Are you guys gonna add one option to filter giveaways by level?

9 years ago
Permalink

Comment has been collapsed.

As I already said on the other topic, as soon as we make some improvement on checking when new giveaways are added (i.e. endless scroll), it will be easier

9 years ago
Permalink

Comment has been collapsed.

Nice that will be awesome! :D

Sorry i didn't read that topic thats why i asked.

9 years ago
Permalink

Comment has been collapsed.

will there be filters\black list like in previous version?

9 years ago
Permalink

Comment has been collapsed.

we might do something about filters, but blacklist, what do you miss that SGv2 doesn't implement?

9 years ago
Permalink

Comment has been collapsed.

I ment having possibility to import from old SG+ filtered titles that I don't want to see or already own.
I still have that SGPFilters exported in txt, and there's a lot of titles that I don't need\don't want.

9 years ago
Permalink

Comment has been collapsed.

Sticky this already!

9 years ago
Permalink

Comment has been collapsed.

Actually, this should aim for the other thread...

9 years ago
Permalink

Comment has been collapsed.

Is there a way to view the oldest comments first?

9 years ago
Permalink

Comment has been collapsed.

I believe the comment order is tied to the "EndlessScrollDiscussionReplies" so disable that to have older comments first

9 years ago
Permalink

Comment has been collapsed.

That worked, thank you so much!

9 years ago
Permalink

Comment has been collapsed.

Not critical but 'top' is undefined for the scrolling sidebar on pages where there is no side bar

Uncaught TypeError: Cannot read property 'top' of undefined
ScrollingSidebar.render.handleScrolling
ScrollingSidebar.render

9 years ago
Permalink

Comment has been collapsed.

can you pls link to a page without a sidebar so I can take a look at it ;)

9 years ago
Permalink

Comment has been collapsed.

ok thx

9 years ago
Permalink

Comment has been collapsed.

Thanks for the MarkComments that lets you see what topics you viewed. It seems to work alright, although perhaps you could consider making the "no new comments" in red font, so it stands out more like in SG+

9 years ago
Permalink

Comment has been collapsed.

Is this really needed? (Others feel free to give their opinion too)

I have improved marking for new to standout more (in dev version only). But I choose to not make topics without new messages to standout more.

View attached image.
View attached image.
9 years ago
Permalink

Comment has been collapsed.

I like it that way even better

9 years ago
Permalink

Comment has been collapsed.

That should be up tonight, my time, btw.

9 years ago
Permalink

Comment has been collapsed.

I think thats too distracting. The way new comments show on Discussions page is fine. Only thing I would like to change is the bold font it has and maybe the color and the "new comments" label.

9 years ago
Permalink

Comment has been collapsed.

Yup, it's better. Grey font isn't well visible

9 years ago
Permalink

Comment has been collapsed.

Suggestion: Mark Threads that a Bundler/Support/Moderator/Super Mod/Admin have left a comment. Something not to fancy of-course.
Dont know if its already suggested and also dont know if that would considered "stalking" but it would be useful to know when something has been answered by a staff member.

9 years ago
Permalink

Comment has been collapsed.

That would require checking every page on every topic and it would be very slow.
Servers would probably melt too.

9 years ago
Permalink

Comment has been collapsed.

Can't use it because of Chrome+Win security policy :(

9 years ago
Permalink

Comment has been collapsed.

Scrolling sidebar overlaps offers at bottom when window size is small

View attached image.
9 years ago
Permalink

Comment has been collapsed.

oh yea, my mistake, I had that on my backlog.

9 years ago
Permalink

Comment has been collapsed.

Along the same lines the gridview extra could use a z-index as the last row is covered by the community voted

9 years ago
Permalink

Comment has been collapsed.

Yep, I saw that... because the breadcrumbs got a very high z-index...

9 years ago
Permalink

Comment has been collapsed.

The "New" and the comments counter is to distracting I think. Imagine it in long Convos with the participation of the OP.
I think something more discreet would be better.
also there is no reason to show "New" on our own comments when we post them

View attached image.
View attached image.
9 years ago
Permalink

Comment has been collapsed.

From the grid view you can´t add a GA to your not wanted GA list, would be nice to have it too inside the GA

9 years ago
Permalink

Comment has been collapsed.

  1. There isn't icon to hide games in grid view.
  2. I still prefer the old mute games system for two reasons: capable of activate and disable, and faster (without reload the page EVERY time). The new mute system is a nightmare.
9 years ago*
Permalink

Comment has been collapsed.

  1. We are aware of that, it is a known "issue"

  2. It is cg's own implementation.

9 years ago
Permalink

Comment has been collapsed.

  1. I know that the current system is not part of SG ++, but I do not like this system of mute and I thought than you could add a complementary system :)
9 years ago
Permalink

Comment has been collapsed.

Indeed, we could roll our own, but I don't think it will get high on our todo list at all.. as bad as the system might be, it works.

9 years ago
Permalink

Comment has been collapsed.

Might be solution to use ajax to hide games

9 years ago
Permalink

Comment has been collapsed.

I also like to be able to temporarily turn off the mute, as in the old version. I have asked on Bugs / Suggestions Forum, but I think they will not take it in consideration.

9 years ago
Permalink

Comment has been collapsed.

Would be nice to see

$(".giveaway__row-outer-wrap").has("a.giveaway__column--group").each(function() {
  $(".global__image-outer-wrap--game-medium", this).css("background-color", "limegreen") //or something closer to the SGv2 group GA color
});

I have this active for myself since I'm inactive in one group and am not supposed to enter their GAs. Would be great to see this integrated since for now it won't load if the page is loaded via endless scrolling.

Added extra "awooga"

$(".featured__container").has("a.featured__column--group").each(function() {
    $(".featured__outer-wrap", this).css({"background-image":"none", "background-color":"green"})
});
9 years ago*
Permalink

Comment has been collapsed.

We already plan to paint the blocks on the grid view, so we might add an option to do that on the normal view.
Meanwhile, here's a little improvement to your code (uses the same colors as the group icon and has support endless scrolling):

$(".giveaway__row-outer-wrap").has("a.giveaway__column--group")
    .find(".global__image-outer-wrap--game-medium").addClass("giveaway__column--group");
$('.pagination').parent().on('DOMNodeInserted', function(e) {
    var $el = e.target;
    if ($el.has("a.giveaway__column--group")) {
        $el.find(".global__image-outer-wrap--game-medium").addClass("giveaway__column--group");
    };
})
9 years ago
Permalink

Comment has been collapsed.

Cheers, however it doesn't seem to work with endless.

9 years ago
Permalink

Comment has been collapsed.

Yeah, I just noticed it. I guess I deserve to look stupid after posting the code without testing it xD
I'll update it a sec.

9 years ago
Permalink

Comment has been collapsed.

Ok, this one seems to be working:

$(".giveaway__row-outer-wrap").has("a.giveaway__column--group")
    .find(".global__image-outer-wrap--game-medium").addClass("giveaway__column--group");
$('.pagination').parent().on('DOMNodeInserted', function(e) {
    var $el = $(e.target);
    $el.has("a.giveaway__column--group")
        .find(".global__image-outer-wrap--game-medium").addClass("giveaway__column--group");
})

basically, I forgot to convert $el to jQuery on that code

9 years ago
Permalink

Comment has been collapsed.

Adds .addClass("giveaway__column--group") to all elements on the page if it sees one --group.

Fixed with bringing back .css instead of .addClass

$(".giveaway__row-outer-wrap").has("a.giveaway__column--group").each(function(){
    $(".global__image-outer-wrap--game-medium", this).css("background-color", "limegreen");
});
$('.pagination').parent().on('DOMNodeInserted', function(e) {
    var $el = $(e.target);
    $el.has("a.giveaway__column--group").each(function(){
        $(".global__image-outer-wrap--game-medium", this).css("background-color", "limegreen");
});
});

There's probably a better way to do this with .addClass but I'm a filthy jQuery casual so this is how I've done that :>

9 years ago*
Permalink

Comment has been collapsed.

Yeah, the class is what makes the background exactly as green as the group icon, but I'm glad you could adapt to what you want. Also, you can replace your .each() with a .find(), in case you didn't notice.

9 years ago
Permalink

Comment has been collapsed.

Yeah, I know that it makes it exactly the same color but then it also applies .addClass to all divs with .global__image-outer-wrap--game-medium on .on('DOMNodeInserted'), that's why I went with .css which for some reason doesn't.

And yeah, realized that, looking them up right now. Even though I'm still making baby steps, your input has been enlightening ;) Cheers for that!

9 years ago
Permalink

Comment has been collapsed.

Jumping the gun a bit but a custom class would be helpful and maybe later on once the color picker is in we could let users choose the colors.

9 years ago
Permalink

Comment has been collapsed.

Don't know if I'm too late, shame I saw this thread just today.

Are you guys still in need for more help? I'd love to provide something like this for the community.

I have some experience in Javascript and CSS. Never had a chance to work on a browser extension, but this would be a great excuse to give a try.

9 years ago
Permalink

Comment has been collapsed.

The source code is available to everyone on Github. If you're able to provide any useful enhancement I'm sure leomoty will be glad for the contribution.

9 years ago
Permalink

Comment has been collapsed.

Got it. Gonna take a look to see if I have enough skill.

9 years ago
Permalink

Comment has been collapsed.

I don't entirely understand what "Comment and Enter" feature does...

9 years ago
Permalink

Comment has been collapsed.

You can make a comment for the giveaway in the box above and when hitting the button it will submit your comment and enter the giveaway at once.

9 years ago
Permalink

Comment has been collapsed.

Hey guys, thank you for your hard work so far. I've just tested the latest version and it seems it's got nearly everything I was missing already^^ Just one thing isn't included yet, which I really liked: Opening giveaways in "pop-ups" instead of a new tab. Do you have any plans on putting this back in? At least I would really appreciate that!

9 years ago
Permalink

Comment has been collapsed.

We are definitely interested in that, unsure whenever someone will implement it though.

9 years ago
Permalink

Comment has been collapsed.

There is one right here but it doesn't work well when using the "endless scroll" feature and it doesn't refresh how many remaining entry points that you have left once you enter a giveaway.
http://www.steamgifts.com/discussion/OX63y/steamgifts-open-pages-in-pop-in

9 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 9 years ago.

9 years ago
Permalink

Comment has been collapsed.

Which setting is that? I can't seem to get it to work that way. Using 0.2.5 with Firefox and SGv2 Dark skin.

9 years ago
Permalink

Comment has been collapsed.

Not in there yet.., next update.

9 years ago
Permalink

Comment has been collapsed.

Ahh, OK. Thanks. Looking forward to it!

9 years ago
Permalink

Comment has been collapsed.

The new version is amazing! Thanks!

9 years ago
Permalink

Comment has been collapsed.

I really liked the % chance of winning and filtering giveaways, for example 300 entries per 1 copy. Is this function in this one? If not, are there plans to do it?

9 years ago
Permalink

Comment has been collapsed.

Gridview has the chance of winning currently, we should add this to non-Gridview version as well... Filtering is planned at some extent, we need someone to implement it, but might happen sooner or later.

9 years ago
Permalink

Comment has been collapsed.

So it seems I'll be using it soon :) Thanks for the reply and working on it.

9 years ago
Permalink

Comment has been collapsed.

Hi! I love what you've done with this, and if I may, I have a suggestion. Could you add on this filtering option? It'd be something like this:

[ ] Filter out entered giveaways
... [ ] Exclude entered giveaways from this filter that are above [X] in entries

[ ] represent checkboxes (except for [X] which is a box for user entry). The second (sub) option only becomes selectable if the first one is checked (ignore the ...), and X represents a number that the user can input, that box is large enough for bigger numbers if necessary, maybe up to 5 or 6 digits (though I can't see anything over 4 digits being needed). This would greatly limit what we have to look at when we're entered in a lot of giveaways, and we wouldn't have to keep turning off the filter or using the search box when a giveaway has more people entered in it than we'd like, to pull out of it. Thanks and keep up the great work!

9 years ago*
Permalink

Comment has been collapsed.

Please add filter by level if possible.
It was used in the previous version of sg+

http://puu.sh/gpWUz/2ab14c00b2.jpg

9 years ago
Permalink

Comment has been collapsed.

+1 I would very much like to be able to see giveaways only above a certain level.

9 years ago
Permalink

Comment has been collapsed.

+1 to filtering

9 years ago
Permalink

Comment has been collapsed.

+1, loved that feature.

9 years ago
Permalink

Comment has been collapsed.

will the feature to hide entered GAs come?
will we be able to set the cronologicaly in discussion back to default without having endless scroll deactivated?

9 years ago*
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.