Commit Graph

4077 Commits

Author SHA1 Message Date
Tom Byers
ee03eb0767 Remove issue with blank alt text in email images
This is no longer happening with the NVDA screen
reader, which had the issue, when testing in
Outlook.

The hack added as a temporary solution has now
been removed. It went live on 19 November 2020 at
2.20pm.
2020-11-19 14:43:08 +00:00
Tom Byers
1941151513 Merge pull request #3715 from alphagov/add-govuk-radios
Add GOVUK radios [part 1]
2020-11-18 11:38:25 +00:00
Katie Smith
b49b789b8c Merge pull request #3711 from alphagov/add-extended-character-set-content
Add content about the extended character set
2020-11-17 10:18:35 +00:00
Tom Byers
070ed818cf Add HTML and CSS for extended GSM characters
Based on feedback from this pull request:

https://github.com/alphagov/notifications-admin/pull/3711
2020-11-13 22:40:32 +00:00
Tom Byers
b0bab205da Plug GovukRadiosField into edit sms|email pages
Proof of concept for the GovukRadiosField class.

Includes the removal of the a DataRequired
validator. This doesn't seem to be needed as the
RadioField superclass catches any submissions
without any data from field.choices in its
pre_validate method (which also outputs the
correct error message).
2020-11-12 10:13:22 +00:00
karlchillmaid
c1151c5e8e Update content
The _Long text messages_ section of the page is probably the most relevant place to talk about this – so users are aware of the double-characters before they see the table of message lengths.
2020-11-09 16:21:10 +00:00
Katie Smith
1d1973050d Stop live services requesting to go live
Live services shouldn't be able to request to go live again. Once a
service is live we remove the option to go live from the Settings page,
but we still link to the page to request to go live from other places
e.g. the 'Get started' page. As a result, we've seen some services make
another request to go live when their service has already been live for
months - this change will stop that from happening.
2020-11-09 14:00:52 +00:00
karlchillmaid
b4c21280e3 Update draft content 2020-11-05 14:43:22 +00:00
karlchillmaid
b4f8e6e4ac Add content about the extended character set 2020-11-05 14:38:05 +00:00
Pete Herlihy
672531c559 Remove reference to sending personally or commercially sensitive data
These data are fine to send if the service team determines they are. It's not for us to determine that.
2020-11-04 12:14:52 +00:00
Tom Byers
36708ccad0 Merge pull request #3700 from alphagov/fix-template-list-item-focus-style
Fix template list item focus style
2020-10-30 15:58:35 +00:00
David McDonald
79ff26d6b5 Remove old line from send file by email feature
You do not need to contact us to use it anymore. You can set it up
yourself and is documented in our API docs.
2020-10-30 15:10:27 +00:00
Katie Smith
a6c103841e Check metadata for file name when sending from contact list
The `.send_from_contact_list` function redirected to `.check_messages`
with `original_file_name` in the query string. Contact lists already
have `original_file_name` as part of their metadata, so we can stop
sending it in the query string and use the metadata instead.
2020-10-29 13:53:50 +00:00
Chris Hill-Scott
51af3dcac6 Remove word ‘still’ from training mode slide
You might alternate between training mode and live mode. It’s not like
normal Notify where you start in one mode and then transition out of it
– which is what ‘still’ implies.
2020-10-28 17:20:59 +00:00
Tom Byers
2d5a165a2d Swap headings for list items in template list
I'm mainly making this change because it's useful
for the CSS that styles the hint text when the
link is focused for the link to have no parent
container.

That being said, there isn't really enough content
underneath these headings to justify them as it is.
I've wrapped them in a list instead because:
- they're structured like a list
- we already called them a `template-list`

This commit also replaces the `message-type` class
on the paragraph below where the headings went,
for consistency. It also removes the CSS for that
class as I couldn't find anywhere else that used
it now.
2020-10-27 21:31:08 +00:00
Tom Byers
ae24f7b707 Remove backslash from choose-reply page
Looks like it was missed out from when they were
all changed to chevrons:

e731dd70d1
2020-10-27 17:15:58 +00:00
Tom Byers
a5c87367ee Fix class names of copy template links 2020-10-27 15:55:57 +00:00
Tom Byers
91faa1a874 Fix class names of choose-reply links
The links for templates without ancestors didn't
have a `.template-list-template` class so miss out
on styling given to the other links in the list.
2020-10-27 15:55:57 +00:00
Chris Hill-Scott
cc04a924d0 Make list of areas on dashboard use full width
When the list of areas is restricted to half the width of the page it
starts to look pretty higgledy-piggledy when you have lots of areas or
areas with very long names.

To do this I’ve ripped out the table markup in favour of headings,
paragraphs and lists. Probably pros and cons for each, but it was really
hard to do the layout with the content in a table.
2020-10-27 15:19:10 +00:00
Chris Hill-Scott
74e92e708e Add status to alerts pending approval
Now that pending alerts aren’t in their own section there’s nothing to
label them as pending. So this commit replaces the extra metadata we
show for a pending alert (the name of the person who created it, which
was only ever a reckon) with an explicit label that says it’s waiting
for approval.
2020-10-27 13:12:36 +00:00
Chris Hill-Scott
24bafba29c Combine current and pending broadcasts
Splitting the dashboard into multiple sections was confusing, and people
sometimes mistook the headings as labels, especially when a section was
empty. It just wasn’t clear what the hierarchy of the page was.

This commit combines the current and pending broadcasts into one list
on the dashboard. Previous broadcasts have already moved to their own
page.
2020-10-27 13:12:25 +00:00
Katie Smith
b98f817903 Document optional content in letters 2020-10-27 09:19:19 +00:00
karlchillmaid
5424f511f9 Merge pull request #3697 from alphagov/update-roadmap
Remove July to September section from roadmap
2020-10-26 12:57:04 +00:00
Chris Hill-Scott
f3cf080a5c Rename variable to be more precise 2020-10-26 11:09:13 +00:00
Chris Hill-Scott
d793d08ae7 Fix back links when viewing a broadcast
Where you go back to from a broadcast can now depend on whether it’s
a current or previous broadcast.
2020-10-26 10:50:09 +00:00
Chris Hill-Scott
b54d49196b Ensure correct selected nav item on broadcast page
Once a broadcast has been submitted for approval it either lives on the
‘Current alerts’ or ‘Previous alerts’ page, depending on where it is
in its lifecycle.

Therefore when clicking into a broadcast from one of those pages the
same navigation item should remain selected.

Because we select the navigation items based on the request endpoint,
this means we need an endpoint for each navigation page, even if the
content of the pages will be the same in both cases.

This commit adds the two new end points, removes the old, single
endpoint and updates links to point to the new endpoint.
2020-10-26 10:50:09 +00:00
karlchillmaid
7975c62d60 Update order of roadmap items 2020-10-23 15:28:41 +01:00
karlchillmaid
8d391e7761 Update roadmap 2020-10-23 15:25:38 +01:00
karlchillmaid
d884d11e1a Update app/templates/views/roadmap.html
Co-authored-by: Chris Hill-Scott <me@quis.cc>
2020-10-23 13:43:47 +01:00
Tom Byers
92b735f6e4 Merge pull request #3694 from alphagov/remove-issue-from-accessibility-statement
Remove issue from accessibility statement
2020-10-23 13:37:41 +01:00
Chris Hill-Scott
57fc209f44 Merge pull request #3690 from alphagov/set-message-limit
Remove the `upload_letters` permission
2020-10-23 12:27:28 +01:00
Chris Hill-Scott
7231f8a168 Merge pull request #3695 from alphagov/back-link-conversation
Add a back link to the conversation page
2020-10-23 12:21:40 +01:00
Chris Hill-Scott
c0518bfb78 Merge pull request #3696 from alphagov/fix-typo-letter-spec
Fix typo on letter specification page
2020-10-23 12:20:48 +01:00
Chris Hill-Scott
43b4acf1f9 Allow platform admins to change rate limit
One less thing we have to go into the database to do, and remember to
manually clear the cache for after.
2020-10-23 12:05:45 +01:00
Tom Byers
a217fd6b05 Remove issue with CSV table for low vision users
The following issues were raised with the table
that replays CSV data to users:
1. the table could not be located by low vision
   users using the reflow technique
2. the content should be presented in a single
   column when the reflow technique is used

Number 2. came from the Web Content Accessibility
guidelines (WCAG) success criteria 1.4.10 Reflow.

I wasn't able to reproduce number 1. so asked the
Digital Accessibility Centre (DAC), who tested it
originally, for help. Tom Shaw from DAC kindly
retested it and found the problem was gone so I am
considering it fixed.

I am treating number 2. as a misinterpretation of
the success criteria as it lists data tables as an
exception to the rule:

"Except for parts of the content which require
two-dimensional layout for usage or meaning.

...Examples of content which requires
two-dimensional layout are images, maps, diagrams,
video, games, presentations, data tables, and
interfaces where it is necessary to keep toolbars
in view while manipulating content."

The full page is here:

https://www.w3.org/WAI/WCAG21/Understanding/reflow.html
2020-10-23 11:02:19 +01:00
Chris Hill-Scott
7424cb37a3 Don’t talk about letters if the user can’t send them 2020-10-23 10:57:19 +01:00
Chris Hill-Scott
af79c8c878 Add a back link to the conversation page
We must have missed this when adding back links to all the pages.
2020-10-23 10:53:23 +01:00
karlchillmaid
52d933f62c Remove July to September section from roadmap 2020-10-23 10:44:10 +01:00
karlchillmaid
eac69351bd Fix typo 2020-10-23 10:43:45 +01:00
Tom Byers
3bc2fffbb2 Fix last date statement was updated
The accessibility statement was last updated on 9
October 2020 but without the 'last reviewed' date
being updated.

The changes were contained in this pull request
which was merged the same day and reached
production at 2.13pm.

https://github.com/alphagov/notifications-admin/pull/3677
2020-10-21 16:05:47 +01:00
Chris Hill-Scott
882baadfe3 Merge pull request #3681 from alphagov/adjust-hierarchy-broadcast-page
Re-order hierarchy of information when viewing a single broadcast
2020-10-20 12:06:57 +01:00
Chris Hill-Scott
f549168b5e Remove the upload_letters permission
Every service has it now, and we haven’t had any services ask to toggle
it off again.
2020-10-20 11:30:08 +01:00
Chris Hill-Scott
fcd34ef989 Merge pull request #3689 from alphagov/set-message-limit
Allow platform admins to change daily message limit
2020-10-20 10:34:58 +01:00
Chris Hill-Scott
268929a093 Allow platform admins to change daily message limit
One less thing we have to go into the database to do, and remember to
manually clear the cache for after.
2020-10-19 17:44:32 +01:00
Chris Hill-Scott
9b7357025c Make custom data retention look a bit nicer
This should make it easier to see what’s set without having to click
into the table.
2020-10-19 16:56:36 +01:00
Chris Hill-Scott
0e39208546 Associate start time with live
Start time is much more important than end time.
2020-10-19 14:29:50 +01:00
Chris Hill-Scott
91e74929eb Use live indicator on individual broadcast page
So the view of an individual broadcast feel consistent when coming from
the dashboard.
2020-10-19 14:29:09 +01:00
Chris Hill-Scott
ba535523df Move end time to bottom of page
End time is less important than the status of the broadcast, or when it
was started (eg when it was received by most people in the area).
2020-10-19 14:29:09 +01:00
Chris Hill-Scott
6937e06ad5 Move the ‘who did what’ stuff to the bottom
The most important part of the broadcast is what content was sent where
(and when).

This commit reduces the priority of the ‘meta’ information, like who
prepared and approved the broadcast. I also think that the ‘end’ time is
a lot less important than the start time, since most people will receive
the alert at or near to the start time.
2020-10-19 14:25:42 +01:00
Chris Hill-Scott
a43321cbb3 Swap order of message and areas
This then matches the order in which the message is drafted, first the
content, then the areas. It also matches the order we’re going to have
on the new dashboard.
2020-10-19 14:25:42 +01:00