Commit Graph

8384 Commits

Author SHA1 Message Date
karlchillmaid
7d2ce2889f Replace couldn't with could not 2019-09-23 13:22:16 +01:00
karlchillmaid
b27fd30d45 Replace wasn't with was not 2019-09-23 13:22:16 +01:00
karlchillmaid
7f93cac07d Replace isn't with is not 2019-09-23 13:22:16 +01:00
karlchillmaid
98aa956738 Replace isn't with is not 2019-09-23 13:22:16 +01:00
karlchillmaid
4b2990e735 Replace isn't with is not 2019-09-23 13:22:00 +01:00
karlchillmaid
90b8af63d5 Replace isn't with is not 2019-09-23 13:22:00 +01:00
karlchillmaid
0926d6ce25 Replace won't with will not 2019-09-23 13:22:00 +01:00
karlchillmaid
73ce6eef83 Replace won't with will not 2019-09-23 13:22:00 +01:00
karlchillmaid
653c2c399f Replace won't with will not 2019-09-23 13:21:59 +01:00
karlchillmaid
4c6f32df73 Replace won't with will not 2019-09-23 13:21:59 +01:00
karlchillmaid
2b0462f44f Replace won't with will not 2019-09-23 13:21:59 +01:00
karlchillmaid
5fea8739cd Replace won't with will not 2019-09-23 13:21:59 +01:00
karlchillmaid
c62f4ed706 Replace won't with will not 2019-09-23 13:21:59 +01:00
karlchillmaid
8811903040 Replace won't with will not 2019-09-23 13:21:59 +01:00
karlchillmaid
89ecee5d6f Replace don't with do not 2019-09-23 13:21:58 +01:00
karlchillmaid
6163b6f65f Replace don't with do not 2019-09-23 13:21:58 +01:00
karlchillmaid
fc4eb24795 Replace don't with do not 2019-09-23 13:21:58 +01:00
karlchillmaid
4f7d618d89 Update content to remove negative contraction 2019-09-23 13:21:58 +01:00
karlchillmaid
c96e29e1e8 Replace don't with do not 2019-09-23 13:21:58 +01:00
karlchillmaid
cc9bb476e5 Replace don't with do not 2019-09-23 13:21:57 +01:00
karlchillmaid
0835d1679a Replace can't with cannot 2019-09-23 13:21:08 +01:00
karlchillmaid
1a603c8d48 Replace can't with cannot 2019-09-23 13:21:08 +01:00
karlchillmaid
1e03a2668b Replace can't with cannot 2019-09-23 13:21:08 +01:00
karlchillmaid
4728d810f1 Replace can't with cannot 2019-09-23 13:21:07 +01:00
karlchillmaid
42663947fa Replace can't with cannot 2019-09-23 13:21:07 +01:00
karlchillmaid
fdb3ecc7d3 Replace can't with cannot 2019-09-23 13:21:07 +01:00
karlchillmaid
5f79a12a9d Replace can't with cannot 2019-09-23 13:21:07 +01:00
karlchillmaid
aa1e857e03 Replace can't with cannot 2019-09-23 13:21:07 +01:00
karlchillmaid
123d12bcdd Replace can't with cannot 2019-09-23 13:21:07 +01:00
karlchillmaid
a9583b51f3 Replace can't with cannot 2019-09-23 13:20:26 +01:00
karlchillmaid
7a18700353 Replace can't with cannot 2019-09-23 13:20:26 +01:00
karlchillmaid
680a99afad Replace can't with cannot 2019-09-23 13:20:25 +01:00
karlchillmaid
4b23729ff6 Replace can't with cannot 2019-09-23 13:20:25 +01:00
karlchillmaid
5e8e6cdeda Replace can't with cannot 2019-09-23 13:20:25 +01:00
karlchillmaid
0ff57d8514 Replace can't with cannot 2019-09-23 13:20:25 +01:00
karlchillmaid
508ac04aa6 Replace negative contractions 2019-09-23 13:20:25 +01:00
karlchillmaid
92d3b99c7e Replace can't with cannot 2019-09-23 13:20:25 +01:00
karlchillmaid
3d36a99518 Replace can't with cannot 2019-09-23 13:20:24 +01:00
karlchillmaid
ce9d509601 Replace can't with cannot 2019-09-23 13:20:24 +01:00
karlchillmaid
a2455abda4 Replace can't with cannot 2019-09-23 13:20:24 +01:00
Chris Hill-Scott
68c9147fec Merge pull request #3119 from alphagov/retire-old-static-content
Retire old static content pages
2019-09-23 13:19:01 +01:00
Chris Hill-Scott
bda2f41aac Merge pull request #3125 from alphagov/faster-tests
Create the app once per run, not once per test
2019-09-20 10:33:44 +01:00
Chris Hill-Scott
1a353d90eb Create the app once per run, not once per test
Turns out our tests spent a lot of time recreating the app for each test
case, which is quite intense.

This commit makes the fixture sessions level, so the app is only created
once per test session, not once per test function.

This cuts down the time taken to run the test suite to about 50 seconds.

It also makes the tests more parallelizable. Before this change going
from 4 to 8 processes made the tests slower. Now it cuts them down from
about 50 seconds to about 35 seconds[1]. So this commit also lets Pytest
choose the best number of processes to run, since on my machine it
chooses 8, which is the fastest.

Overall this means the

1. With a 2.2GHz quad-core Intel Core i7 processor on a 2015 MacBook Pro
2019-09-18 15:58:25 +01:00
Chris Hill-Scott
80bc36d3db Merge pull request #3123 from alphagov/email-branding-choices
Let users give us better requests for email branding
2019-09-18 14:56:26 +01:00
Chris Hill-Scott
56772533e6 Replace negative contraction with Cannot
In accordance with style guide
2019-09-18 14:21:25 +01:00
Chris Hill-Scott
20f857753a Use constants for organisation type
This reduces the chances of making a typo, because doing so will raise
an exception rather than fail silently.
2019-09-16 11:33:50 +01:00
Chris Hill-Scott
077dc194c6 Tell people to change their branding
In some cases it’s not appropriate for teams to have GOV.UK branding.
But they all start with it by default, if we can’t make a better guess.
We should be more explicit about this to reduce the number of teams
sending emails with the wrong branding.
2019-09-16 11:21:28 +01:00
Chris Hill-Scott
86e3da043f Remove old branding illustrations
These aren’t used any more.
2019-09-16 11:21:07 +01:00
Chris Hill-Scott
59ab064185 Play back current branding
We get a few tickets at the moment where people are asking for the
branding they already have.

We think that playing back the name of the branding on this page should
reduce how often that happens.
2019-09-16 11:20:23 +01:00
Chris Hill-Scott
afcdedf598 Allow elaboration when ‘something else’ is chosen
Letting people input a bit of free text should reduce the amount of back
and forth we have to do over support tickets when setting up someone’s
branding.

If something else is the only option then we don’t show the radio button
at all and have just the free text input on the page (not behind a
progressive disclosure).
2019-09-16 11:18:22 +01:00