Comments (15)
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.
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.
Also: Shifts has a data analysis model "stats" that we could learn a lot from
from reservations.
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.
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.
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.
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.
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.
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.
I'm not yet convinced we need a model for reports, but let's discuss this today in more depth.
from reservations.
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.
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.
finished reservations list, cleaned up layout a bit, want to do a little bit of work on durations, but essentially done
from reservations.
maybe another look at the layout
from reservations.
Layout done-ish - good enough for 3.0, but will probably be revised for 3.1.
from reservations.
Related Issues (20)
- Reservation request approval doesn't quite persist HOT 1
- Importing users to ban them broken HOT 1
- Sensitive information on Equipment Model pages is available to the public HOT 1
- Cancelling an overdue reservation does not reset the overdue count on the model
- Recurring blackout conflict logic broken HOT 1
- Latest security fixes
- Link in flash when viewing as a different role is escaped out
- Update Loofah
- CSV USer Importer Bug HOT 1
- Update rack to Address Security Vulnerability
- Swap out Capybara-Webkit for Headless Chrome Driver
- Editing blackouts is broken HOT 1
- Date format
- Email return receipt HOT 1
- Error at checkout HOT 1
- View as guest shows equipment model requirements (but not visible to guests)
- Add Dockerfile HOT 2
- NoMethodError in ReportsController#subreport
- rake app:setup undefined method `noecho' HOT 1
- LDAP User Import Error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reservations.