diff --git a/README.md b/README.md index 6767e2a..a67f2bc 100644 --- a/README.md +++ b/README.md @@ -19,14 +19,20 @@ A modern, secure, and reliable dashboard for [Agenda](https://github.com/agenda/ ### Screenshots +#### Dashboard + ![Auto-refresh list of jobs](all-jobs.png) --- -![See job details, requeue or delete jobs](job-details.png) +#### Create jobs + +![See job details, requeue or delete jobs](create-job.png) --- +#### Search by name, metadata, job status + ![Search for a job by name or metadata ](search.png) --- @@ -41,11 +47,11 @@ At first, we tried to just patch the existing code but it was written in backbon # Roadmap - [x] Improve default security -- [ ] Compatibility with agenda v3 -- [x] Polish backend so it is more efficient +- [x] Compatibility with agenda v3 +- [x] Polish backend so it is more efficient (MongoDB Aggregation queries were rewritten and optimized) - [ ] Get more test coverage -- [ ] Add middlewares for KOA and other express-like libraries -- [ ] You decide! +- [ ] Add middlewares for KOA, fastify, and other express-like libraries +- [ ] You decide! Submit a feature request ### Install @@ -58,8 +64,8 @@ npm install --save agendash2 ### Middleware usage -Agendash provides Express middleware you can use at a specified path, for example this will -make Agendash available on your site at the `/dash` path. Note: Do not try to mount Agendash +Agendash2 provides Express middleware you can use at a specified path, for example this will +make Agendash2 available on your site at the `/dash` path. Note: Do not try to mount Agendash2 at the root level like `app.use('/', Agendash(agenda))`. ```js @@ -82,7 +88,7 @@ app.use('/dash', Agendash(agenda)); // ... start your server ``` -By mounting Agendash as middleware on a specific path, you may provide your +By mounting Agendash2 as middleware on a specific path, you may provide your own authentication for that path. For example if you have an authenticated session using passport, you can protect the dashboard path like this: diff --git a/all-jobs.png b/all-jobs.png index 449232d..0f1e5df 100644 Binary files a/all-jobs.png and b/all-jobs.png differ diff --git a/create-job.png b/create-job.png new file mode 100644 index 0000000..3d914fe Binary files /dev/null and b/create-job.png differ diff --git a/job-details.png b/job-details.png deleted file mode 100644 index 599a0de..0000000 Binary files a/job-details.png and /dev/null differ diff --git a/package.json b/package.json index 96e616b..5027180 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "agendash2", - "version": "0.6.0", + "version": "0.7.0", "description": "A modern dashboard for Agenda.js with Pagination and Search capabilities", "main": "app.js", "bin": "bin/agendash-standalone.js", diff --git a/public/app/js/joblist.js b/public/app/js/joblist.js index c63e4ce..91bd93a 100644 --- a/public/app/js/joblist.js +++ b/public/app/js/joblist.js @@ -42,7 +42,7 @@ const jobList = Vue.component('job-list', { this.multijobs = [] }, cleanMulti() { - return console.log("receibed Clean Multi") + return console.log("received Clean Multi") }, formatDate(date) { return moment(date).fromNow(); diff --git a/public/app/js/newJob.js b/public/app/js/newJob.js index ae5c1b9..e13dd48 100644 --- a/public/app/js/newJob.js +++ b/public/app/js/newJob.js @@ -47,17 +47,16 @@ const newJob = Vue.component('new-job', {