mirror of
https://github.com/hibiken/asynqmon.git
synced 2026-04-26 09:35:49 +03:00
[PR #343] [CLOSED] Add feature publisher event #345
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynqmon#345
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hibiken/asynqmon/pull/343
Author: @IsaacDSC
Created: 6/21/2025
Status: ❌ Closed
Base:
master← Head:isaacdsc/feat-publisher📝 Commits (5)
e8fcdcdfeat: add API endpoint for publishing events and update documentationb2b8b92feat: add EventPublisher component for publishing events with JSON payloadb469b7efix: rm unnecessary package-lock.json5e0b63cfeat: update API endpoint documentation and improve error messages in event publishing5f96222fix: Improve error handling in EventPublisher component📊 Changes
25 files changed (+7118 additions, -8378 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)📝
README.md(+37 -0)📝
cmd/asynqmon/main.go(+1 -0)📝
handler.go(+9 -3)➕
publish_handlers.go(+73 -0)➕
publish_handlers_test.go(+71 -0)📝
ui/build/asset-manifest.json(+5 -12)📝
ui/build/index.html(+1 -1)➖
ui/build/static/js/2.83624df2.chunk.js(+0 -3)➖
ui/build/static/js/2.83624df2.chunk.js.map(+0 -1)➖
ui/build/static/js/main.5adda2da.chunk.js(+0 -2)➖
ui/build/static/js/main.5adda2da.chunk.js.map(+0 -1)➕
ui/build/static/js/main.a69cd3cd.js(+3 -0)📝
ui/build/static/js/main.a69cd3cd.js.LICENSE.txt(+0 -38)➕
ui/build/static/js/main.a69cd3cd.js.map(+1 -0)➖
ui/build/static/js/runtime-main.9fea6c1a.js(+0 -2)➖
ui/build/static/js/runtime-main.9fea6c1a.js.map(+0 -1)📝
ui/build/static/media/logo-color.c2b0c1f393a71462ee60d37c36104ae6.svg(+0 -0)📝
ui/build/static/media/logo-white.3fa2ac5555c613ec4b23a244f14113de.svg(+0 -0)📝
ui/package.json(+1 -0)...and 5 more files
📄 Description
This pull request introduces a new feature for publishing events to Asynq queues via a new API endpoint, along with supporting changes in the backend and frontend. It also includes updates to the UI assets and dependencies. The most important changes are grouped below by theme.
Backend Changes:
POST /api/queues/{qname}/publishfor publishing events to Asynq, including request and response handling inpublish_handlers.go.handler.goto include an Asynq client and route for the new endpoint.publish_handlers_test.go.Frontend Changes:
notistacklibrary for snackbars in the UI and wrapped theAppcomponent withSnackbarProviderinApp.tsx.api.ts.Screenshot
Dependency Updates:
notistacklibrary toui/package.jsonfor enhanced notification handling.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.