Skip to content

Commit

Permalink
Version 5.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed May 10, 2023
1 parent 30a1804 commit 9ef289e
Show file tree
Hide file tree
Showing 44 changed files with 30,918 additions and 24,502 deletions.
4 changes: 2 additions & 2 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[main]
host = https://www.transifex.com
type = PO

[fixmystreet.v4-0]
[o:mysociety:p:fixmystreet:r:v5-0]
file_filter = locale/<lang>.UTF-8/LC_MESSAGES/FixMyStreet.po
source_file = locale/FixMyStreet.po
source_lang = en_GB
type = PO

2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Releases

* Unreleased
* v5.0 (10th May 2023)
- Front end improvements:
- Use crosshairs for mobile reporting.
- Enable keyboard navigation of map. #3321
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RSS alerts of problems in their area.

It was created in 2007 by [mySociety](https://www.mysociety.org/) for reporting
problems to UK councils and has been copied around the world. The FixMyStreet
Platform is now at version 4.0; see CHANGELOG.md for a version history.
Platform is now at version 5.0; see CHANGELOG.md for a version history.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion bin/site-specific-install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

# Set this to the version we want to check out
VERSION=${VERSION_OVERRIDE:-v4.0}
VERSION=${VERSION_OVERRIDE:-v5.0}

PARENT_SCRIPT_URL=https://github.com/mysociety/commonlib/blob/master/bin/install-site.sh

Expand Down
56 changes: 56 additions & 0 deletions docs/_posts/2023-05-10-v5.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
layout: post
title: Version 5.0
author: matthew
---

<div class="r" align="right">
<a data-flickr-embed="true" href="https://www.flickr.com/photos/bassbro/44950090234/" title="This Better Be Good"><img src="https://live.staticflickr.com/4852/44950090234_be90a39a9e.jpg" width="500" height="375" alt="This Better Be Good"/></a><script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>
</div>

I am happy to announce the release of **version 5.0** of FixMyStreet.

### Mobile use and the Progressive Web App (PWA)

Mobile reporting now uses a crosshairs mechanism for locating the report rather
than tapping, matching the old native app and providing an easier experience.
We have added offline report drafting, where even if you do not have signal you
should be able to start the basics of a report to carry on when back online.

The site is installable as a Progessive Web App (PWA) on Android and iOS, to be
installed to your home screen via your browser, and both the UK and Sweden have
successfully packaged the code as a native app using pwabuilder and submitted
it to the app stores.

### Accessibility

Early last year, we added keyboard navigation of the map for those who may be
unable to use a pointing device. An accessibility audit was then performed on
one installation of the site later in the year, and that has led to a number of
other improvements, including some improved visual contrast, a couple of
missing labels and fieldsets, and better focus states.

### Admin improvements

You can now set a message in the admin per-body that will be shown on the
reporting page, as well as one on the front page. We've paginated alerts on the
user edit page for cases where a user has a lot of alerts, and now display
photos in report moderation updates rather than just the image hashes.

If you are using response templates, you can now have a different template
displayed as an update to the report to the text emailed to the user.

### Development improvements

As our own installation of FixMyStreet spans multiple front end servers, and to
help with stability of URLs for the PWA service worker, we have switched our
static asset cache-busting from using last modified times to using a digest of
the file contents. There is also an option to use the hash in the filename
itself, rather than a query parameter, which again may be useful if you deploy
on multiple servers.

### Upgrading

A full list of changes can be seen in the
[v5.0 changelog](https://github.com/mysociety/fixmystreet/releases/tag/v5.0)
as usual.
Loading

0 comments on commit 9ef289e

Please sign in to comment.