vrish88 / sinatra_cyclist Goto Github PK
View Code? Open in Web Editor NEWCycle through Sinatra routes at a regular duration.
License: MIT License
Cycle through Sinatra routes at a regular duration.
License: MIT License
Hi
I have modified the config.ru as specified, but when i try to navigate to _cycle i get That Dashboard doesn't exist.
This isn't working at all for me. I'm getting:
SyntaxError: config.ru:19: syntax error, unexpected tINTEGER, expecting tSTRING_ CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
set :routes_to_cycle_through, [:3destate, :3destate2]
^
config.ru:19: syntax error, unexpected tINTEGER, expecting tSTRING_CONTENT or tS TRING_DBEG or tSTRING_DVAR or tSTRING_END
set :routes_to_cycle_through, [:3destate, :3destate2]
Hi all,
Can someone advise me how to cycle through widgets as well using SinatraCyclist? I can only cycle through dashboards.
Thanks a lot in advance.
With regards, Luis
First of all, great addition here.
I am having an issue when using it with Dashing, though. It seems that currently, the "duration" parameter does not affect the time to cycle between dashboards. No matter what number I provide, the default cycle time is always used.
I did see there was an update with this issue here: #3
It appears that jeromegn made a fix after the pull was completed, but the fix was never incorporated. Any chance that could be pulled in?
Do you need classic_application.rb and modular_application.rb when you are using dashing ?
The doco seems to suggest that you don't. However, I've run dashing and nothing happens as far as cycling.
Am I then suppose to open the browser at localhost:3030/_cycle to fire it off ?
While the Refresh header does the job nicely, when using sinatra_cyclist with Dashing it would be nice to be able to fade between dashboards.
It would be great to be able to configure the method used for cycling between header, meta and javascript. Obviously the latter two would require modifying the response body. Maybe a rack middleware?
it would be good if you could set the duration for the cycle on the config.ru file instead of having to put this in the url.
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.