ducksboard icon indicating copy to clipboard operation
ducksboard copied to clipboard

Added Delta to Counter Widget

Open aaldrich opened this issue 11 years ago • 4 comments

Added delta to the counter widget to support the new ducksboard changes

aaldrich avatar Mar 17 '13 23:03 aaldrich

awesome! I'll try and take a look at this later tonight.

jhsu avatar Mar 18 '13 01:03 jhsu

@aaldrich I'm thinking about simplifying the push api to a single class Ducksboard::Slot and see some examples

What do you think?

jhsu avatar Mar 18 '13 07:03 jhsu

What is your reasoning for it? I kinda like being able to extend new widgets via polymorphism. I guess my biggest concern would be that the push class might become very large and bloated. I could be wrong but that is my initial thoughts. What do you think?

On Mon, Mar 18, 2013 at 2:00 AM, Joseph Hsu [email protected]:

@aaldrich https://github.com/aaldrich I'm thinking about simplifying the push api to a single class Ducksboard::Slothttps://github.com/jhsu/ducksboard/blob/simple-slot-push/lib/ducksboard/slot.rband see some exampleshttps://github.com/jhsu/ducksboard/tree/simple-slot-push#sending-data

What do you think?

— Reply to this email directly or view it on GitHubhttps://github.com/jhsu/ducksboard/pull/7#issuecomment-15041587 .

aaldrich avatar Mar 28 '13 17:03 aaldrich

I've started trying the Slot example just to see how I like it and having some issues. It seems like the post method inside the push api isn't being recognized on the class:

push.rb:45:in post': undefined methodpost' for Ducksboard::Slot:Class (NoMethodError)

aaldrich avatar Apr 01 '13 20:04 aaldrich