dvandersluis / compendium Goto Github PK
View Code? Open in Web Editor NEWRuby on Rails reporting framework
License: MIT License
Ruby on Rails reporting framework
License: MIT License
Here is a quick highcharts renderer I made based on lazy_high_charts in case it becomes useful for anyone.
Sorry I disturb you here, but can't find another way to reach you. I use capistrano-sneakers
and contribute constantly. If I understand correctly you are not interested or don't have the time right now to maintain it. Is it possible to pass it's ownership at rubygems to me, so I could easily release new versions? ๐
I noticed that the default templates are in Haml, though Haml is not a gem dependency.
Given the templates are very small I wonder if just converting them to Erb is not a better approach to avoid having a potentially unused gem dependency on Haml if the apps using this gem don't use it.
In the README...
# Define a query that works on another query's result set
# Note: chart and data are aliases for query
chart :deliveries_over_time, through: :deliveries do |results|
results.group_by(&:purchased_at)
end
The results
given to the chart block is an ActiveRecord::HashWithIndifferentAccess and not an ActiveRecord result.
Is it possible to have dynamic values for a dropdown based on current_user
or similar?
i.e.
option :group, :dropdown, -> (user) { user.groups.pluck(:name) }
if the options can receive a user as an argument
or
option :group, :dropdown, -> { current_user.groups.pluck(:name) }
if the options can be evaluated in the context of a request?
How can we define the order of the columns we wish to display?
Can you provide some documentation for how to render report results in a view as a table and/or amChart?
This is very compelling, however the README is lacking information about how to develop the reporting views.
When calling render_report_setup
...
No route matches {:action=>"run", :controller=>"compendium/reports"} missing required keys: [:report_name]
Some quick examples in the README would be helpful. Thanks!
The version on RubyGems seems to be compatible with Rails 5, however the master branch of the repo specifies < 4
.
Is there a reason for this? Bundler has installed 1.1.3.4
in my Rails 5 app, which doesn't seem to have the table
report DSL.
Would it be possible to have a config hash that gets passed to render_table to set the table classes?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.