Giter Site home page Giter Site logo

datasf.github.io's People

Contributors

bstanger avatar datasf-admin avatar dependabot[bot] avatar dtonk avatar emilyreid-sfcon avatar ericafinkle avatar gboone avatar j9recurses avatar jasonlally avatar jbonaguro avatar jessrubin avatar piperchester avatar sharrie avatar srabbott avatar taniajogesh avatar timwis avatar waffle-iron 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

datasf.github.io's Issues

Make domain whitelist a config option and abstract code

Data academy signups are only available to CCSF employees. To help enforce this, we validate email addresses against a domain whitelist. This is currently in datasf.js, but the domains should probably just be loaded in a yml file in the _data folder and loaded into datasf.js. Also, the code needs to be abstracted just a little bit more so we can draw on the whitelist for other forms where we want to only have input come from CCSF employees (for example, logging a publishing packet).

Add documentation and improve workflows

Need to write up how the site works so others can contribute, particularly:

  • Adding blog posts
  • Adding resources
  • Adding courses to the Academy

On a related note, need to make content creation/editing easier for others at CCSF exposing more of the elements above as a "platform" so each of the above can happen by just putting a markdown file in the right location without thinking about lots of configuration. Prose.io is a useful tool here, but it seems to have lost some steam, if I had more time, I'd like to contribute to that project. Also watching Chime closely.

Investigate and implement better automation tools

The website was simple enough when we started, but now it's time to really look at using js automation tools to support maintenance and continuous improvements over time, also looking into a more robust deployment strategy to leverage more jekyll plugins and approaches. There are 2 general approaches to this that I'm investigating:

  1. Switch to hosting that allows plugins and generates on the server
  2. Leverage automation and webhooks to generate the site automatically and push the _site folder to repo branch where the site is being hosted from

There are tradeoffs to consider, but both look promising as patterns to support more robust distributed editing.

Make department publishing plans printer friendly

Currently the publishing plans are not very printer friendly. It hits the good enough marker, but we want department's to be able to easily print off a clean copy for use in meetings as necessary. We'd like the printed versions to feel more like an "official" report. A couple of things we're imagining changing:

  • Develop a simple, beautiful header that only shows up when printing
  • Incorporate the City and County of SF seal at the top of the report, incorporate elements that link the report to the broader DataSF program
  • Hide the elements "Department Publishing Plans" and the drop down in favor of this clean printable header
  • Make the metrics and charts more printable (chart colors need to change, and the layout should be a little different
  • Add a "page break" between the narrative and metrics, add header above metrics that only shows up printer to make the report easier to consume in printed form (read: skimmable)
  • Expand the data table to show all records when printing, repeat table headers at top of each page and remove,
  • Remove navigation and footer elements that are not useful in the printed form (navigation links, icons linking to github, etc.)

Why go through this when we took the pains to get it on the web? Because some of our users won't have web enabled conference rooms, and sometimes the printed report is just easier to work off of, mark up, etc. The digital future is near, but we still need to meet our users in the departments where they are.

Images too big

Need to add some automations to create thumbnails for blog post images.

Custom text selection style is hard to read

Currently, the website has different ::selection styles depending on the browser. Perhaps using a color close to the (numerous!) defaults or the primary color + white text for all browsers is more readable. I can submit a PR with whatever's preferred if you're open to contributors :)

Current on Firefox
screen shot 2016-03-14 at 2 39 30 pm

Current on Chrome
screen shot 2016-03-14 at 2 25 17 pm

#B4D5FF
screen shot 2016-03-14 at 3 55 15 pm

Primary Color + White Text
screen shot 2016-03-14 at 2 23 03 pm

Apply DRY to layouts/includes

Layouts and includes have gotten a little wonky leading to some duplication and inconsistent application of conventions across the code. It's not too bad yet, but would like to squash the issues now rather than later and then document the conventions in code.

Test accessibility across site

Need to log all accessibility issues and shore up some of the templates and practices to reduce the introduction of accessibility issues across DataSF website

Published dataset number should pull from socrata API on the home page

Currently, I'm just manually updating which is actually quick and easy and the number updates at a regular cadence anyway, so it hasn't become overwhelming to do quickly when we finish a round of publishing. However, it should just be automatic.

I just need to repurpose some javascript from DataSF in Progress. Part of the delay on this is that I want to make sure I'm implementing this in a way that reuses a library of elements, especially as we'll want to pull certain measures and indicators into other parts of the site (beyond the in progress dashboard).

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.