Commit Graph

1101 Commits

Author SHA1 Message Date
Chris Hill-Scott
b5ed12421a Merge pull request #497 from alphagov/api-keys-page-improvements
API keys page improvements
2016-04-25 11:39:49 +01:00
Chris Hill-Scott
96cc03dc9e Merge pull request #490 from alphagov/contact-link-signup
Updated the contact us link for non gov.uk domains trying to register.
2016-04-25 11:38:30 +01:00
Chris Hill-Scott
63995e7273 Make wording around multiple API keys clearer 2016-04-25 11:16:00 +01:00
Chris Hill-Scott
cdedad6cc2 Merge pull request #493 from alphagov/reword-homepage
Reword homepage
2016-04-25 11:02:55 +01:00
Pete Herlihy
2a6af4ffad Merge pull request #489 from alphagov/terms-of-use
Updated terms of use in line with feedback received via security assu…
2016-04-25 10:54:28 +01:00
Chris Hill-Scott
71035ab96e Use the same pattern as elsewhere for ‘new thing’
On the team and templates pages we have a pattern for adding a new
‘thing’, which is a green button in the top right.

This commit changes the API key page to follow the same pattern.
2016-04-25 10:52:07 +01:00
Pete Herlihy
31bc602d0f Explained the SIRO acronym 2016-04-25 10:49:17 +01:00
Pete Herlihy
5ae45a810d Fixed typos on terms of use 2016-04-25 10:48:07 +01:00
Pete Herlihy
06d289be1e Merge pull request #491 from alphagov/deskpro-department
Update the department id so tickets for Deskpro hit the right bucket
2016-04-25 10:45:10 +01:00
Pete Herlihy
636facb71c Updated the contact us link for non gov.uk domains trying to register. 2016-04-25 10:18:33 +01:00
Chris Hill-Scott
e049e691fd Use the API key pattern for showing service ID
When we show an identifier, like an ID or a key, we have a pattern which
adds a ‘copy to clipboard’ button. We weren’t using this pattern for
service ID.

This commit also moves it under the table, so hopefully people will be
less likely to confuse the service ID for an API key when scanning down
the page.
2016-04-25 09:50:36 +01:00
Chris Hill-Scott
1458a1afc9 Don’t talk about letters on the homepage
We don’t have letters yet. No point in someone setting up an account
hoping they can send letters.
2016-04-23 16:39:54 +01:00
Chris Hill-Scott
af017817b0 Remove some words from the home page
So that the proposition is clearer.
2016-04-23 16:37:20 +01:00
Pete Herlihy
2a042f75de Update the department id so tickets for Deskpro hit the right bucket 2016-04-22 16:04:54 +01:00
Pete Herlihy
c473697883 Updated terms of use in line with feedback received via security assurance team 2016-04-22 15:45:40 +01:00
Adam Shimali
786ce0e071 This is intended to be a temporary solution to allow product
owner to see history records until proper design is done for
viewing histiry.
2016-04-21 18:25:18 +01:00
Rebecca Law
49db4e85ad Merge pull request #482 from alphagov/update-requirements
Update requirements
2016-04-21 10:28:45 +01:00
Rebecca Law
009c117452 Upgrade requirements.
With the upgrade of pep8 to 1.7.0 module imports are required to be at the top of the file,
meaning I had to add a noqa line to some of the init files. Are those init files wrong or is pep8 too strict.
2016-04-21 09:30:33 +01:00
Chris Hill-Scott
71cb100e08 Show subject line with placeholders replaced
On the check page, we show what the message will look like with the data
from the first row of the CSV, if the CSV contains all the required
data.

We should do the same for the subject line.
2016-04-21 09:28:31 +01:00
Rebecca Law
2afbbd6423 Removed unused requirements and modules. 2016-04-21 09:11:00 +01:00
Chris Hill-Scott
5a39acb3c3 Merge pull request #477 from alphagov/all-time-greatest-templates
Show template usage for all time on it’s own page
2016-04-21 09:08:49 +01:00
Chris Hill-Scott
fc24c93c7f Add style for nested bullets 2016-04-20 15:48:35 +01:00
Pete Herlihy
2160eb35d8 Fixed the list nesting on pricing page 2016-04-20 15:42:11 +01:00
Pete Herlihy
1a8dac7bd4 Updated the pricing page to clarify multi-part messages 2016-04-20 15:39:07 +01:00
Chris Hill-Scott
0080bce562 Say ‘sent’ rather than ‘processed’
Hopefully users understand that sent != delivered
2016-04-20 15:32:02 +01:00
Chris Hill-Scott
09491e880e Show template usage for all time on it’s own page
> We show the last weeks template usage on the dashboard, which is
> great, but if you're looking for longer term trends, you're out of
> luck...

> So, let's let you see more on a more detailed page (linked from the
> dashboard). Initially this should just show you all templates that you
> have used ever and the count for each. Order same as dashboard, most
> popular first.

https://www.pivotaltracker.com/story/show/117614585
2016-04-20 15:31:42 +01:00
Chris Hill-Scott
312a903e65 Limit templates usage on dashboard to last 7 days
Previous the table of templates on the dashboard was for all time.
This commit uses the `limit_days` parameter of the API endpoint to only
show template usage from the last 7 days, aligning with the big numbers
shown above.
2016-04-20 15:02:29 +01:00
Pete Herlihy
5375ac48bf Updated contact us links on terms of use page to point at new feedback page 2016-04-20 11:59:20 +01:00
Pete Herlihy
e8716d643d Updated contact us links on request to go live page to point at new feedback page 2016-04-20 11:58:03 +01:00
NIcholas Staples
4f71c40735 Merge pull request #466 from alphagov/desktop_feedback
Feedback page added. All tests working.
2016-04-20 11:17:55 +01:00
Chris Hill-Scott
8d6eb0985b Merge pull request #471 from alphagov/craig-david
Show the last 7 days of statistics on the dashboard
2016-04-20 11:13:51 +01:00
NIcholas Staples
49e0a98c2c Merge pull request #473 from alphagov/doc_page_fix
Add encoding to the documentation file.
2016-04-20 11:05:59 +01:00
Nicholas Staples
bd0a572faf Add encoding to the documentation file. 2016-04-20 10:58:23 +01:00
Nicholas Staples
da536bbd2e Feedback page working with all tests passing.
Updated to include team id.

Give Feedback -> Give feedback
2016-04-20 10:17:09 +01:00
Chris Hill-Scott
be7c7cebbc Limit big numbers to the last 7 days
Implements and depends on:
- https://github.com/alphagov/notifications-api/pull/241
2016-04-19 17:10:39 +01:00
Chris Hill-Scott
0b383e2fae Let everyone see the API info page
If it’s not for them it’s OK, they’ll be scared away.
2016-04-19 16:36:35 +01:00
Chris Hill-Scott
5bf0d8fe70 Show all statistics fetched on the dashboard
We want to align all our stats to be for the last 7 days.

This means summing up the stats response from the API to make the Big
Number. Previously the big number was counting sent notifications as
successful. This commit changes it to only look at delivered
notifications.

Right now, the API doesn’t have a way of filtering to only show the last
7 days. So for the moment the dashboard will show statistics for all
time.

The upshot of this is that we can link from the dashboard to the
activity page when there are failures.
2016-04-19 15:57:53 +01:00
Chris Hill-Scott
9b75f7ef8a Merge pull request #467 from alphagov/tour-footer-link
Put a link to the tour in the footer
2016-04-19 15:55:47 +01:00
Chris Hill-Scott
352750dcf6 Merge pull request #470 from alphagov/better-better-send-page
Make the flow of using templates better
2016-04-19 15:54:47 +01:00
NIcholas Staples
cd1351bd06 Merge pull request #468 from alphagov/download_csv_all
Functionality added to download all on activity page. All tests passing.
2016-04-19 15:46:41 +01:00
Chris Hill-Scott
8d3fa79180 Reorder navigation to put emails before SMS
Elsewhere (eg the dashboard, the activity page) we have email first.
Emails are also anticipated to be slightly more popular in terms of the
number of services sending them.

Therefore it makes sense to have emails first in the main navigation.
2016-04-19 15:31:19 +01:00
Chris Hill-Scott
27ad1532e4 Make the flow of using templates better
For users who:
- want to send messages from a template
- want to edit templates

For developers:
- who need to get the ID of a template

This commit mainly cleans up the choose template page so there are less
options, and the options that are there are less wordy.

This means:
- moving ‘send yourself a test’ onto the send messages page, and making
  it button
- stripping a lot of stuff out of the ‘send from API’ page, so it’s more
  obvious what the template ID is
2016-04-19 15:31:19 +01:00
Nicholas Staples
e8dc03f121 Doc file is loaded using current directory of the flask view. 2016-04-19 13:33:28 +01:00
Nicholas Staples
f3210ea992 Functionality added to download all on activity page. All tests passing. 2016-04-19 11:45:36 +01:00
Chris Hill-Scott
2a080835aa Put a link to the tour in the footer
So you can:
- see it again
- see it if you don’t have an account yet
2016-04-19 11:07:48 +01:00
Chris Hill-Scott
b75ab7c3df Make new service current service on first use
When you add a new service, it’s probably the one you want to do stuff
with.

When you get invited, the service you’ve been invited to is probably the
one you want to use.

This commit adds the ID of the new service or service you’ve been
invited to to the session.
2016-04-19 11:04:00 +01:00
Chris Hill-Scott
37f341e757 Make tour work for non-logged-in users
There’s no content in the tour that’s specific to a service. And since
we can now take a pretty good guess at what service you last used, or
which service we should send you to if you only have one service,
there’s no need to make the URLs for the tour service-specific.

This also means that you don’t need to be logged in to see the tour
pages, and we have no good reason to only restrict these pages to users
with accounts.

https://www.pivotaltracker.com/story/show/116960703
2016-04-19 10:38:16 +01:00
Chris Hill-Scott
a0e3a648f3 Fix innacurate error message on CSV check
We only know if a row contains missing cell(s), not how many cells are
missing data.

This commit changes the error message to be more accurate.
2016-04-18 11:47:53 +01:00
Chris Hill-Scott
fb111b2968 Merge pull request #463 from alphagov/placeholder-hint-sms
Make placeholder hint work for SMS messages
2016-04-18 10:30:37 +01:00
Chris Hill-Scott
a63c50b0d5 Merge pull request #459 from alphagov/wrap-long-words-sms-template
Wrap long words in SMS template previews
2016-04-18 10:30:26 +01:00