Commit Graph

1430 Commits

Author SHA1 Message Date
Chris Hill-Scott
a2263f959e Merge pull request #422 from alphagov/commas-in-placeholders
Don’t allow commas in placeholders
2016-04-12 10:06:08 +01:00
Chris Hill-Scott
7388214118 Merge pull request #424 from alphagov/cancel-button
Add cancel button to file upload pattern
2016-04-12 10:05:52 +01:00
catherineheywood
faedb3d7be Bring sections over from existing doc, to rework 2016-04-12 09:58:09 +01:00
catherineheywood
eb2ea7ce92 Add link in doc 2016-04-12 09:21:34 +01:00
catherineheywood
42d83ec36f increase text size in image 2016-04-12 09:09:06 +01:00
catherineheywood
b0dc5b5d5f Add section from existing doc, to add more details 2016-04-11 16:27:23 +01:00
catherineheywood
ffe47201a5 Doc tweaks 2016-04-11 16:16:38 +01:00
catherineheywood
565a414ece Added files via upload 2016-04-11 15:58:14 +01:00
catherineheywood
c297c98e66 Rework API section in doc 2016-04-11 15:33:56 +01:00
catherineheywood
de4874ee2c Link to image 2016-04-11 12:15:38 +01:00
catherineheywood
4976441096 Resize image file 2016-04-11 12:05:50 +01:00
catherineheywood
12440f95c5 Added files via upload 2016-04-11 12:00:09 +01:00
catherineheywood
78697eb88c Added files via upload 2016-04-11 11:56:47 +01:00
catherineheywood
e49687b8b0 reworking doc (in progress) 2016-04-11 09:31:24 +01:00
Chris Hill-Scott
82ecaa3628 Add cancel button to file upload pattern
We’ve seen users try to click the upload again when their file doesn’t
upload in time. This is because we’re giving them no feedback that
something is happening.

I reckon that changing the button to a cancel button is the easiest way
to show that something is happening, and also means that (unlike
disabling the send button) the user can’t get stuck if the connection
drops completely.
2016-04-08 16:46:25 +01:00
Chris Hill-Scott
ae203dfe53 Merge branch 'register-page-wording' 2016-04-08 10:55:30 +01:00
Chris Hill-Scott
be49fb73b0 Change wording of form hints on register page
We’ve seen in research that people can be reticent to give their real
phone number. Telling them that it will be used for something should
help (ie we’re not just collecting it for marketing).

This also rewords the other form hints on this page to be less computery
because we haven’t looked at them in aaaages.
2016-04-08 10:55:30 +01:00
Chris Hill-Scott
d7685bae84 Merge branch 'more-rows-wording' 2016-04-08 10:55:25 +01:00
Chris Hill-Scott
2912ea1806 Increase number of rows shown
We probably shouldn’t hide the contents of the CSV when people are just
testing the app, or if they’re starting off with small jobs.

A limit of 15 rows displayed was awkwardly on the cusp between just
testing and sending a small batch.

This commit increases the limit to 50; I reckon that over 50 recipients
no-one will be wanting to check them all individually.
2016-04-08 10:55:24 +01:00
Chris Hill-Scott
dd9548da67 Change wording when there are hidden rows
This caused some anxiety about why the rows were being hidden. Were
there problems with them?

This commit reframes the wording to talk about the rows that are shown
instead.
2016-04-08 10:55:24 +01:00
Chris Hill-Scott
2465398e48 Merge branch 'revert-169-tabluar-big-number' 2016-04-08 10:55:22 +01:00
Chris Hill-Scott
32cd312451 Revert "Use tablular numbers for ‘big number’ pattern" 2016-04-08 10:55:21 +01:00
Chris Hill-Scott
814470d7db Merge branch 'better-error-message-if-accept-invite-but-signed-in' 2016-04-08 10:55:20 +01:00
Chris Hill-Scott
25079464b0 More helpful error when signed in an accept invite 2016-04-08 10:55:20 +01:00
Chris Hill-Scott
f2109b6150 Merge branch 'links-on-trial-mode-page' 2016-04-08 10:55:16 +01:00
Chris Hill-Scott
e560969e34 Add service-specific links to trial mode page
> Trial mode page – if signed in, make your team into a link to the Team
> members page for the last-used service.

> Trial mode – if signed in, make remove these restrictions into a link to
> the Request to go live page for the last-used service.
2016-04-08 10:55:16 +01:00
Chris Hill-Scott
0cc67205c7 Merge branch 'rename-history' 2016-04-08 10:55:08 +01:00
Chris Hill-Scott
2b9e016d14 ‘History’/‘Notifications activity’ → ‘Activity’ 2016-04-08 10:55:08 +01:00
Chris Hill-Scott
732109889e Make border width of field layers match textbox
We put a border on text boxes that have errors. This means that they
take up more space than the layers above them which don’t have borders.

This makes the layers that highlight the fields in a template misalign.

This commit adds a line to make the borders match, which fixes this.
2016-04-08 07:46:15 +01:00
Chris Hill-Scott
dfd8540b54 Don’t allow commas in placeholders
> If a user tries to save a template containing something like
> ((name,date)) we should give a validation error.

This is because it causes havoc with the column headers in CSV files.

https://www.pivotaltracker.com/story/show/117043389
2016-04-08 07:46:14 +01:00
NIcholas Staples
ab8a5c561f Merge pull request #423 from alphagov/fix_environ_config
Update config. All tests passing.
2016-04-07 17:37:39 +01:00
Nicholas Staples
1c53efec62 Update config. All tests passing. 2016-04-07 17:33:30 +01:00
NIcholas Staples
9d6dfaf50f Merge pull request #414 from alphagov/upload_csv_into_one_bucket
Upload csv location updated, all tests passing.
2016-04-07 15:08:11 +01:00
Nicholas Staples
8f8cdabfff Upload csv location updated, all tests passing. 2016-04-07 12:56:57 +01:00
Adam Shimali
194c56943c Merge pull request #412 from alphagov/aggregate-template-stats
Aggregation of template stats in admin app.
2016-04-07 12:10:11 +01:00
NIcholas Staples
a4392456ac Merge pull request #406 from alphagov/api_500_status_page
Status page now relies on the api passing else a 500 will be returned.
2016-04-07 12:09:20 +01:00
Chris Hill-Scott
c057739646 Merge pull request #413 from alphagov/code-coverage
Add code coverage
2016-04-07 11:58:32 +01:00
Chris Hill-Scott
5c4de3d13d Add code coverage
- generates a code coverage report
- triggers Coveralls on every Travis build
- adds a badge to the README
2016-04-07 11:03:27 +01:00
Adam Shimali
d7c59fa8d7 Aggregation of template stats in admin app.
Individual templates stats items fetched from admin.
2016-04-07 10:55:21 +01:00
Chris Hill-Scott
b5915dc956 Merge pull request #408 from alphagov/host-email-image
Host image used in email template in app
2016-04-07 09:38:48 +01:00
NIcholas Staples
573efb3d32 Merge pull request #407 from alphagov/fix_uppercase_white_list_bug
Fix issue with uppercase in the domain name.
2016-04-07 09:35:31 +01:00
Chris Hill-Scott
4585cc179d Merge pull request #401 from alphagov/hello-you
Indicate which user is you on manage team
2016-04-07 09:29:32 +01:00
Chris Hill-Scott
66506d18bb Host image used in email template in app
Right now the crown logo in email templates is hosted on Github. Github
is not a CDN.

For now, hosting it in the app is a better solution. At some point we
should have a CDN for all assets on the app, which would be even better.

https://www.pivotaltracker.com/story/show/116952911
2016-04-07 09:29:05 +01:00
Nicholas Staples
2352b0f80d Fix issue with uppercase in the domain name. 2016-04-06 16:45:35 +01:00
Nicholas Staples
aa5fd65171 Status page now relies on the api passing else a 500 will be returned. 2016-04-06 16:36:26 +01:00
catherineheywood
2ae33f0179 Add temporary doc content to edit 2016-04-06 15:44:02 +01:00
Adam Shimali
503f8d8cd6 Merge pull request #405 from alphagov/add-date-back-into-template-stats
Add date field back into template stats
2016-04-06 15:15:44 +01:00
Adam Shimali
2dbf522932 Add date field back into template stats 2016-04-06 15:06:02 +01:00
minglis
91de8c504d Merge pull request #402 from alphagov/fix-500-email-job
Fix exception on email job page
2016-04-06 14:10:58 +01:00
Chris Hill-Scott
aa3274440b Fix exception on email job page
For email jobs, the template needed to look up the service to work out
the email_from and from_name.

`service` used to be a variable passed through to the view. Now every
veiw gets `current_service` instead.

This is a quick fix to make things work.
2016-04-06 14:04:02 +01:00