Giter VIP home page Giter VIP logo

component-library's People

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  avatar  avatar  avatar  avatar  avatar  avatar

component-library's Issues

MapInfoPanel

Next generation of issue #33, renamed to better fit the component description.

Need an info panel to display neighborhood data when a neighborhood is clicked on the leaflet map.

image

Leaflet component

The housing team needs a component that takes geojson and renders a leaflet map.

We'll be building this, but I wanted to make an issue first to make sure we aren't duplicating effort across teams!

Ultimately it will fit into a page that looks like this:

image

So you can expect it to require geojson and provide hover and click events for points and regions.

Hero component requires three versions (Platform, Collection, Card).

Prototype reference: https://invis.io/T99ULMFYA

Platform Hero:
A vanilla Hero section for the Platform home page. Accepts html content. Markup should only include .Hero div for maximum flexibility in content.

Collection Hero:
Hero section for a Collection page. Markup should include .Hero .Container .Content divs for normalization.

  • Featured Tag
  • Normalized h1 for dynamic Collection Title
  • ShareLink component (currently labeled as StoryLink) that copies collection link to clipboard.
  • Accepts a dynamic background-image built by teams.

Card Hero
Hero section for a Collection page. Markup should include .Hero .Container .Content divs for normalization.

  • Normalized h1 for dynamic Card Title
  • ShareLink component (currently labeled as StoryLink) that copies card link to clipboard.
  • Displays dynamic background-image associated with its parent Collection Hero.
  • View in Collection link that routes back to the Card's parent Collection.

Leaflet map component tooltip

Part of the map component (issue #2 ) requires a tooltip that opens when clicking a neighborhood. Expect that the tooltip contents will be unique depending on the project.

screen shot 2017-03-01 at 5 56 21 pm

Sticky slider control

Slider controller to change year, stay's sticky to follow the user as they scroll down to other sections.

Can likely use slider already in the component library

need to clarify what the "play over time" button does

sticky-slider-budget

Sankey diagram

The budget team MVP includes an interactive Sankey diagram (or similar), for visualizing time series data:

Featured Card: Delta sankey diagram (or similar visualization)
Function: Represent the City of Portland’s budget data over a period of 10 years (data permitting), so users can quickly understand basic facts about the budget (service areas, general spending, changes over time)
Components:
Visualization of budget data over time (e.g. a sankey diagram)
Ability to manipulate a slider through the diagram, so they can land on each year. A pop-up box (or similar) will appear when users stop the slider on a particular year. The pop-up box will show budget data for that year, specifically total dollar amount and percent of total budget for each service area.
Some contextualizing text about the diagram (to be written later)

Publish to NPM

To use these components in project repos, the plan is to require this as an npm dependency, yes?

If so, the package name will have to change and it will need to be published. Housing front-end is ready to put their site together. In the interim, we can use some npm link shenanigans, but we'll want to get this public soon.

Leaflet Redux

try and fetch leaflet data from backend and wrap in a higher order react component (provider)

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.