GithubHelp home page GithubHelp logo

unfolddata / ogdd Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 2.0 5.59 MB

Open Data Maturity Dashboard

Home Page: https://www.data.govt.nz/open-data/dashboard/

License: Other

JavaScript 99.63% HTML 0.37%
open-data visualisation react react-vis stats-nz dumpark

ogdd's People

Contributors

dmprk avatar enotsluap avatar tmfrnz avatar

Watchers

 avatar  avatar  avatar

ogdd's Issues

Set up screenreader support, a11y checklist

also see https://a11yproject.com/checklist

Landmarks

  • header role="banner"
  • nav role="navigation"
  • main role="main"

Links

  • skip content link
  • Ensure links have :focus state.
  • Ensure links are recognizable (underlined).

Images

  • use alt text

Navigation

  • provide navigation feedback message
  • set focus on navigation
  • set page title
  • ensure logical tab order

Data visualisations

  • render data table for screenreaders

Make root tag more specific

Change #root entry tag to something more specific, eg #ogdd-root

  • src/index.js
  • src/global-styles.js
  • src/index.html (during development)
  • .ss template

Minor grammar change

Focus Area text for when mouse is on "Licensing" (on the right-hand side):
Remove comma and 's' on the end of contracts
so that it reads "... publication and contract renewals."

Test

Plots

  • test many surveys

Remove Focus area wording

Please remove " or any of the participating agencies" from the description of Focus Areas (on the right)

Document

Code documentation

  • classes
  • functions

Wiki

  • data
  • text
  • installation, technologies
  • high level architecture
  • plots
  • credits
  • integration

Finalise styling

General

  • button hover effects
  • link styling
  • optimise grid spacing (also mobile)
  • adjust line-height

Header

  • update header graphic (@dmprk)
  • about link

Aside

  • consistent sidebar positioning
  • align icons

Plots

  • improve axis styling

Focus Areas

  • consistent card height (FF)
  • style select dropdown
  • reference hint position (other subject)

Focus Area Single

  • optimise plot margins (mobile)

Key insights

  • style select dropdown
  • optimise card layout (also mobile)
  • align key

Data services

  • optimise card layout (also mobile)

Data assets

  • optimise card layout (also mobile)
  • align key

Data.govt API server error: BAD GATEWAY

@camfindlay not sure what exactly may have caused this but I received this BAD GATEWAY error when accessing the surveys.csv resource:

HTTP502: BAD GATEWAY - The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfil the request. GET - https://catalogue.data.govt.nz/api/3/action/datastore_search?resource_id=1578c5cc-fcfc-41ae-a61b-5f8f3467d437&limit=999999&callback=jsonp_1535004334745_80088

The second load attempt was successful (as of today the application will try loading 5 times before giving up) so this is not so much an issue for the dashboard

Optimise

Robustness

  • improve PropTypes type checking (immutable)

Do not load SVGs as data/base64

Content security policy prevents loading "data:" sources. Use "inline SVGs" or as external assets (latter may require setting global asset path constant)

Harmonise styles with data.govt header template

New data.govt header content (logo and back-link) are within content container, limited to a width of 940px. Ideally dashboard app content should also be limited to same width.

Header

  • consider limiting content width to 940px
  • consider removing logo graphic (will still need application name)

General

  • consider using data.govt font "fira sans"

Prevent styles leaking between worlds

data.govt styles messing with app styles

  • enforce <button> styles, particularly focus state, hover state
  • 'card buttons' do not adhere to width when resizing windows
  • enforce <select>, particularly line break

Dashboard styles messing with data.govt styles

  • move <body> styles to index.html (outside of deployed JS app)
  • move <a> styles into #root tag

Typo in 2017 key insight

72%
work with orther organisations in their sector to promote the value of specific datasets or open data in general

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.