Git Product home page Git Product logo

Comments (15)

ncmaas avatar ncmaas commented on August 23, 2024

Some relevant information: http://4loc.wordpress.com/2008/12/25/date-arithmetric/

Are we thinking of making this pretty (like graphs, etc) or simply text based things? If we're going to try to implement graphs, I think this would be a sweet gem to use, and it seems to be well supported: https://www.ruby-toolbox.com/projects/googlecharts

from reservations.

caseywatts avatar caseywatts commented on August 23, 2024

This is also relevant: https://www.ruby-toolbox.com/categories/visualizing_data
It might be super-easy to make graphs!

But just getting processed raw data is a much higher priority than graphing it for now.

from reservations.

caseywatts avatar caseywatts commented on August 23, 2024

Also: Shifts has a data analysis model "stats" that we could learn a lot from

from reservations.

caseywatts avatar caseywatts commented on August 23, 2024

Alsoalso: here's a super-useful set of js data-visualization tools we could use beyond ruby-toolbox's list (I think the ruby-toolbox ones will be great, but just as reference)
http://selection.datavisualization.ch/

from reservations.

noreaster avatar noreaster commented on August 23, 2024

studying shifts for guidance on how to get the raw data. The way I'm looking at it right now is that each report consists of a set of reservations (defined by a date range, a user/dept, a category/equipment model/object, or some combo).
This set of reservations has data on it:

  • the # or set of reserved/checked out/overdue/etc. reservations
  • the amount of fees paid
  • the users creating reservations
  • the times when reservations are made/checked in/checked out

from reservations.

noreaster avatar noreaster commented on August 23, 2024

So I've got counts for each of the various scopes(reserved, checked_out, etc.) and I'm outputting them to a simple table, with a count for all models, categories, and equipment_models

from reservations.

noreaster avatar noreaster commented on August 23, 2024

merged into development, flexible report maker (only controller side, need to make a form for generating the flexible reports), sub reports, links

Need layout and formatting work

from reservations.

noreaster avatar noreaster commented on August 23, 2024

should this be refactored to move the report creation into a model? Because reports should not be saved into the DB is the reason I created a model less controller

from reservations.

noreaster avatar noreaster commented on August 23, 2024

also if we're creating a report generator, maybe I should shift for_model and for_model set into the generator as a canned reports

from reservations.

adambray avatar adambray commented on August 23, 2024

I'm not yet convinced we need a model for reports, but let's discuss this today in more depth.

from reservations.

noreaster avatar noreaster commented on August 23, 2024

I haven't started working on putting a model into the reports, but I just wasn't sure how fat the controller should be.

from reservations.

noreaster avatar noreaster commented on August 23, 2024

So the issue I was having with it not eager loading the users correctly is because the default scope ignores deleted users, but calling it individually has the default scope of allowing deleted users, which gives 2 different queries, thus breaking includes

from reservations.

noreaster avatar noreaster commented on August 23, 2024

finished reservations list, cleaned up layout a bit, want to do a little bit of work on durations, but essentially done

from reservations.

noreaster avatar noreaster commented on August 23, 2024

maybe another look at the layout

from reservations.

mnquintana avatar mnquintana commented on August 23, 2024

Layout done-ish - good enough for 3.0, but will probably be revised for 3.1.

from reservations.

Related Issues (20)

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.