Code Monkey home page Code Monkey logo

Comments (8)

defunkt avatar defunkt commented on May 12, 2024

This looks like a big enough feature that it could stand alone as its own gem, I think.

from resque.

bvandenbos avatar bvandenbos commented on May 12, 2024

Yeah, it does feel like separate functionality, but it's pretty nice to have the UI integrated with resque-web. I'll look into rolling a separate gem and maybe adding a separate interface.

thanks.

from resque.

defunkt avatar defunkt commented on May 12, 2024

I think it'd be awesome if we could hook a resque-scheduling gem into the web UI as another tab. Not sure how that would work, though. Any ideas?

from resque.

bvandenbos avatar bvandenbos commented on May 12, 2024

Completely agree :). Could make resque-web support plugins for new tabs/functionality. Seems a little complicated for such a light app, but it would probably also allow for making failure handling/reporting a little more modular. Not sure on the details of how it would work though.

Other option is have resque-scheduler patch resque-web in some way, but that just seems like an ongoing headache.

from resque.

bvandenbos avatar bvandenbos commented on May 12, 2024

In the meantime, I'll pull my non-ui changes into the resque-scheduler gem.

from resque.

bvandenbos avatar bvandenbos commented on May 12, 2024

Ok, the scheduler is a separate gem (v0.0.1 on gemcutter).

http://github.com/bvandenbos/resque-scheduler

I'll keep thinking about extended the resque-web ui.

from resque.

bvandenbos avatar bvandenbos commented on May 12, 2024

So, I played around with this and it's easy enough for new gems to extend Resque::Server to add functionality, but adding tabs is the limiting part (since they're hard coded in the layout). It's easy enough to add though. I created a branch for it:

http://github.com/bvandenbos/resque/commit/9f8c6a654a27ef668b0a20e194025e904b438610

WIth this change to resque, other gems can extend resque-web to add new tabs (by modifying Resque::Server.tabs. It's a little wacky, but pretty small impact.

What do you think?

from resque.

defunkt avatar defunkt commented on May 12, 2024

Sweet, merged in! Closing this out - thanks.

from resque.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.