Official upstream source mirror. Do not make UH changes here.
  • Ruby 79.5%
  • HTML 15.9%
  • JavaScript 3.5%
  • SCSS 0.8%
  • Dockerfile 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-28 09:58:01 +01:00
.github Replace standardx in CI workflow 2026-09-14 17:46:35 +01:00
.yarn/releases Run command yarn set version berry 2026-09-16 15:31:16 +01:00
app Autofix no-var 2026-09-15 15:50:26 +01:00
bin Add bootsnap and puma binstubs 2026-05-18 11:11:00 +01:00
config Add debug initializer 2026-07-14 12:46:42 +01:00
db Blank Rails 3.2.8 app 2012-08-30 13:24:21 +00:00
docs Add vs code debugging doc 2026-07-14 12:46:42 +01:00
lib Remove tasks and additional code for publishing routes 2024-06-10 14:54:46 +01:00
log Blank Rails 3.2.8 app 2012-08-30 13:24:21 +00:00
public Changed css to go to 'asset pipeline' 2012-09-20 17:09:29 +01:00
script Fix rubocop-govuk linting errors 2020-03-12 13:53:21 +00:00
spec Fix failing test 2026-09-18 12:09:34 +01:00
.dockerignore Remove obsolete Jenkinsfile. 2024-01-31 16:20:44 +00:00
.gitignore Add yarn cache and install state in gitignore 2026-09-16 15:33:40 +01:00
.govuk_dependabot_merger.yml Add govuk dependabot merger v2 2024-05-07 06:08:42 +01:00
.rspec Modernise rspec infrastructure 2016-10-27 17:23:14 +01:00
.rubocop.yml Add standard header to protect .rubocop.yml 2021-11-09 09:56:39 +00:00
.ruby-version Update Ruby version to 4.0 2026-05-18 11:10:31 +01:00
.yarnrc Add ignore-scripts to .yarnrc file 2026-03-31 11:27:27 +01:00
.yarnrc.yml Update configuration in yarnrc.yml 2026-09-16 17:03:42 +01:00
app.json Remove static app variables 2026-01-13 10:37:15 +00:00
config.ru Fix rubocop-govuk linting errors 2020-03-12 13:53:21 +00:00
Dockerfile Update Ruby version to 4.0 2026-05-18 11:10:31 +01:00
Gemfile Bump rails from 8.1.3.1 to 8.1.4 2026-09-28 03:02:41 +00:00
Gemfile.lock Merge pull request #2563 from alphagov/dependabot/bundler/simplecov-1.3.1 2026-09-28 09:58:01 +01:00
LICENCE Include licence link on README 2021-03-18 10:07:03 +00:00
package.json Run command yarn set version berry 2026-09-16 15:31:16 +01:00
Rakefile Fix issue with ReferenceError: GOVUK is not defined 2022-05-17 12:09:29 +01:00
README.md Update README.md 2026-07-14 12:46:42 +01:00
yarn.lock Run command yarn install 2026-09-16 15:37:15 +01:00

Feedback

This app collects feedback from users via contact forms rendered on GOV.UK. This data is then sent to support-api app to be dealt with.

Live examples

Nomenclature

  • Feedback: All the data received from contact forms is considered to be "feedback" of some form or other and relates to pages published on GOV.UK.
  • Anonymous Contact: Part of the feedback collected by this app is anonymous, when it's submitted via an anonymous contact form.
  • Named Contact: In contrast with the Anonymous Contact feedback, this is submitted via a form that will require you to identify yourself. This data is sent directly to Support API, which passes it on to Zendesk.

Completed Transaction feedback forms

Service Feedback

Most of the /done/completed-transaction pages render a Service Feedback form. An example is: www.gov.uk/done/vehicle-tax.

Transaction finished

The transaction finished page can be found here: https://www.gov.uk/done/transaction-finished. This doesn’t display a form, just content to inform the user that the transaction is finished.

How content is loaded

Content for Completed Transaction pages is retrieved via govuk_content_item_loader from either Content Store or Publishing API (GraphQL).

The initial request for the content item is made by the FormatRoutingConstraint, which determines the appropriate route and fetches the required data before the request is passed further down the stack.

Where is the data sent?

The Service Feedback form data is sent to the Support API. It can be viewed using the Support app within the Feedback Explorer.

Completed transaction feedback forms were previously rendered by the Frontend application. Rendering was moved into this application which enabled the implementation of form validation.

Technical documentation

This is a Ruby on Rails app, and should follow our Rails app conventions.

You can use the GOV.UK Docker environment to run the application and its tests with all the necessary dependencies. Follow the usage instructions to get started.

Use GOV.UK Docker to run any commands that follow.

Running the test suite

bundle exec rake

Debugging support

See Debugging

Further documentation

Licence

MIT License