@queuedash/ui 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -2
- package/dist/main.js +14 -14
- package/dist/main.mjs +415 -412
- package/dist/src/utils/trpc.d.ts +14 -12
- package/dist/styles.css +20 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -40,13 +40,15 @@ import { createQueueDashExpressMiddleware } from "@queuedash/api";
|
|
|
40
40
|
|
|
41
41
|
const app = express();
|
|
42
42
|
|
|
43
|
+
const reportQueue = new Bull("report-queue");
|
|
44
|
+
|
|
43
45
|
createQueueDashExpressMiddleware({
|
|
44
46
|
app,
|
|
45
47
|
baseUrl: "/queuedash",
|
|
46
48
|
ctx: {
|
|
47
49
|
queues: [
|
|
48
50
|
{
|
|
49
|
-
queue:
|
|
51
|
+
queue: reportQueue,
|
|
50
52
|
displayName: "Reports",
|
|
51
53
|
type: "bull" as const,
|
|
52
54
|
},
|
|
@@ -86,6 +88,8 @@ export default QueueDashPages;
|
|
|
86
88
|
import * as trpcNext from "@trpc/server/adapters/next";
|
|
87
89
|
import { appRouter } from "@queuedash/api";
|
|
88
90
|
|
|
91
|
+
const reportQueue = new Bull("report-queue");
|
|
92
|
+
|
|
89
93
|
export default trpcNext.createNextApiHandler({
|
|
90
94
|
router: appRouter,
|
|
91
95
|
batching: {
|
|
@@ -94,7 +98,7 @@ export default trpcNext.createNextApiHandler({
|
|
|
94
98
|
createContext: () => ({
|
|
95
99
|
queues: [
|
|
96
100
|
{
|
|
97
|
-
queue:
|
|
101
|
+
queue: reportQueue,
|
|
98
102
|
displayName: "Reports",
|
|
99
103
|
type: "bull" as const,
|
|
100
104
|
},
|
|
@@ -138,6 +142,26 @@ type QueueDashAppProps = {
|
|
|
138
142
|
};
|
|
139
143
|
```
|
|
140
144
|
|
|
145
|
+
## Roadmap
|
|
146
|
+
|
|
147
|
+
- Supports Celery and other queueing systems
|
|
148
|
+
- Command+K bar and shortcuts
|
|
149
|
+
- Display Redis information
|
|
150
|
+
- Ability to whitelabel the UI
|
|
151
|
+
|
|
152
|
+
## Pro Version
|
|
153
|
+
|
|
154
|
+
Right now, QueueDash simply taps into your Redis instance, making it very easy to set up, but also limited in functionality.
|
|
155
|
+
|
|
156
|
+
I'm thinking about building a free-to-host version on top of this which will require external services (db, auth, etc.), but it will make the following features possible:
|
|
157
|
+
|
|
158
|
+
- Alerts and notifications
|
|
159
|
+
- Quick search and filtering
|
|
160
|
+
- Queue trends and analytics
|
|
161
|
+
- Invite team members
|
|
162
|
+
|
|
163
|
+
If you're interested in this version, please let me know!
|
|
164
|
+
|
|
141
165
|
## Acknowledgements
|
|
142
166
|
|
|
143
167
|
QueueDash was inspired by some great open source projects. Here's a few of them:
|