This is an automated email from the ASF dual-hosted git repository.
abhishekrb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new bfc959d8322 Fix supervisor to tasks view naviagation in the console
(#18298)
bfc959d8322 is described below
commit bfc959d8322ca91d1ac7c4b0bbf9710b1490a003
Author: Abhishek Radhakrishnan <[email protected]>
AuthorDate: Tue Jul 22 08:48:24 2025 +0530
Fix supervisor to tasks view naviagation in the console (#18298)
With apache/druid#18082, the supervisor ID is no longer the same as the
datasource name, which breaks the navigation from the supervisors page to the
corresponding tasks view. To fix the broken filter during navigation, use the
groupId filter instead of datasource name when navigating from the supervisors
to tasks view.
---
web-console/src/console-application.tsx | 2 +-
web-console/src/views/supervisors-view/supervisors-view.tsx | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/web-console/src/console-application.tsx
b/web-console/src/console-application.tsx
index 1af1795b5e7..822429582c9 100644
--- a/web-console/src/console-application.tsx
+++ b/web-console/src/console-application.tsx
@@ -408,7 +408,7 @@ export class ConsoleApplication extends React.PureComponent<
goToDatasource={this.goToDatasources}
goToQuery={this.goToQuery}
goToStreamingDataLoader={this.goToStreamingDataLoader}
- goToTasks={this.goToTasksWithDatasource}
+ goToTasks={this.goToTasksWithTaskGroupId}
capabilities={capabilities}
/>,
);
diff --git a/web-console/src/views/supervisors-view/supervisors-view.tsx
b/web-console/src/views/supervisors-view/supervisors-view.tsx
index b4656d33471..4c28493f360 100644
--- a/web-console/src/views/supervisors-view/supervisors-view.tsx
+++ b/web-console/src/views/supervisors-view/supervisors-view.tsx
@@ -782,7 +782,10 @@ export class SupervisorsView extends React.PureComponent<
switch (supervisor.type) {
case 'kafka':
case 'kinesis':
- goToTasks(supervisor.supervisor_id, `index_${supervisor.type}`);
+ goToTasks(
+ `index_${supervisor.type}_${supervisor.supervisor_id}`,
+ `index_${supervisor.type}`,
+ );
return;
case 'autocompact':
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]