Comments (8)
This looks like a big enough feature that it could stand alone as its own gem, I think.
from resque.
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.
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.
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.
In the meantime, I'll pull my non-ui changes into the resque-scheduler gem.
from resque.
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.
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.
Sweet, merged in! Closing this out - thanks.
from resque.
Related Issues (20)
- Unsupported command argument type: TrueClass. Migration from redis gem v4 to v5 HOT 5
- Web Interface failing with Internal Server Error
- Blocking background worker process over SSH HOT 2
- Make the signal for child termination configurable HOT 1
- Workers not terminating as expected HOT 1
- resque-status is not compatible with Resque > 2 HOT 2
- Experiencing a lot of database overhead with forked jobs HOT 3
- deadlock during deallocation of threads and fork
- [feature request] filter sensitive args in resque server
- DirtyExit VS PruneDeadWorkerDirtyExit - what is the difference? HOT 1
- USR2 signal is happening but my resque job is going to dirty exit HOT 2
- start_heartbeat can die while worker is still running HOT 1
- Unpatched CVE-2022-44303 - Reflected XSS HOT 4
- Please publish security advisories for XSS vulnerabilities HOT 4
- Search Feature in failed jobs HOT 2
- Cannot use with Rack 3.0 because of Sinatra (resque-web); Blocked upgrade to Rails 7.1 HOT 5
- Ruby 3.3 and stuck workers. HOT 9
- Autoscaling resque question HOT 2
- Overview UI Broken Due to Nonce Whitelist HOT 2
- Code & comment for redis initializer method could be clearer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resque.