Skip to content

Commit

Permalink
Blog post for v1.3.1 (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
fraz3alpha authored Jun 6, 2022
1 parent 0e7c83f commit 5f5d3f0
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/version.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -xe

export VERSION=1.3.0
export VERSION=1.3.1
# Strip any 'v' characters from the version string, as exist in the git tag
export EXTENSION_BUILD_VERSION=`echo ${EXTENSION_BUILD_VERSION:-$VERSION} | sed -e s/v//`
# Default the build id variable to zero if not set - The CI system should set this to
Expand Down
47 changes: 47 additions & 0 deletions website/_posts/2022-06-05-v1.3.1-bug-fixes.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
layout: post
title: "Bug fixes for results ordering (v1.3.1)"
categories:
- chrome-extension
- firefox-addon
- release
---
Something broke yesterday! Firefox is back! Ooh, and a new feature!

## Return of the Fox

Firefox is back! We submitted a version of the extension to the Mozilla AddOns store and it was published, so it's available again. Unfortunately we submitted version 1.3.0, which doesn't contain these fixes, so until 1.3.1 appears there it will still be a little broken, but that's progress!

## New Feature

### Persist hiding challenge data

You have always been able to hide a challenge on a page by clicking the badge icon in the challenge header row, but it did not get saved in any way so would be back visible again if you refreshed the page - well, no longer!

![Persisted collapsed challenges]({{ site.baseurl }}/img/posts/persist-collapsed-challenges.png "Persisted collapsed challenges"){: .center-image .image-border}

This also means that if you hide a challenge on one page, it will now be hidden on all parkrunner pages. If you aren't interested in certain ones, or you think they take up too much space and can't be bothered to scroll past them, you can hide them and just show the ones you have an interest in.

## Bug fixes

### Sort parsed events into chronological order

While we weren't looking, parkrun HQ appear to have rolled out a change to reverse the order of the events listed on the parkrunner page. Initially this was newest first, but now it appears to be oldest first. This would be fine if it was consistent, but it appears that it hasn't been for the past week or so. We presume that as web caches expire it switches between the old and new ordering, and it's finally got to more and more of us.

This showed up as various stats and challenges showing incorrect data, for example the number of years parkrunning ending up being zero, or the tourist events being listed in reverse order.

Now we explicitly order the events by date, so we should be good whatever order they come out in.

### Firefox deprecated a getURL() method

Not a huge issue, and not one with a user-facing impact, but it floods the error log with messages and also comes up during the addon submission process, so we've switched to the replacement method to get it a bit cleaner.

## How do I get all of this great stuff?

If you have already installed the extension it should update soon. Typically we
have found it takes a few days to auto-update, but it should
do so eventually. If you haven't yet joined the fun you can get it from one of
the links below (the Firefox version will be likely a little delayed):

[![Running Challenges in the Chrome Web Store]({{ site.baseurl }}/img/ChromeWebStore_BadgeWBorder_v2_206x58.png "Running Challenges in the Chrome Web Store")]({{ site.data.webstore.webstore-running-challenges-link }})[![Running Challenges in the Firefox Add-ons Web Store]({{ site.baseurl }}/img/firefox_web_store-172x60.png "Running Challenges in the Firefox Add-ons Web Store")]({{ site.data.webstore.firefox-running-challenges-link }})
{: style="text-align: center;"}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5f5d3f0

Please sign in to comment.