Giter Site home page Giter Site logo

chicago / dev.cityofchicago.org Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 7.0 66.21 MB

Developer resources provided by the City of Chicago and sister agencies and get technical updates from the developer blog.

Home Page: http://dev.cityofchicago.org

Ruby 0.10% HTML 11.14% CSS 7.30% JavaScript 54.19% SCSS 27.26%
chicago government jekyll website

dev.cityofchicago.org's People

Contributors

diffractometer avatar geneorama avatar jdkunesh avatar levyj avatar mlinksva avatar nicklucius avatar tomschenkjr avatar walesmd 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dev.cityofchicago.org's Issues

Display list of GitHub projects

The site chicago.github.io lists all GitHub projects, which is based on a look-up that retrieves projects from GitHub. It would be nice to dedicate a page within dev.cityofchicago.org to that same functionality.

The page would arrange all current github.com/Chicago projects and display them. Clicking on a project would take the user to the repo.

Once completed, the chicago.github.io site can be used to simply redirect users to dev.cityofchicago.org

Post links broken on blog

Clicking on a post leads to a 404 error. The links are pointing to https://[category1]/[category2]/[post-title.html].

Need to look at the URL structure to make sure it points to https://[url]/[category1]/...

Also need to regenerate the blog posts so they appear in the folder directory. They are currently missing.

Allow image credits to be added in the hero image

Currently, images in the banner do not have a clear way to provide image credits when necessary. Would like to create a small area in either the lower left- or right-hand corner of the hero/banner image to display credits. The text can be small and just provide enough space to mention the owner of the image and mention any licensing (e.g., CC-BY).

Rename/reorganize main nav for greater clarity

Need to make a few tweaks to the menu which, in combination with #22, will make it easier to find information.

  • Change "docs" to "Resources"
  • Add a separate entry for "Open Data Portal" in the main nav (removing exiting one under "docs"/"Resources")
    • Submenu under "Open Data Portal" should include: "Visit Portal" (data.cityofchicago.org) and "Read API docs" (dev.cityofchicago.org)

Build in Travis CI

Build Jekyll site in Travis CI. Do some testing to ensure there are no broken links. Will be following this tutorial to set that up.

Completing this will make #5 easier.

Create 404 page

  • Create custom 404 page
  • Update S3 configuration to use new 404 page

Several problems with paths

Consolidating #7 for a central issue on issues with links...

Blue links are too light, hard to notice

The blue links on the main pages, such as the blog page, are too light and is hard to read. However, when hovering, it's just about the right color. So, will change the inactive link to #99D6EF and change the active link to a darker blue.

Compress banner (and other) images

Load times are running longer for some individuals which is caused by the large banner images:

  • Look at compressing images more
  • Use @media queries in the CSS to load smaller images on smaller devices.

Workflow to create a new blog post

@tomschenkjr - I could just e-mail you but it seemed as if whatever conversation takes place here may be useful documentation of the eventual answer. Feel free to delete this issue if you prefer to do this a different way.

I like the idea of creating a new branch for a blog post and then handling publication as a pull request. However, I am not seeing how to create a new branch in the GitHub GUI. I am not sure if I am missing it or if it is a permissions issue.

An alternative approach would be to fork the repo into my own GitHub account and do the pull request from there.

Broken link on blog when looking at newer or older entries

  1. To reproduce, start at http://dev.cityofchicago.org/blog/.
  2. Scroll to the bottom where pagination begins.
  3. Click "<< Older Entries"

Will receive a 404 error at a URL http://dev.cityofchicago.org/blogpage2. The URL should be http://dev.cityofchicago.org/blog/page2`.

This error also happens when looking at older pages and attempting to look at newer entries.

  1. Start at http://dev.cityofchicago.org/blog/page3
  2. Scroll to the bottom where pagination begins.
  3. Click "New Entries >>".

Will also receive a 404 error.

Just need to fix the relative URL in the _includes/pagination.html file.

Add license and notice file

Added a LICENSE.md and NOTICE.md file. The NOTICE file needs to mention the licenses of:

  • Libraries used in the template
  • Images and icons used

Links to resources do not work when not starting from home page

Description

Accessing any of the links under the Resources page returns a 404 if you don't start from the homepage (dev.cityofchicago.org). It appears the relative paths are incorrect so leads to odd links.

Steps to reproduce

A working scenario

  1. Visit dev.cityofchicago.org
  2. Hover mouse over "Resources"
  3. Select "Lead Safe"
  4. Returns the correct site (http://dev.cityofchicago.org/docs/lead-safe/)

Returns a broken link

  1. Visit the blog page (http://dev.cityofchicago.org/blog/)
  2. Hover mouse over "Resources"
  3. Select Lead Safe
  4. Step 3 points you to this page which returns a 404 error

Missing files: favicon and fonts

I am seeing two errors in the console for missing files. Could be two separate issues, but they could be resolved as a single issue as well.

When I load the page a second time I don't see the favicon error, presumably because it's not checking every time.

$ jekyll serve
Configuration file: C:/Users/375492/Github/DoIT/dev.cityofchicago.org/_config.yml
            Source: C:/Users/375492/Github/DoIT/dev.cityofchicago.org
       Destination: C:/Users/375492/Github/DoIT/dev.cityofchicago.org/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
                    done in 16.82 seconds.
 Auto-regeneration: enabled for 'C:/path/to/project/dev.cityofchicago.org'
    Server address: http://127.0.0.1:4000
  Server running... press ctrl-c to stop.
[2018-12-28 11:46:37] ERROR `/fonts/font-awesome/fontawesome-webfont.ttf' not found.
[2018-12-28 11:46:38] ERROR `/favicon.ico' not found.

Use :after elements for header seal

Currently, the logo and text is completely an image that does not scale well. Objective is to use a city seal image but use the :after pseudo-element to render text in the browser.

Auto-rotating image gallery is broken

The rotating set of images are not auto-advancing. The user can click arrows to advanced images, but otherwise does not advance after the site is loaded.

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.