feat: configure-tap action navigates to AppConfig page
The tap button in the node toolbar now navigates to /admin/appconfig?app=<application>&processor=<nodeId>, which auto-selects the application in the AppConfigPage. The AppConfigPage reads the ?app query param to open the detail panel for that app. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -243,8 +243,10 @@ export default function ExchangeDetail() {
|
||||
const handleNodeAction = useCallback((nodeId: string, action: NodeAction) => {
|
||||
if (action === 'toggle-trace') {
|
||||
handleToggleTracing(nodeId)
|
||||
} else if (action === 'configure-tap' && detail?.applicationName) {
|
||||
navigate(`/admin/appconfig?app=${encodeURIComponent(detail.applicationName)}&processor=${encodeURIComponent(nodeId)}`)
|
||||
}
|
||||
}, [handleToggleTracing])
|
||||
}, [handleToggleTracing, detail?.applicationName, navigate])
|
||||
|
||||
// ── Replay ─────────────────────────────────────────────────────────────
|
||||
const { data: liveAgents } = useAgents('LIVE', detail?.applicationName)
|
||||
|
||||
Reference in New Issue
Block a user