Giter VIP home page Giter VIP logo

laminar's People

Contributors

stilist avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

laminar's Issues

Tag support

Currently trapped inside the Activity data fields.

Add metadata

Currently everything except the timestamp is extracted from the data field. Makes it difficult to build tag pages or generate Open Graph metadata.

  • images
  • title
  • description
  • original_id

Mobile tweaks

Already scales down well with the current design, but could be improved.

  • icon(s)
  • manifest
  • splash screen?

Current way of pulling weather data is incredibly slow

For every Activity item displayed the code is making two calls to Weather::nearest_observation, which in turn makes two database calls—so a page displaying the maximum 100 items makes 400 calls to the WeatherObservations table.

My idea for an alternative is:

  1. fetch WeatherObservations between the first and last Activity records that will be displayed
  2. map created_at into observation_times (Array)
  3. use something from here to find the index of the observation nearest the Activity timestamp
  4. return observation_times[idx]

Single database call, and everything else is done in ruby.

Simple support

Per support they don’t have an API, but it’s possible to download a partial transaction history as JSON.

Date URL structure

For the moment probably just filtering with pagination, but ultimately could have activity graphs or something.

  • year
  • year/month
  • year/month/day

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.