Comments (12)
hey @abdolrhman! thanks for opening the issue!
we don't have pagination yet 😅 if you have some time to implement it please feel free to do so! let me know if you need some help
from bull-board.
Thanks buddy,
I will give it a shot,
This package did really helped me alot,
Would be also great if u could helped me to contribute in this great thing :))
from bull-board.
glad that this has helped you! 🤩
you can open a PR starting the changes and we can iterate on that! the UI part would be trickier than allowing pagination on the API itself, so I would say starting from the back-end could be easier!
from bull-board.
i am trying to do it from the front end, by adding
` const [currnetPage, setCurrentPage] = useState(1);
const [jobsPerPage, setJobsPerPage] = useState(10);`
in useStore file,
so that for each click i set a new current page and jobs for that page,
but this requires me to change a little bit in the cycle that is already exist,,
from bull-board.
also i have a poor knowledege in React or in front-end in general, but am trying my best :)
from bull-board.
hey @abdolrhman, sorry for the late response!
Regarding the pagination, the two states you mentioned look like a nice start!
We would then pass their values to the update
method so we can read the new query parameters in the route and use then in the getDataForQeues.js
file.
Let me know if I can help with anything else 😄
from bull-board.
I think pagination would be super important! especially for larger queues!
from bull-board.
Pagination start to be a thing for us. We are wondering how we are going to add it.
from bull-board.
If queue > 1000 registers loading all list in one page?
from bull-board.
Hi @vcapretz I found this issue interesting and would love to work on it. Really nice package by the way!
Apologies for the hustle! Just managed to use the latest alpha 7 package now. Turns out some issues were on me. Except the Cannot find module 'bullmq'
issue, which I bypass it by installing bullmq for now (I'm using Bull 3).
But I wonder which version tag should I work on. In my project I'm using bull board 0.6.0
w/o any issue. When I fork the repo I realize master
is now in v1.0.0-alpha.7
and contains a TypeScript rewrite.
I assume it'd be ideal if I start working on the latest alpha 7 code base, since it introduces many changes and some file names have changed as well. But when I tried to use the latest alpha 7 in my project, I got some errors especially for 1) .Cannot find module 'bullmq'
, 2) UI
now no longer exist and 3) some typing errors using setQueues
. I see the readme documentation hasn't updated to provide instructions for breaking changes in v1 / alpha so got stuck there and couldn't do testing / debugging
I was able to switch back to 0.6.0
in my forked repo, and published it so I can use the forked package in my project and debug there. But I wonder will there be any issues if I start working based on the 0.6.0 release commit? One concern is getDataForQueues.js
file no longer exists in alpha 7, and changes to that file could cause merge conflict. I wonder what would you advise to do in order to get started on the code base?
from bull-board.
hey @rivernews, thank you very much for being willing to work on this issue, that would be awesome.
so yes, we are rewriting the lib in TS and quite a lot of things changed, we were even wondering if we should drop support for bull 3 altogether and only support bullmq
, but I'm not so sure about this.
the alpha version is very unstable and we need more work on that, if you want to please create a branch from the latest tag we have (https://github.com/vcapretz/bull-board/tree/v0.6.0) and I can publish a new version on top of that instead of waiting indefinitely for the alpha to become a beta and then a proper release.
Let me know if that works for you! but I believe it's the way to go so we can release this amazing feature as soon as possible 😄
from bull-board.
@vcapretz Thanks so much for the context! I'll keep that in mind, hopefully making the paginator component its own file to mitigate the later on porting issue.
Just completed a rough draft version in Typescript, but I agree it's better to be based on 0.6.0
and aim on that first. I'll convert the draft to a javascript edition (not sure what's a better way to do this but perhaps removing the typings first) and do some refinement.
from bull-board.
Related Issues (20)
- nestjs test failed due to unable to resolve dependencies of the BullBoardFeatureModule? HOT 1
- BUG: Error thrown when calling HonoAdapter API with status code 204 HOT 1
- add button to reset attempt count HOT 1
- Job details won't show up in express 5.x HOT 11
- Datetime format HOT 2
- Dashboard Lagging with FormData Containing Large Image HOT 1
- Bump `ejs` in package.json
- Queue names with "/" lead to "Queue not found error" flash messages HOT 2
- I'm using a koa.js based development framework egg.js, but it doesn't seem to be supported at the moment. HOT 8
- Dockerfile is outdated HOT 1
- The new version of @bull-board/h3 will report an error H3Error: HTTP method is not allowed. HOT 2
- [Feature request]: OpenAPI definition for API routes (including the on going metrics endpoint) HOT 4
- Hono example doesn't work HOT 1
- How do you create new jobs with the new BullMQ UI? HOT 3
- clean jobs for all queues in dashboard HOT 2
- flow children with groups are not visible in bullboard HOT 6
- Progress circle filled when progress < 100%
- with-hono example doesn't seem to load the dashboard UI (Windows) HOT 11
- `createBullBoard`'s `serverAdapter` and `ExpressAdapter` types don't match HOT 9
- Feature Request: Granual permission job system HOT 4
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 bull-board.