karafka-web 0.10.2 → 0.10.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +17 -0
  4. data/Gemfile.lock +12 -10
  5. data/config/locales/pro_errors.yml +7 -1
  6. data/docker-compose.yml +1 -1
  7. data/karafka-web.gemspec +8 -2
  8. data/lib/karafka/web/config.rb +6 -1
  9. data/lib/karafka/web/contracts/config.rb +1 -0
  10. data/lib/karafka/web/management/actions/create_topics.rb +1 -1
  11. data/lib/karafka/web/pro/commanding/commands/{probe.rb → trace.rb} +3 -3
  12. data/lib/karafka/web/pro/commanding/listener.rb +1 -1
  13. data/lib/karafka/web/pro/commanding/manager.rb +2 -2
  14. data/lib/karafka/web/pro/commanding.rb +1 -1
  15. data/lib/karafka/web/pro/loader.rb +23 -2
  16. data/lib/karafka/web/pro/ui/app.rb +12 -2
  17. data/lib/karafka/web/pro/ui/controllers/commanding_controller.rb +4 -4
  18. data/lib/karafka/web/pro/ui/controllers/routing_controller.rb +18 -1
  19. data/lib/karafka/web/pro/ui/controllers/scheduled_messages/messages_controller.rb +60 -0
  20. data/lib/karafka/web/pro/ui/lib/branding/config.rb +40 -0
  21. data/lib/karafka/web/pro/ui/lib/branding/contracts/config.rb +56 -0
  22. data/lib/karafka/web/pro/ui/lib/branding.rb +36 -0
  23. data/lib/karafka/web/pro/ui/views/commands/_command.erb +1 -1
  24. data/lib/karafka/web/pro/ui/views/consumers/_consumer_controls.erb +3 -3
  25. data/lib/karafka/web/pro/ui/views/consumers/consumer/_commands.erb +4 -4
  26. data/lib/karafka/web/pro/ui/views/recurring_tasks/_actions.erb +2 -2
  27. data/lib/karafka/web/pro/ui/views/routing/_consumer_group.erb +2 -0
  28. data/lib/karafka/web/pro/ui/views/routing/_topic.erb +10 -0
  29. data/lib/karafka/web/pro/ui/views/scheduled_messages/explorer/_key.erb +9 -0
  30. data/lib/karafka/web/pro/ui/views/scheduled_messages/explorer/_message.erb +51 -13
  31. data/lib/karafka/web/pro/ui/views/shared/_navigation.erb +20 -15
  32. data/lib/karafka/web/pro/ui/views/shared/branding/_label.erb +20 -0
  33. data/lib/karafka/web/pro/ui/views/shared/branding/_notice.erb +13 -0
  34. data/lib/karafka/web/tracking/consumers/listeners/errors.rb +38 -9
  35. data/lib/karafka/web/tracking/producers/reporter.rb +1 -8
  36. data/lib/karafka/web/ui/helpers/tailwind_helper.rb +5 -4
  37. data/lib/karafka/web/ui/public/javascripts/application.js +1 -0
  38. data/lib/karafka/web/ui/public/javascripts/application.min.js +4 -3
  39. data/lib/karafka/web/ui/public/javascripts/application.min.js.br +0 -0
  40. data/lib/karafka/web/ui/public/javascripts/application.min.js.gz +0 -0
  41. data/lib/karafka/web/ui/public/javascripts/components/btn_toggle_manager.js +31 -11
  42. data/lib/karafka/web/ui/public/stylesheets/application.css +21 -0
  43. data/lib/karafka/web/ui/public/stylesheets/application.min.css +2 -1
  44. data/lib/karafka/web/ui/public/stylesheets/application.min.css.br +0 -0
  45. data/lib/karafka/web/ui/public/stylesheets/application.min.css.gz +0 -0
  46. data/lib/karafka/web/ui/public/stylesheets/libs/tailwind.css +69 -2
  47. data/lib/karafka/web/ui/views/layout.erb +5 -2
  48. data/lib/karafka/web/ui/views/shared/_brand.erb +3 -2
  49. data/lib/karafka/web/ui/views/shared/_navigation.erb +19 -15
  50. data/lib/karafka/web/ui/views/shared/alerts/_error.erb +3 -1
  51. data/lib/karafka/web/ui/views/shared/alerts/_info.erb +1 -1
  52. data/lib/karafka/web/ui/views/shared/alerts/_primary.erb +3 -1
  53. data/lib/karafka/web/ui/views/shared/alerts/_secondary.erb +3 -1
  54. data/lib/karafka/web/ui/views/shared/alerts/_success.erb +3 -1
  55. data/lib/karafka/web/ui/views/shared/alerts/_warning.erb +3 -1
  56. data/lib/karafka/web/ui/views/shared/icons/_chevron.erb +4 -0
  57. data/lib/karafka/web/version.rb +1 -1
  58. data/lib/karafka/web.rb +6 -1
  59. data/package-lock.json +40 -35
  60. data.tar.gz.sig +0 -0
  61. metadata +13 -15
  62. metadata.gz.sig +0 -0
  63. data/.coditsu/ci.yml +0 -3
  64. data/.diffend.yml +0 -3
  65. data/.github/FUNDING.yml +0 -1
  66. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -50
  67. data/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  68. data/.github/workflows/ci.yml +0 -133
  69. data/.gitignore +0 -71
  70. data/.rspec +0 -1
  71. data/.ruby-gemset +0 -1
  72. data/.ruby-version +0 -1
@@ -47,6 +47,14 @@
47
47
  @apply rounded-md;
48
48
  }
49
49
 
50
+ .alert-primary {
51
+ @apply bg-primary border-primary;
52
+ }
53
+
54
+ .alert-secondary {
55
+ @apply bg-secondary border-secondary;
56
+ }
57
+
50
58
  .alert-box {
51
59
  @apply border rounded-md;
52
60
  }
@@ -99,8 +107,24 @@
99
107
  @apply bg-error;
100
108
  }
101
109
 
110
+ .alert-box-primary {
111
+ @apply border-primary
112
+ }
113
+
114
+ .alert-box-primary .alert-box-header {
115
+ @apply bg-primary;
116
+ }
117
+
118
+ .alert-box-secondary {
119
+ @apply border-secondary;
120
+ }
121
+
122
+ .alert-box-secondary .alert-box-header {
123
+ @apply bg-secondary;
124
+ }
125
+
102
126
  .sidebar-nav {
103
- @apply flex min-h-screen w-72 flex-col gap-2 overflow-y-auto bg-gray-800 text-white px-6 py-10;
127
+ @apply flex min-h-screen flex-col gap-2 overflow-y-auto bg-gray-800 text-white px-6 py-10;
104
128
  }
105
129
 
106
130
  .sidebar-nav-item {
@@ -237,7 +261,7 @@
237
261
 
238
262
  [data-theme="corporate"]
239
263
  .btn-info, .btn-primary, .btn-error, .btn-success,
240
- .alert-info, .alert-error, .alert-success,
264
+ .alert-info, .alert-error, .alert-success, .alert-primary, .alert-secondary,
241
265
  .badge-info, .badge-primary, .badge-error, .badge-success, .badge-secondary,
242
266
  .alert-box-info .alert-box-header, .alert-box-primary .alert-box-header,
243
267
  .alert-box-error .alert-box-header, .alert-box-success .alert-box-header,
@@ -396,6 +420,49 @@
396
420
  .drawer-side > *:not(.drawer-overlay) {
397
421
  transition-duration: 0ms;
398
422
  }
423
+
424
+ .sidebar-nav,
425
+ .drawer-side.collapsed:hover .sidebar-nav {
426
+ @apply w-72;
427
+ }
428
+
429
+ .drawer-side.collapsed .sidebar-nav {
430
+ @apply lg:w-auto;
431
+ }
432
+
433
+ .sidebar-nav-logo,
434
+ .drawer-side.collapsed:hover .sidebar-nav-logo,
435
+ .branding-label,
436
+ .drawer-side.collapsed:hover .branding-label {
437
+ @apply lg:block;
438
+ }
439
+
440
+ .branding-mark,
441
+ .drawer-side.collapsed:hover .branding-mark {
442
+ @apply hidden;
443
+ }
444
+
445
+ .drawer-side.collapsed .sidebar-nav-logo,
446
+ .drawer-side.collapsed .branding-label {
447
+ @apply lg:hidden;
448
+ }
449
+
450
+ .drawer-side.collapsed .branding-mark {
451
+ @apply lg:block;
452
+ }
453
+
454
+ .sidebar-nav-item-label,
455
+ .drawer-side.collapsed:hover .sidebar-nav-item-label {
456
+ @apply lg:inline;
457
+ }
458
+
459
+ .drawer-side.collapsed .sidebar-nav-item-label {
460
+ @apply lg:hidden;
461
+ }
462
+
463
+ .btn-toggle-nav-collapsed svg {
464
+ @apply my-2;
465
+ }
399
466
  }
400
467
 
401
468
  [data-theme="corporate"] .bg-base-200 {
@@ -10,7 +10,7 @@
10
10
  <body class="drawer min-h-screen lg:drawer-open bg-base-200">
11
11
  <input id="main-drawer" type="checkbox" class="drawer-toggle" />
12
12
 
13
- <aside class="drawer-side z-10">
13
+ <aside id="drawer-side" class="drawer-side z-10">
14
14
  <label for="main-drawer" class="drawer-overlay"></label>
15
15
 
16
16
  <%== partial 'shared/navigation' %>
@@ -20,8 +20,11 @@
20
20
  <div class="turbo-progress-bar"></div>
21
21
 
22
22
  <div class="grid-default lg:pb-0">
23
- <%== partial 'shared/become_pro' %>
23
+ <% if Karafka.pro? %>
24
+ <%== partial 'shared/branding/notice' %>
25
+ <% end %>
24
26
 
27
+ <%== partial 'shared/become_pro' %>
25
28
  <%== partial 'shared/breadcrumbs' %>
26
29
 
27
30
  <header class="col-span-12 flex items-center gap-2 lg:gap-4 mb-3">
@@ -1,3 +1,4 @@
1
- <a class="flex items-center ml-2 mb-2" href="<%= root_path %>">
2
- <img src="<%= asset_path('images/logo.svg') %>" alt="Karafka logo" height="20" width="95">
1
+ <a class="flex items-center ml-6" href="<%= root_path %>">
2
+ <img src="<%= asset_path('images/favicon.ico') %>" alt="Karafka icon" class="sidebar-nav-icon w-6 h-6">
3
+ <img src="<%= asset_path('images/logo.svg') %>" alt="Karafka logo" class="sidebar-nav-logo ml-2 w-auto h-4">
3
4
  </a>
@@ -1,14 +1,14 @@
1
1
  <nav class="sidebar-nav">
2
2
  <%== partial 'shared/brand' %>
3
3
 
4
- <ul class="menu">
4
+ <ul class="menu grow">
5
5
  <li>
6
6
  <a
7
7
  class="sidebar-nav-item <%= nav_class(start_with: '/dashboard') %>"
8
8
  href="<%= root_path('dashboard') %>"
9
9
  >
10
10
  <%== icon(:home) %>
11
- Dashboard
11
+ <span class="sidebar-nav-item-label">Dashboard</span>
12
12
  </a>
13
13
  </li>
14
14
 
@@ -18,7 +18,7 @@
18
18
  href="<%= root_path('consumers') %>"
19
19
  >
20
20
  <%== icon(:cpu) %>
21
- Consumers
21
+ <span class="sidebar-nav-item-label">Consumers</span>
22
22
  </a>
23
23
  </li>
24
24
 
@@ -28,7 +28,7 @@
28
28
  href="<%= root_path('jobs/running') %>"
29
29
  >
30
30
  <%== icon(:arrow_on_squares) %>
31
- Jobs
31
+ <span class="sidebar-nav-item-label">Jobs</span>
32
32
  </a>
33
33
  </li>
34
34
 
@@ -39,7 +39,7 @@
39
39
  title="Pro Feature"
40
40
  >
41
41
  <%== icon(:heart) %>
42
- Health
42
+ <span class="sidebar-nav-item-label">Health</span>
43
43
  </a>
44
44
  </li>
45
45
 
@@ -49,7 +49,7 @@
49
49
  href="<%= root_path('routing') %>"
50
50
  >
51
51
  <%== icon(:queue_list) %>
52
- Routing
52
+ <span class="sidebar-nav-item-label">Routing</span>
53
53
  </a>
54
54
  </li>
55
55
 
@@ -60,7 +60,7 @@
60
60
  title="Pro Feature"
61
61
  >
62
62
  <%== icon(:document_glass) %>
63
- Explorer
63
+ <span class="sidebar-nav-item-label">Explorer</span>
64
64
  </a>
65
65
  </li>
66
66
 
@@ -71,7 +71,7 @@
71
71
  title="Pro Feature"
72
72
  >
73
73
  <%== icon(:arrow_path_rounded) %>
74
- Cron
74
+ <span class="sidebar-nav-item-label">Cron</span>
75
75
  </a>
76
76
  </li>
77
77
 
@@ -81,7 +81,7 @@
81
81
  href="<%= root_path('scheduled_messages') %>"
82
82
  >
83
83
  <%== icon(:calendar) %>
84
- Schedules
84
+ <span class="sidebar-nav-item-label">Schedules</span>
85
85
  </a>
86
86
  </li>
87
87
 
@@ -91,7 +91,7 @@
91
91
  href="<%= root_path('errors') %>"
92
92
  >
93
93
  <%== icon(:bug) %>
94
- Errors
94
+ <span class="sidebar-nav-item-label">Errors</span>
95
95
  </a>
96
96
  </li>
97
97
 
@@ -102,7 +102,7 @@
102
102
  title="Pro Feature"
103
103
  >
104
104
  <%== icon(:x_circle) %>
105
- Dead
105
+ <span class="sidebar-nav-item-label">Dead</span>
106
106
  </a>
107
107
  </li>
108
108
 
@@ -112,7 +112,7 @@
112
112
  href="<%= root_path('cluster') %>"
113
113
  >
114
114
  <%== icon(:blocks) %>
115
- Cluster
115
+ <span class="sidebar-nav-item-label">Cluster</span>
116
116
  </a>
117
117
  </li>
118
118
 
@@ -123,7 +123,7 @@
123
123
  title="Pro Feature"
124
124
  >
125
125
  <%== icon(:list_bullets) %>
126
- Topics
126
+ <span class="sidebar-nav-item-label">Topics</span>
127
127
  </a>
128
128
  </li>
129
129
 
@@ -133,7 +133,7 @@
133
133
  href="<%= root_path('status') %>"
134
134
  >
135
135
  <%== icon(:check_badge) %>
136
- Status
136
+ <span class="sidebar-nav-item-label">Status</span>
137
137
  </a>
138
138
  </li>
139
139
 
@@ -143,8 +143,12 @@
143
143
  href="<%= root_path('support') %>"
144
144
  >
145
145
  <%== icon(:lifebuoy) %>
146
- Support
146
+ <span class="sidebar-nav-item-label">Support</span>
147
147
  </a>
148
148
  </li>
149
149
  </ul>
150
+
151
+ <button type="button" class="btn-toggle-nav-collapsed grid gap-2 grid-flow-col items-center justify-start ml-6 text-sm invisible lg:visible" data-toggle-target="drawer-side">
152
+ <%== icon(:chevron) %>
153
+ </button>
150
154
  </nav>
@@ -1,4 +1,6 @@
1
1
  <div class="alert alert-error" role="alert">
2
2
  <%== icon :x_circle %>
3
- <%= message %>
3
+ <span>
4
+ <%== message %>
5
+ </span>
4
6
  </div>
@@ -1,6 +1,6 @@
1
1
  <div class="alert alert-info">
2
2
  <%== icon :info_circle %>
3
3
  <span>
4
- <%= message %>
4
+ <%== message %>
5
5
  </span>
6
6
  </div>
@@ -1,4 +1,6 @@
1
1
  <div role="alert" class="alert alert-primary">
2
2
  <%== icon(:info_circle) %>
3
- <span><%= message %></span>
3
+ <span>
4
+ <%== message %>
5
+ </span>
4
6
  </div>
@@ -1,4 +1,6 @@
1
1
  <div role="alert" class="alert alert-secondary">
2
2
  <%== icon(:pause_circle) %>
3
- <span><%= message %></span>
3
+ <span>
4
+ <%== message %>
5
+ </span>
4
6
  </div>
@@ -1,4 +1,6 @@
1
1
  <div role="alert" class="alert alert-success">
2
2
  <%== icon(:check_circle) %>
3
- <span><%= message %></span>
3
+ <span>
4
+ <%== message %>
5
+ </span>
4
6
  </div>
@@ -1,4 +1,6 @@
1
1
  <div class="alert alert-warning" role="alert">
2
2
  <%== icon :exclamation_triangle %>
3
- <%= message %>
3
+ <span>
4
+ <%== message %>
5
+ </span>
4
6
  </div>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" stroke-width="0.5" stroke="currentColor" class="size-4">
2
+ <path d="M8.707 8l5.797 5.796-.707.708L7.293 8l6.504-6.504.707.708L8.707 8z" />
3
+ <path d="M2.93 8l5.796 5.796-.707.708L1.516 8l6.503-6.504.707.708L2.93 8z" />
4
+ </svg>
@@ -3,6 +3,6 @@
3
3
  module Karafka
4
4
  module Web
5
5
  # Current gem version
6
- VERSION = '0.10.2'
6
+ VERSION = '0.10.4'
7
7
  end
8
8
  end
data/lib/karafka/web.rb CHANGED
@@ -30,7 +30,12 @@ module Karafka
30
30
  # Sets up the whole configuration
31
31
  # @param [Block] block configuration block
32
32
  def setup(&block)
33
- Pro::Loader.pre_setup_all(config) if Karafka.pro?
33
+ if Karafka.pro?
34
+ require_relative 'web/pro/loader'
35
+
36
+ Pro::Loader.load_on_late_setup
37
+ Pro::Loader.pre_setup_all(config)
38
+ end
34
39
 
35
40
  Config.configure(&block)
36
41
 
data/package-lock.json CHANGED
@@ -978,10 +978,11 @@
978
978
  }
979
979
  },
980
980
  "node_modules/daisyui": {
981
- "version": "4.12.10",
982
- "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-4.12.10.tgz",
983
- "integrity": "sha512-jp1RAuzbHhGdXmn957Z2XsTZStXGHzFfF0FgIOZj3Wv9sH7OZgLfXTRZNfKVYxltGUOBsG1kbWAdF5SrqjebvA==",
981
+ "version": "4.12.14",
982
+ "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-4.12.14.tgz",
983
+ "integrity": "sha512-hA27cdBasdwd4/iEjn+aidoCrRroDuo3G5W9NDKaVCJI437Mm/3eSL/2u7MkZ0pt8a+TrYF3aT2pFVemTS3how==",
984
984
  "dev": true,
985
+ "license": "MIT",
985
986
  "dependencies": {
986
987
  "css-selector-tokenizer": "^0.8",
987
988
  "culori": "^3",
@@ -2376,10 +2377,11 @@
2376
2377
  }
2377
2378
  },
2378
2379
  "node_modules/micromatch": {
2379
- "version": "4.0.7",
2380
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz",
2381
- "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==",
2380
+ "version": "4.0.8",
2381
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
2382
+ "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
2382
2383
  "dev": true,
2384
+ "license": "MIT",
2383
2385
  "dependencies": {
2384
2386
  "braces": "^3.0.3",
2385
2387
  "picomatch": "^2.3.1"
@@ -2646,10 +2648,11 @@
2646
2648
  }
2647
2649
  },
2648
2650
  "node_modules/picocolors": {
2649
- "version": "1.0.1",
2650
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz",
2651
- "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==",
2652
- "dev": true
2651
+ "version": "1.1.1",
2652
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
2653
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
2654
+ "dev": true,
2655
+ "license": "ISC"
2653
2656
  },
2654
2657
  "node_modules/picomatch": {
2655
2658
  "version": "2.3.1",
@@ -2697,9 +2700,9 @@
2697
2700
  }
2698
2701
  },
2699
2702
  "node_modules/postcss": {
2700
- "version": "8.4.41",
2701
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.41.tgz",
2702
- "integrity": "sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==",
2703
+ "version": "8.4.49",
2704
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz",
2705
+ "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==",
2703
2706
  "dev": true,
2704
2707
  "funding": [
2705
2708
  {
@@ -2718,8 +2721,8 @@
2718
2721
  "license": "MIT",
2719
2722
  "dependencies": {
2720
2723
  "nanoid": "^3.3.7",
2721
- "picocolors": "^1.0.1",
2722
- "source-map-js": "^1.2.0"
2724
+ "picocolors": "^1.1.1",
2725
+ "source-map-js": "^1.2.1"
2723
2726
  },
2724
2727
  "engines": {
2725
2728
  "node": "^10 || ^12 || >=14"
@@ -2881,10 +2884,11 @@
2881
2884
  }
2882
2885
  },
2883
2886
  "node_modules/postcss-selector-parser": {
2884
- "version": "6.1.1",
2885
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.1.tgz",
2886
- "integrity": "sha512-b4dlw/9V8A71rLIDsSwVmak9z2DuBUB7CA1/wSdelNEzqsjoSPeADTWNO09lpH49Diy3/JIZ2bSPB1dI3LJCHg==",
2887
+ "version": "6.1.2",
2888
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz",
2889
+ "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==",
2887
2890
  "dev": true,
2891
+ "license": "MIT",
2888
2892
  "dependencies": {
2889
2893
  "cssesc": "^3.0.0",
2890
2894
  "util-deprecate": "^1.0.2"
@@ -3205,10 +3209,11 @@
3205
3209
  }
3206
3210
  },
3207
3211
  "node_modules/source-map-js": {
3208
- "version": "1.2.0",
3209
- "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz",
3210
- "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==",
3212
+ "version": "1.2.1",
3213
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
3214
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
3211
3215
  "dev": true,
3216
+ "license": "BSD-3-Clause",
3212
3217
  "engines": {
3213
3218
  "node": ">=0.10.0"
3214
3219
  }
@@ -3438,34 +3443,34 @@
3438
3443
  }
3439
3444
  },
3440
3445
  "node_modules/tailwindcss": {
3441
- "version": "3.4.10",
3442
- "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.10.tgz",
3443
- "integrity": "sha512-KWZkVPm7yJRhdu4SRSl9d4AK2wM3a50UsvgHZO7xY77NQr2V+fIrEuoDGQcbvswWvFGbS2f6e+jC/6WJm1Dl0w==",
3446
+ "version": "3.4.15",
3447
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.15.tgz",
3448
+ "integrity": "sha512-r4MeXnfBmSOuKUWmXe6h2CcyfzJCEk4F0pptO5jlnYSIViUkVmsawj80N5h2lO3gwcmSb4n3PuN+e+GC1Guylw==",
3444
3449
  "dev": true,
3445
3450
  "license": "MIT",
3446
3451
  "dependencies": {
3447
3452
  "@alloc/quick-lru": "^5.2.0",
3448
3453
  "arg": "^5.0.2",
3449
- "chokidar": "^3.5.3",
3454
+ "chokidar": "^3.6.0",
3450
3455
  "didyoumean": "^1.2.2",
3451
3456
  "dlv": "^1.1.3",
3452
- "fast-glob": "^3.3.0",
3457
+ "fast-glob": "^3.3.2",
3453
3458
  "glob-parent": "^6.0.2",
3454
3459
  "is-glob": "^4.0.3",
3455
- "jiti": "^1.21.0",
3460
+ "jiti": "^1.21.6",
3456
3461
  "lilconfig": "^2.1.0",
3457
- "micromatch": "^4.0.5",
3462
+ "micromatch": "^4.0.8",
3458
3463
  "normalize-path": "^3.0.0",
3459
3464
  "object-hash": "^3.0.0",
3460
- "picocolors": "^1.0.0",
3461
- "postcss": "^8.4.23",
3465
+ "picocolors": "^1.1.1",
3466
+ "postcss": "^8.4.47",
3462
3467
  "postcss-import": "^15.1.0",
3463
3468
  "postcss-js": "^4.0.1",
3464
- "postcss-load-config": "^4.0.1",
3465
- "postcss-nested": "^6.0.1",
3466
- "postcss-selector-parser": "^6.0.11",
3467
- "resolve": "^1.22.2",
3468
- "sucrase": "^3.32.0"
3469
+ "postcss-load-config": "^4.0.2",
3470
+ "postcss-nested": "^6.2.0",
3471
+ "postcss-selector-parser": "^6.1.2",
3472
+ "resolve": "^1.22.8",
3473
+ "sucrase": "^3.35.0"
3469
3474
  },
3470
3475
  "bin": {
3471
3476
  "tailwind": "lib/cli.js",
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: karafka-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.10.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -35,7 +35,7 @@ cert_chain:
35
35
  i9zWxov0mr44TWegTVeypcWGd/0nxu1+QHVNHJrpqlPBRvwQsUm7fwmRInGpcaB8
36
36
  ap8wNYvryYzrzvzUxIVFBVM5PacgkFqRmolCa8I7tdKQN+R1
37
37
  -----END CERTIFICATE-----
38
- date: 2024-09-03 00:00:00.000000000 Z
38
+ date: 2024-11-26 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: erubi
@@ -147,16 +147,6 @@ executables:
147
147
  extensions: []
148
148
  extra_rdoc_files: []
149
149
  files:
150
- - ".coditsu/ci.yml"
151
- - ".diffend.yml"
152
- - ".github/FUNDING.yml"
153
- - ".github/ISSUE_TEMPLATE/bug_report.md"
154
- - ".github/ISSUE_TEMPLATE/feature_request.md"
155
- - ".github/workflows/ci.yml"
156
- - ".gitignore"
157
- - ".rspec"
158
- - ".ruby-gemset"
159
- - ".ruby-version"
160
150
  - CHANGELOG.md
161
151
  - CODE_OF_CONDUCT.md
162
152
  - Gemfile
@@ -219,9 +209,9 @@ files:
219
209
  - lib/karafka/web/management/migrator.rb
220
210
  - lib/karafka/web/pro/commanding.rb
221
211
  - lib/karafka/web/pro/commanding/commands/base.rb
222
- - lib/karafka/web/pro/commanding/commands/probe.rb
223
212
  - lib/karafka/web/pro/commanding/commands/quiet.rb
224
213
  - lib/karafka/web/pro/commanding/commands/stop.rb
214
+ - lib/karafka/web/pro/commanding/commands/trace.rb
225
215
  - lib/karafka/web/pro/commanding/config.rb
226
216
  - lib/karafka/web/pro/commanding/contracts/config.rb
227
217
  - lib/karafka/web/pro/commanding/dispatcher.rb
@@ -246,12 +236,16 @@ files:
246
236
  - lib/karafka/web/pro/ui/controllers/routing_controller.rb
247
237
  - lib/karafka/web/pro/ui/controllers/scheduled_messages/base_controller.rb
248
238
  - lib/karafka/web/pro/ui/controllers/scheduled_messages/explorer_controller.rb
239
+ - lib/karafka/web/pro/ui/controllers/scheduled_messages/messages_controller.rb
249
240
  - lib/karafka/web/pro/ui/controllers/scheduled_messages/schedules_controller.rb
250
241
  - lib/karafka/web/pro/ui/controllers/search_controller.rb
251
242
  - lib/karafka/web/pro/ui/controllers/status_controller.rb
252
243
  - lib/karafka/web/pro/ui/controllers/support_controller.rb
253
244
  - lib/karafka/web/pro/ui/controllers/topics_controller.rb
254
245
  - lib/karafka/web/pro/ui/controllers/ux_controller.rb
246
+ - lib/karafka/web/pro/ui/lib/branding.rb
247
+ - lib/karafka/web/pro/ui/lib/branding/config.rb
248
+ - lib/karafka/web/pro/ui/lib/branding/contracts/config.rb
255
249
  - lib/karafka/web/pro/ui/lib/patterns_detector.rb
256
250
  - lib/karafka/web/pro/ui/lib/policies.rb
257
251
  - lib/karafka/web/pro/ui/lib/policies/config.rb
@@ -377,6 +371,7 @@ files:
377
371
  - lib/karafka/web/pro/ui/views/routing/index.erb
378
372
  - lib/karafka/web/pro/ui/views/routing/show.erb
379
373
  - lib/karafka/web/pro/ui/views/scheduled_messages/explorer/_breadcrumbs.erb
374
+ - lib/karafka/web/pro/ui/views/scheduled_messages/explorer/_key.erb
380
375
  - lib/karafka/web/pro/ui/views/scheduled_messages/explorer/_message.erb
381
376
  - lib/karafka/web/pro/ui/views/scheduled_messages/explorer/_messages.erb
382
377
  - lib/karafka/web/pro/ui/views/scheduled_messages/explorer/partition.erb
@@ -395,6 +390,8 @@ files:
395
390
  - lib/karafka/web/pro/ui/views/search/_timeout.erb
396
391
  - lib/karafka/web/pro/ui/views/search/index.erb
397
392
  - lib/karafka/web/pro/ui/views/shared/_navigation.erb
393
+ - lib/karafka/web/pro/ui/views/shared/branding/_label.erb
394
+ - lib/karafka/web/pro/ui/views/shared/branding/_notice.erb
398
395
  - lib/karafka/web/pro/ui/views/topics/_breadcrumbs.erb
399
396
  - lib/karafka/web/pro/ui/views/topics/_partition.erb
400
397
  - lib/karafka/web/pro/ui/views/topics/_partition_offsets.erb
@@ -634,6 +631,7 @@ files:
634
631
  - lib/karafka/web/ui/views/shared/icons/_check.erb
635
632
  - lib/karafka/web/ui/views/shared/icons/_check_badge.erb
636
633
  - lib/karafka/web/ui/views/shared/icons/_check_circle.erb
634
+ - lib/karafka/web/ui/views/shared/icons/_chevron.erb
637
635
  - lib/karafka/web/ui/views/shared/icons/_circle_stack.erb
638
636
  - lib/karafka/web/ui/views/shared/icons/_cpu.erb
639
637
  - lib/karafka/web/ui/views/shared/icons/_document_glass.erb
@@ -735,14 +733,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
735
733
  requirements:
736
734
  - - ">="
737
735
  - !ruby/object:Gem::Version
738
- version: 3.0.0
736
+ version: 3.1.0
739
737
  required_rubygems_version: !ruby/object:Gem::Requirement
740
738
  requirements:
741
739
  - - ">="
742
740
  - !ruby/object:Gem::Version
743
741
  version: '0'
744
742
  requirements: []
745
- rubygems_version: 3.5.16
743
+ rubygems_version: 3.5.22
746
744
  signing_key:
747
745
  specification_version: 4
748
746
  summary: Karafka ecosystem Web UI interface
metadata.gz.sig CHANGED
Binary file
data/.coditsu/ci.yml DELETED
@@ -1,3 +0,0 @@
1
- repository_id: '1f6176a1-ea6b-4927-96e5-a6bea52dbab9'
2
- api_key: <%= ENV['CODITSU_API_KEY'] %>
3
- api_secret: <%= ENV['CODITSU_API_SECRET'] %>
data/.diffend.yml DELETED
@@ -1,3 +0,0 @@
1
- project_id: 'b06f89cd-51df-4ccb-96b3-a48f010f64b5'
2
- shareable_id: 'b0e304f8-fc9c-4eac-bb1e-b076c8d05100'
3
- shareable_key: 'a695a444-1509-470e-9e62-96479c3efd8b'
data/.github/FUNDING.yml DELETED
@@ -1 +0,0 @@
1
- custom: ['https://karafka.io/#become-pro']