Commit Graph

2097 Commits

Author SHA1 Message Date
Adam Shimali
3bfcf0f8b3 Users can set a value that appears as the sender of a text message.
It can be up to eleven characters alpha numeric, no special characters
allowed.
2016-07-01 14:22:25 +01:00
Chris Hill-Scott
facfb98bb3 Merge pull request #744 from alphagov/tour-to-dashboard
Go to the dashboard after finishing the tour
2016-07-01 14:18:08 +01:00
Chris Hill-Scott
3689919ae6 Merge pull request #742 from alphagov/view-of-deleted-template
Don’t show send/edit links for deleted template
2016-07-01 14:17:54 +01:00
Chris Hill-Scott
25829762bf Add ‘get started’ back to the dashboard
Since we’re removing the write email/write text message calls to action
from the tour, we should reintroduce them to the dashboard, for users
who are unsure what they should do next.
2016-07-01 14:00:45 +01:00
Chris Hill-Scott
9e98ed3304 Remove trial mode banner from dashboard
No-one ever looked at this.
2016-07-01 14:00:36 +01:00
Chris Hill-Scott
721212816d Redirect to the dashboard after the tour
After the tour we should ground users by dropping them on the dashboard.

In the background, we delete the example text message template. This
means that users start from a clean slate when they go to add their own
templates

This also means some wording changes to the tour so it still makes
(some) sense:

- 1, 2 and 3 should refer to the current step, not describe the next
  one
- the link should take you to the dashboard
- change from ‘Get started’ to ‘Try this example’ because we’re using
  ‘Get started on the dashboard’
2016-07-01 13:47:51 +01:00
Chris Hill-Scott
02dccde0bd Don’t show send/edit links for deleted template
Since you can’t really send or edit a deleted template we should show
a message telling you that the template has been deleted.

This is important because deleted templates still show up in the
template statistics.
2016-07-01 13:35:48 +01:00
Chris Hill-Scott
a5a35f1a6b Don’t create an example email template
We reckon that:

- a ‘blank slate’ templates page is a better start
- the example template hurt more than it helped when it comes to
  understanding placeholders
2016-07-01 13:26:57 +01:00
Rebecca Law
0d44fc770c Merge pull request #738 from alphagov/whitelisting-salesforce
Whitelisting Salesforce for account creation
2016-06-30 15:14:44 +01:00
Chris Hill-Scott
759d85876e Merge pull request #737 from alphagov/create-not-register
Remove ‘register account’ language
2016-06-30 12:33:20 +01:00
Pete Herlihy
9fe95376fc Whitelisting Salesforce for account creation
This is ahead of a story to move the domain whitelisting into the platform admin app
2016-06-30 12:26:08 +01:00
Chris Hill-Scott
052fc7c787 Remove ‘register account’ language
We always call it ‘create account’.
2016-06-30 10:46:06 +01:00
Chris Hill-Scott
d9c284418b Merge pull request #731 from alphagov/fix-password-changed-at
Use password_changed_at field from User object
2016-06-28 13:19:20 +01:00
Chris Hill-Scott
bea92df2ed Merge pull request #726 from alphagov/research-mode-platform-admin
Platform admin: Highlight service in research mode
2016-06-28 13:19:05 +01:00
Chris Hill-Scott
8a9d4e91b5 Merge pull request #725 from alphagov/replay-email
Play back the user’s email address
2016-06-28 13:18:58 +01:00
Rebecca Law
584ad26a1a Merge branch 'master' into fix-password-changed-at
Conflicts:
	tests/conftest.py
2016-06-28 11:02:53 +01:00
Leo Hemsted
ff9fcfb419 Merge pull request #730 from alphagov/send-api-key-type
send key_type = normal when creating api keys
2016-06-28 10:43:34 +01:00
Rebecca Law
de42391afa Keep Last changed text.
Update user test data to include the password_changed_at attribute.
2016-06-28 10:40:39 +01:00
Rebecca Law
7d64b77e5d Use password_changed_at field from User object rather than use a hard coded date.
https://www.pivotaltracker.com/story/show/122205615
2016-06-27 17:03:15 +01:00
Leo Hemsted
6ce087a7b5 send key_type = normal when creating api keys 2016-06-27 12:02:16 +01:00
Chris Hill-Scott
045e12102f Merge pull request #727 from alphagov/fix-back-link-bug
Fix ‘help’ appearing when it shouldn’t
2016-06-24 13:27:32 +01:00
Chris Hill-Scott
f0ae43db2c Remove gnarly indentation
By combining the two `with` statements.

No functional changes, split into a separate commit for easier
reviewing.
2016-06-24 10:26:45 +01:00
Chris Hill-Scott
4809a26ffe Remove redundant test
This test is no replicated in the one below, so is no longer needed.
2016-06-24 10:26:45 +01:00
Chris Hill-Scott
ceef77b2af Fix ‘help’ appearing when it shouldn’t
Steps to reproduce:
- make a template with a placeholder
- click ‘send yourself a test’
- leave fields blank
- click ‘check’
- see error, click ‘back’

Expected: previous page

Actual: previous page with blue help sidebar

When the URL contains `help=0`, `request.args.get('help')` returns '0'.
Doing `if '0':` is the same as doing any `if <non empty string>:` which
returns `True`.

So we should only display the help when the help query parameter is:

- not missing
- AND a string that isn’t `'0'`
2016-06-24 10:26:45 +01:00
Chris Hill-Scott
e988a3633a Platform admin: Highlight service in research mode
Research mode trumps live.

Copies the same style we use in the page footer.
2016-06-23 17:47:19 +01:00
Chris Hill-Scott
c710eed9bf Play back the user’s email address
When you register you type in your email address. If you don’t get the
email there’s no way of knowing it’s because you’ve mistyped it.

If we play back the email address, you can double check it.

This commit also removes the 2/3 column on this page to make sure a long
email address doesn’t wrap.
2016-06-23 15:44:31 +01:00
Chris Hill-Scott
68cb76a12e Merge pull request #715 from alphagov/fancy-homepage
Make it clearer what Notify is for from homepage
2016-06-22 15:01:17 +01:00
catherineheywood
b6fd8aa95c Change values of name and date fields
Change values of name and date fields in text notification POST for consistency
2016-06-22 14:56:24 +01:00
Chris Hill-Scott
41ef6de666 Add a reference number to the example texts
To show that the personalisation can include any kind of information,
not just name.
2016-06-22 14:37:02 +01:00
Chris Hill-Scott
18963f4645 Redirect to homepage after signout 2016-06-22 14:37:02 +01:00
Chris Hill-Scott
1667996716 Make it clearer what Notify is for from homepage
Uses some graphic design to communicate what Notify is:

- for sending messages to lots of people
- messages can be personalised
2016-06-22 14:37:02 +01:00
Leo Hemsted
cabf6cb6b1 Merge pull request #717 from alphagov/service-status
Add live/trial flag on platform-admin page
2016-06-22 14:28:44 +01:00
Chris Hill-Scott
285a7c2d5a Merge pull request #721 from alphagov/remove-from-job-page
Remove email from address on the job page
2016-06-22 14:24:27 +01:00
catherineheywood
44665c989d Correct typo 2016-06-22 14:12:57 +01:00
Chris Hill-Scott
2aabc4a7e9 Merge pull request #719 from alphagov/dashboard-link
Add a ‘dashboard’ link to the navigation
2016-06-22 14:12:27 +01:00
catherineheywood
5d8dc5bbba Make content of body and date fields consistent 2016-06-22 14:11:17 +01:00
Chris Hill-Scott
685678e5d5 Merge pull request #720 from alphagov/tabular-all-the-numbers
Use tabular numbers for all big numbers
2016-06-22 13:59:11 +01:00
Chris Hill-Scott
0c31931876 Fix background colours on big numbers without links 2016-06-22 13:40:55 +01:00
Chris Hill-Scott
a385c2ff76 Make table on platform admin page more scannable 2016-06-22 13:01:53 +01:00
Chris Hill-Scott
6dd0064a47 Remove email from address on the job page
- it’s just taking up space
- it’s too late to change it if it’s wrong
- it’s not accurate if you’ve changed your service name since creating
  the job
2016-06-22 11:48:51 +01:00
Chris Hill-Scott
3ffeec6fbb Use tabular numbers for all big numbers
Reimplements https://github.com/alphagov/notifications-admin/pull/169

> Tabular numbers have numerals of a standard fixed width. As all
> numbers have the same width, sets of numbers may be more easily
> compared. We recommend using them where different numbers are likely
> to be compared, or where different numbers should line up with each
> other, eg in tables.

— 5f38012f94/docs/mixins.md (tabular-numbers)
2016-06-22 09:56:17 +01:00
Chris Hill-Scott
743c747688 Refactor navigation SASS
Moves the right-padding from being on the container and each element
to just being on the container.

No visual changes.
2016-06-22 09:34:21 +01:00
Chris Hill-Scott
9abd19e092 Add a ‘dashboard’ link to the navigation
It’s been unclear that:

- the dashboard exists
- that you click the name of the service to get back to it

So this commit:

- takes the link off the service name
- adds a link labelled ‘Dashboard’ to the navigation
2016-06-22 09:31:37 +01:00
Leo Hemsted
c5f8e1a259 Add live/trial flag on platform-admin page
Show 'Live' or 'Trial' under each service to easily identify services
2016-06-21 12:27:49 +01:00
Adam Shimali
d4103767d2 Merge pull request #712 from alphagov/notification-stats-day-admin
Daily limit bugfix
2016-06-21 11:09:11 +01:00
Adam Shimali
8e688d989b Use short date of utcnow to query notifications to align with
date stored in db for notification.
2016-06-21 10:54:30 +01:00
Chris Hill-Scott
a6219ecda2 Merge pull request #711 from alphagov/template-guidance
Give users more help about what to put in their templates
2016-06-20 16:23:22 +01:00
Chris Hill-Scott
daa626539c Merge pull request #710 from alphagov/service-name-tidy
Tidy up ‘change service name’ page
2016-06-20 16:23:12 +01:00
Chris Hill-Scott
74b17588a2 Merge pull request #709 from alphagov/update-docs-for-auth-error-resp
Update docs to reflect the changes to the authentication error responses
2016-06-20 16:23:07 +01:00
Chris Hill-Scott
d2b4dd5007 Revert "Add character count as you type"
This reverts commit fbc4abf85d.
2016-06-20 16:03:21 +01:00