Skip to content

Commit

Permalink
reorganization of drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
mensfeld committed Sep 13, 2023
1 parent b388c25 commit 21722ff
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
- [Improvement] Link `counters` counter to jobs page.
- [Improvement] Include a sticky footer with the most important links and copyrights.
- [Improvement] Store lag in counters for performance improvement and historical metrics.
- [Improvement] Move top navbar content to the left to gain space for new features.
- [Improvement] Introduce in-memory cluster state cached to improve performance.
- [Improvement] Switch to offset based pagination instead of per-page pagination.
- [Improvement] Avoid double-reading of watermark offsets for explorer and errors display.
Expand Down
10 changes: 6 additions & 4 deletions lib/karafka/web/ui/pro/views/routing/_consumer_group.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@
</tr>
</thead>
<tbody>
<% consumer_group.subscription_groups.each do |subscription_group| %>
<% consumer_group.topics.each do |topic| %>
<%==
each_partial(
subscription_group.topics,
partial(
'routing/topic',
locals: { subscription_group: subscription_group }
locals: {
subscription_group: topic.subscription_group,
topic: topic
}
)
%>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion lib/karafka/web/ui/pro/views/routing/_topic.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<tr>
<td>
<%= subscription_group.id %>
<%= subscription_group %>
</td>
<td>
<%= topic.name %>
Expand Down
10 changes: 6 additions & 4 deletions lib/karafka/web/ui/views/routing/_consumer_group.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@
</tr>
</thead>
<tbody>
<% consumer_group.subscription_groups.each do |subscription_group| %>
<% consumer_group.topics.each do |topic| %>
<%==
each_partial(
subscription_group.topics,
partial(
'routing/topic',
locals: { subscription_group: subscription_group }
locals: {
subscription_group: topic.subscription_group,
topic: topic
}
)
%>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion lib/karafka/web/ui/views/routing/_topic.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<tr>
<td>
<%= subscription_group.id %>
<%= subscription_group %>
</td>
<td>
<%= topic.name %>
Expand Down

0 comments on commit 21722ff

Please sign in to comment.