Developer’s Notes — 3 June 2019

Code.gov
CodeDotGov
Published in
2 min readJun 4, 2019
Photo by Caspar Camille Rubin on Unsplash

At Code.gov, we are constantly working to improve the website and how you interface with it. Here’s our most recent updates and changes on the Code.gov front end (v0.0.9). In these updates, we continue to focus on tackling technical debt by updating documentation, adding tests, and fixing bugs.

Documentation

  • Updated Getting Started section, testing section and added team contact info in README.md file #196 #199
  • Added comments explaining syncers #206
  • Updated About component documentation (About component v0.1.13 #211)
  • Added code-gov-data to repos list (Code-gov repo)
  • Updated Sitemap component documentation (Sitemap component v1.0.3 #200)
  • Updated Data Quality Scoring documentation

Testing

  • Added pa11y for accessibility testing and fixed identified issues #201 #212
  • Increased Test Coverage (Jest) #202
  • Updated pagination component tests #204
  • Exported arrow functions for testing (About component v0.1.13 #211)

Bug Fix

  • Fixed sitemap copy to prod issue, sitemap.xml is now available in production #209
  • Fixed bug with a footnote link on the Introduction page (FSCP v0.3.5 #214)
  • Fixed broken links to FSCP (About component v0.1.13 #211)
  • Fix to include all repos in sitemap generator xml (Sitemap component v1.0.3 #200)

Internal

  • Update to use current filter data for projects and open tasks #217
  • Generate new sitemap (Sitemap component v1.0.3 #200)
  • Added dotenv package to Sitemap component so that CODE_GOV_API_KEY (and any other process.env variables that become necessary) can be declared in a .env file at the project’s root (Sitemap component v1.0.3 #200)
  • Sitemap component will now console.log out the number of projects retrieved from the api call during sitemap.xml file generation to confirm the correct number of projects being indexed (Sitemap component v1.0.3 #200)

As an open source project, we welcome your feedback. Feel free to contact us using any of the following ways:

  • Twitter: @CodeDotGov
  • Email: code@gsa.gov
  • LinkedIn: code-gov
  • Join our #code-gov-partners Slack channel by emailing code@gsa.gov with a subject of `Join #code-gov-partners Slack`.

Finally, Code.gov would like to extend a special thanks to @nkorrapa, @KabirKwatra, @DanielJDufour, and @mamooredesigns for their recent contributions.

Core team:

--

--