Code Monkey home page Code Monkey logo

government-service-design-manual's Introduction

🚨 This repository is no longer maintained. This is the source of the first version of the Service Manual which was replaced in December 2016. You can follow what we're doing now at alphagov/service-manual-publisher and alphagov/service-manual-frontend.

Build Status

Government Service Design Manual

This is the repository for the UK government's guidance and standards for developing digital services and contains both the assets and the content for the site.

The site is built using Jekyll, and the CSS is Sassified. Some validation of the content happens using Go, so you will need to have Go installed if you wish to use the Makefile.

Deploying

GDS-specific instructions are for how to deploy this content.

Running the app yourself

Depending on your version of Git, you may need to run these commands to bring in the GOV.UK Frontend Toolkit:

$ git submodule init
$ git submodule update

This should import Sass files from the GOV.UK Frontend Toolkit repository into /service-manual/assets/toolkit/.

Next, install dependencies using bundler::

$ bundle install

You need to create the content::

$ bundle exec jekyll build

To start the app::

$ bundle exec ruby app.rb

This will compile the site and make it available at http://localhost:4567/.

In a separate terminal, you'll need to run:

$ bundle exec jekyll build --watch

This will monitor the service manual and rebuild it whenever it's changed.

Running on Heroku

This application should run fine on Heroku. You will need to have set yourself up with a Heroku account and the command-line tools. Then create an application on Heroku.

> heroku create <app-name>

Make your change locally, commit and deploy them to Heroku as needed. If the code you're deploying is not in master, then you'll need to make sure you specify your local branch to push to master. Otherwise it will just deploy your local master (and probably not work as expected).

> git push heroku master

Then open https://app-name.herokuapp.com/service-manual/ to see your changes.

Click-through version

Deploy

YAML page meta data schema

Pages in a Jekyll site begin with a section of YAML meta data, which specifies how the page should be rendered, where it should be linked from and so on.

The following keys are used throughout:

Content page meta data

Key Values Description
title: Page title Used at the top of the page, and in links to the page
subtitle: Page subtitle Used below page title, and optionally in links to the page
category agile, assisted-digital, user-centred-design, etc The category the page lives in the browse page
layout: detailed-guidance, role-index, phases, etc Page layout
type: guide, resource Used to differentiate content types so they can be grouped on index pages
audience: primary: designer, developer, researcher etc. Primary audience. Link to page will appear in top half of audience index page
audience: secondary: Secondary audience. Link to page will appear in bottom half of audience index
phases: discovery, alpha, beta, live An array of values. Adds links to page header and lists pages in relevant phase page
breadcrumbs: An array of objects with title: and url: values Adds a breadcrumb trail to the top of the page
exclude_from_search: true Exclude the page from search. The default behaviour is to include the page in search.

Index page meta data

Index pages list out links to content pages, for example, the role specific pages that are built using the audience keys.

Key Description
hero: Takes the value of the title key of a page

government-service-design-manual's People

Contributors

adambailin avatar adgreenway avatar ajlanghorn avatar alexmuller avatar alextea avatar benilovj avatar bradwright avatar brunns avatar daibach avatar dhwthompson avatar edds avatar garethr avatar heathd avatar jabley avatar jystewart avatar katielee avatar kushalp avatar mattedgar avatar mattsheret avatar nickbreeze avatar nickstenning avatar paulannett avatar phae avatar philandstuff avatar psd avatar richardjpope avatar sarahrichards avatar thehenster avatar timpaul avatar tombye avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

government-service-design-manual's Issues

Alpha and Beta banner used to have different colours

Alpha and Beta banner used to have different colours until recently. Now they are both blue. Is that the new colours for sure because you use here a screenshot example of the beta banner which is still orange.

The page for colours still have the pinkish one for Alpha and orange one for Beta. But the page giving advice for banners has them blue and it looks like the new CSS is also making them blue. (it was updated the 7/12/16).

Broken image links in user-centred-design-alpha-beta.md when displayed on GOV.UK

I'm seeing broken images for the process wheel and Post-It wall images within user-centred-design-alpha-beta.md / https://www.gov.uk/service-manual/user-centred-design/user-centred-design-alpha-beta .

The images are in the assets folder of the repo but don't seem to be available via the website.

Images returning a 404:

Ambiguous question

As discussed with @blangry .

#663 introduces an ambiguous Single response question.

  • Q. How old are you?
    • Seventeen or younger
    • Eighteen or older
    • Prefer not to answer

In the spirit of all good logic puzzles, a user who is 17 ½ may not feel adequately able to give a precise answer.

Unambiguous question choice is particularly important on official documents and for gathering good data.

A better choice may be:

  • Q. How old are you?
    • Under Eighteen
    • Eighteen or older
    • Prefer not to answer

Example of site that isn't on gov.uk is not correct

https://github.com/alphagov/government-service-design-manual/blob/master/service-manual/user-centered-design/what-should-service-look-like.md

"Here is a good example of a site that follows our design patterns without using the logo. [link]" links to the blogs platform which has been brought on to GOV.UK and is therefore not an example of a site that isn't on GOV.UK.

Any suggestions of a site that isn't on GOV.UK but uses GOV.UK styling (without the crown?)

Review for performance guidance

I don't think we currently mention how important it is to have a fast site.

We should cover this (not being too prescriptive) by linking to existing literature on how this can affect usage (and thus encourage people to try other channels).

undefined method `sort_by!'

I have one problem with the compilation with Jekill.
bundle exec jekyll --server --auto

The same problem on Mac OS 10.8.3 or ubuntu 12.10.

Liquid Exception: undefined method sort_by!' for #<Array:0x7fb74818f090> in role-index /home/pa/government-service-design-manual/_plugins/sorted_for.rb:13:inrender'

Build Failed

Use a better example for service domain

https://github.com/alphagov/government-service-design-manual/blob/master/service-manual/operations/operating-servicegovuk-subdomains.md

At the moment it's using DVLAs tax disc is used as the example, a better example would perhaps be LPA https://www.lastingpowerofattorney.service.gov.uk/home as this actually follows the advice in the manual, redirecting the root domain to the start page etc.

http://domain-checker.service.gov.uk/?slug=power-of-attorney/make-lasting-power

Provide guidance to SMEs about working to get a service accredited

Not sure if this belongs in here, but it's something I keep getting asked about.

Topics that I'm considering include:

  • what is a SIRO and why are they important.
  • working with a CLAS consultant to generate RMADS - what should the inputs consider / cover?
  • timescales - when should you be doing particular activities?
  • getting people security clearance

2013 referred to as future in documentation

Spotted a couple of minor issues in the documentation that refer to 2013 as a future date:

  1. Later in 2013, you will be able to use the Digital Procurement Framework.
    https://www.gov.uk/service-manual/the-team/working-with-specialists.html

GDS can give you advice on buying this sort of capability through existing processes like G-Cloud, Spot-buy etc. Later in 2013, you will be able to use the Digital Procurement Framework.

  1. check back in early May 2013 for an update.
    https://www.gov.uk/service-manual/operations/operating-servicegovuk-subdomains

Many suppliers offer IP forwarding DDOS protection, which does not have the same security issues as SSL termination, and is recommended in preference to SSL termination. If your service requires transaction monitoring (which is not at all the same thing as DDOS protection) you should contact your CESG account manager for advice. This is interim guidance and will be updated – check back in early May 2013 for an update.

Review "Information security" guidance

@garethr says on #394:

Just a note that this guide wants a good going over. IS1/2 is no longer mandated as per updates to the security policy framework and some of this guidance basically assumes you're using IS1/2.

Remove personal email addresses

The manual shouldn't contain email addresses for individuals. They're too fragile and easy to break, and we probably wouldn't notice for a long time.

Email Mailing list
Nayeema.Chowdhury performance
janet.hughes ?

It would be nice if we had some way to periodically test that the email addresses we include are valid, but I can't think of a nice automated way to do that.

Search tip doesn't clear on page back

Chrome 26.0.1410.65 on OSX 10.8
Chrome 27.0.1453.65 beta-m on Win 7
Doesn't appear to affect Safari.

Screen Shot 2013-04-25 at 15 05 51

To reproduce:

  1. Enter search term.
  2. Hit return to proceed to search.
  3. Press page back.

Updated job descriptions

I suspect some or all of the job descriptions are out of date - the product manager job description definitely is as we rewrote it at GDS back in April / May this year. The various flavours of product manager job description were also circulated to the wider x-gov product & service management community for reuse and remixing.

I've attached the versions we did, apologies for the PDFs. Ross Ferguson should have access to the originals on Google Drive.

20-JobDesc-AssociateProductManagerTemplate-BandB2.pdf
21-JobDesc-ProductManagerTemplate-BandA.pdf
22-JobDesc-SeniorProductManagerTemplate-BandA.pdf
24-JobDesc-LeadProductManagerTemplate-BandA.pdf
25-JobDesc-HeadofProductServiceManagement-BandA.pdf

No licence indicated

We have a CONTRIBUTIONS.md inviting contributions, but we don't have a licence indicating under what licence those contributions would be accepted (or if we do, it's not in an obvious place like a LICENSE file).

I'm not sure what would be appropriate for this repo, since it is mostly content rather than code. MIT? OGL? CC?

Product Manager / Owner

https://www.gov.uk/service-manual/the-team mentions:

a service manager (the ‘product owner’) probably supported by a product manager

https://www.gov.uk/service-manual/the-team/service-manager.html says:

However, in many cases it is likely that the service manager won’t have the capacity to be this hands-on, so they are likely to need a dedicated product manager.

and even has a section titled "What’s the difference between a service manager and a product manager?"

Alas https://www.gov.uk/service-manual/the-team is a little light on the details of what a Product Manager is.

Indeed https://www.gov.uk/service-manual/the-team/delivery-manager even links to the Service Manager page with the text "Product Manager":

They must be able to enable the team to produce estimates of how much effort is required to produce features that the <a href="/service-manual/the-team/service-manager.html">Product Manager</a> wants.

So, when a Product Manager is not a Service Manager, what's it like?

I'd love a "Product Manager" page similar to the others linked, with a description, guidance, sample job description etc.

Or am I looking in the wrong direction? Is the modal case that the Product Manager and Service Manager are one and the same? In https://speakerdeck.com/kitcollingwood/being-a-service-manager Kit Collingwood-Richardson recommends they be different, and I can totally see why.
Is it that every different scenario is unique?
I could perhaps attempt to reverse-engineer this myself,
but I suspect someone with more familiarity would be able to do a better job and faster!

TL;DR Would love a "The Team" page about Product Managers as distinct from Service Managers if that makes sense please!

release-strategies.md and designing so releasing doesn't inconvenience users too much

A couple of conversations I had last week made me realise that people coming from a '3 out of hours releases a year' background assume that deploys causing downtime is fine.

When you're doing relatively frequent in-hours releases to transactional apps, this isn't the case. In particular, if doing a release will impact/frustrate users, it's much more likely that product management will push back on regular releases == badness

I think release-strategies.md should include some reference to this, but I'm not sure exactly how to phrase it, hence this issue. I'll take another stab at writing something after I've given it more thought. Any thoughts/comments/additions welcome.

Update 'browsers and devices' guidance

Hi,

I think the 'browsers and devices' needs page an update. Most of the content is from 2014 or earlier and doesn't reflect todays browser landscape. For example:

  • The browser list does not mention Microsoft Edge. For guidance, the manner how updates for the browser tie in to the rolling release schedules (Home, Current Branch for Business and Long-Term Servicing) Windows 10 should be taken into account, but I've been unable to find clear information on this subject.
  • Edge usage is wel past IE8 in the last 30 days in Digidentity's stats, IE7 has been <0.1% for us in the last 3 months. Should IE7 testing still be a requirement?
  • Mobile traffic stats; both GovUK as the last year on UK StatCounter report around 40% for mobile/tablet traffic.
  • The entire 'Continuous compatibility' chapter.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.