richo / groundstation

Decentralised gossip driven data sharing for the 21st century.
http://groundstation.me
MIT License
59 stars 12 forks source link

Automatic refresh of gref pages. #38

Closed virtadpt closed 11 years ago

virtadpt commented 11 years ago

Groundstation currently does not automatically refresh displayed grefs. To put it another way, users have to click on another gref and then back to the one they were just on to see new posts to that thead. It'd be nice if displayed grefs automatically refreshed themselves a few seconds after somebody's posted a reply.

richo commented 11 years ago

This was on the backlog, probably to be implemented with websockets.

I'm still on the fence about including it in airship which was meant to be an in tree mechanism for poking at the db, rather than a totally full featured client (largely to keep it's dependency graph small).

I'll ponder it tonight, probably the code is mature enough now to warrant pulling it out into it's own project, which makes the dependency thing moot.

richo commented 11 years ago

I've been thinking about this during the day. I have some stuff I'll do right now, and some stuff I'd like to do that I'll get your thoughts on.

So, I think I'll implement this behaviour, predicate it on some checkbox (with a default value specified in some config somewhere) and then let you guys tweak it in your shippable builds.

Part of the reason for splitting the code out is so that Byzantium can have it's fork of airship with the stuff that's important to you in it, and with a little forethought it should be possible to keep pulling from upstream without including a bunch of Byz specific stuff in the generic codebase.

EDIT: Wait, I evidently thought the same thing a couple of weeks ago. Regardless, this will ship in a couple of hours.

richo commented 11 years ago

I think this should work. I'll hold off on merging it until I hear from you though, it's off by default so I'm not sure if this meets your usecase.

virtadpt commented 11 years ago

We'll check it out tonight and get back to you. I just woke up and need to get it together enough to run a VM without shorting out my temporal lobes.

virtadpt commented 11 years ago

I just took it for a spin in the VM, and in a VM running an RC .iso image, and it works.

Thank you for everything, Richo. You've done an awesome job on everything. Are you going to be in DC anytime soon?

richo commented 11 years ago

No stress. Honestly, I've been very time poor lately and haven't spent the time on this that I'd like to, especially because I know you guys are timeboxed.

I'm not exactly sure what my plans are. I'm here till the end of august, but I'm thinking I might head over the week before defcon. I'll make sure I check/give you guys some notice whatever I do.