Login Register
Ix Techau Evil Mastermind 13,243 pts

Feature requests, bug reports, etc

Posted by Ix Techau about 2 years ago · 276 replies

Use this thread to report any bugs you come across, or to suggest any new/fun features for the platform.

Last three updates (you can see a detailed changelog here):

v3.2 (4 Jan 2017)
  • Small colour palette changes to freshen up the site
  • Fixtures & Results page updated with updated points and form stats
  • More minor fixes across the board
v3.1 (3 Jan 2017)
  • Password updates finally work, from resetting to updating
  • Minor fixes
  • Recaptcha fixed for new registrations
  • Match threads now show who predicted what outcome
  • Predictions have been cleaned up, summer time removed
  • New Fixtures & Results page
v3.0 (14 Aug 2016)
  • Huge: Brand new player stats on the players page, with performance data you can both sort and filter however you want
  • Huge: Following the players page, all individual player pages also have stats now, including things like days lost to injury and performance over last three games
  • Huge: Fixtures and results now in the database, with TV channel listings and dedicated match threads on the home page
  • Huge: Predict-A-Tron! Predict the outcome of a game and climb the prediction leaderboard to win prizes
  • New A-Z directory of every single player at Arsenal under Wenger
  • Improved transfer and injury notification email copy
  • Javascript fixes across the site
  • Transfer history now breaks down expenditure/income by both primary and specific player positions
  • Small fix for U21 players being included in the non-HG count
  • Visual tweaks, including a new header font
  • Small fixes to the OTD section
  • Numerous bug fixes, including comment editing issue

276 Comments

Simen 999 pts
Posted about 2 years ago by Simen

I understand, however in my head it doesn't seem like such a major case.

All posts are now marked with numbers and have their own URL. That way a small script, or maybe even a cookie could remember the newest post when reading a topic.

I'm thinking every user has a script somewhat like this:

"flagged as unread" happens
If "topic" is "unread"
//nothing
else 
do "copy URL of last post" and "paste as topic URL for user:XXX"
end

The script should run every time a new post is sent in.

Let it be said that I have very little skill with web development and I might be thinking all wrong. Also, I am just stressing my personal opinion that this function is very important for the flow and navigation of the page.

Edit: uuhm.. There seems to be a problem with the formatting here. I can't do single line-breaks, only double. Both with and without the quote marks.

Simen 999 pts
Posted about 2 years ago by Simen

Problem with cookies though is that it would be bound to one computer. Annoying for those using both phone(s) and computer(s). But it would be a good start!

Ix Techau Evil Mastermind 13,243 pts
Posted about 2 years ago by Ix Techau

That way a small script, or maybe even a cookie could remember the newest post when reading a topic.

Actually thinking about this, the easiest way to do it is probably:

  1. Capture the number of comments available when I timestamp you visiting a post
  2. When that post is updated I'll fetch the number of comments again
  3. Numbers are compared and offset to what your timestamp says

So then when you go to an unread thread, I'll push you down to the last comments number + 1, which means you'd start reading the comment you haven't seen yet. This approach also means I can show you a number next to the post title that indicates how many comments you haven't seen yet in that particular thread.

Posted almost 2 years ago by GoonieGooGoo

I've been called worse.

That avatar is bloody mesmerising Alex

Ix - how about instead of upvotes and downvotes, Goals and Own Goals? Or was that an own goal suggestion?

Le Voyou Experiences frequent chest pains from watching Arsenal 5 pts
Posted almost 2 years ago by Le Voyou

How about a go to bottom of page button at the top of threads? When threads get too long, scrolling can be a pain.

Ix Techau Evil Mastermind 13,243 pts
Posted almost 2 years ago by Ix Techau

An update on embeds slowing the site down in Chrome (this is a bit technical, and is just as much for my own documentation as it is an explanation for those who want one):

The problem is specifically GfyCat. The reason Youtube videos won't slow the site down is because Youtube only loads one low-res image and then you have to click to start it, at which point the full video starts loading. GfyCat embeds are autoplay, and quite massive files as well. Chrome doesn't handle that very well and dedicates resources to loading those huge GIFs/Webms on pageload.

Another problem is that you can't just hide the iframes through CSS, as they'll load in the background anyway (display:none only hides an element, it doesn't stop it from loading into the DOM). You have to remove iframes from the DOM completely for them not to load, or null their src attribute, which is what I experimented with. But if you remove the src attribute, you can't update it at a later stage as the iframe has already loaded.

My initial plan was:

1) On pageload, replace the src attribute of every iframe on the page with an empty tag:

$('iframe').attr('src', '')

2) As the user starts scrolling and "hits" one of the iframes, replace the iframe src with its original value:

var src = $('iframe').attr('src');
var offset = $('iframe').offset().top - 20;

$(window).on('scroll',function(){
  var scrollPos = $(window).scrollTop();
  if (scrollPos > offset) {
    $(this).attr('src', src);
  } else {
    $(this).attr('src', '');
  }
});

But because of all of the issues listed above, this doesn't work. As the iframe has already initiated, it won't accept a new src attribute. Ideally I'd like to force reload the iframe at the point of scroll, but then I run into same source shenanigans.

TL;DR:

There are only two ways around the slow loading:

  • Hide all iframes
  • Live with it

What is best?

You are not logged in!

Join Arsenal Report today to improve your experience using the site with thread subscriptions + custom profile with cover image and favourite XI + the ability to post comments, polls and AMA questions.