GithubHelp home page GithubHelp logo

alphagov / design-system-support Goto Github PK

View Code? Open in Web Editor NEW
2.0 9.0 2.0 576 KB

Scripts that helps the GOV.UK Design System team support users

JavaScript 98.63% Shell 1.37%
govuk-design-system-team portfolio govuk-design-system

design-system-support's Introduction

Design System Support

This repository contains code to help us do support on the GOV.UK Design System team.

Requirements

  • Git
  • Node.js (npm)
  • Security access to credentials

Setup

Clone this repository to your machine locally and then pull it's dependencies using

npm install

Adding credentials

You'll need access to BitWarden to access the credentials for ZenDesk.

  1. Copy .env.example to .env
  2. Fill in credentials

.env is ignored by git, but make sure not to put these credentials into version control

Generating support log CSVs

When doing analysis of our support, we take Slack, Zendesk and Github data and bring them together.

You can generate CSVs from Zendesk and Github, which then need to be copied into the main spreadsheet.

all CSV files in this repository are ignored by git, but make sure not to put these credentials into version control

Build all

npm run build:csv

Zendesk

npm run build:csv:zendesk

Github

npm run build:csv:github

You can adjust how far back to pull Github issues by passing the createdMonthsAgo argument in the command line.

The default is 1 month.

npm run build:csv:github -- --createdMonthsAgo=3

design-system-support's People

Contributors

36degrees avatar aliuk2012 avatar dependabot[bot] avatar domoscargin avatar lfdebrux avatar nickcolley avatar owenatgov avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

design-system-support's Issues

Zendesk tagging is not appearing in reports

What

Zendesk tagging data is not pulling into the monthly reports that are pulled by the devs. Ideally I'd get both the primary tag and also the secondary one coming through, but I assume this needs the script to be adjusted slightly. I'm not sure if this helps, but I can ask the Zendesk support desk if there's a specific thing we need to include in the script to get this.

Why

So we can pull data on Zendesk tags for the Support Dashboard.

Who needs to work on this

Dev

Who needs to review this

PA

Done when

  • The Zendesk tags (primary and secondary) are pulling into the reports that the developers pull.

Update zendesk support function to account for different tag and KPI columns

Problem

At the moment, the zendesk csv generation function will output both primary and secondary tags as a single string, like so:

"primary_tag,secondary_tag"

This doesn't line up with how we format our zendesk support spreadsheet. It additionally doesn't account for the column "KPI Met". It appears that there was an extra step by whoever was managing this data previously to clean up the data after the csv gets generated.

Proposal

  • Split the tags into separate primary and secondary tag columns
  • Explicitly set a blank column for the KPI which can be handled manually after export as there doesn't appear to be a way to draw this information from zendesk API response

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.