kaskade 2.3.0__tar.gz → 2.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kaskade
3
- Version: 2.3.0
3
+ Version: 2.3.2
4
4
  Summary: kaskade is a terminal user interface for kafka
5
5
  Home-page: https://github.com/sauljabin/kaskade
6
6
  License: MIT
@@ -425,13 +425,16 @@ class ListTopics(Container):
425
425
  return
426
426
 
427
427
  topic_configs = self.topic_service.get_configs(self.current_topic.name)
428
+ min_insync_replicas = topic_configs.get(MIN_INSYNC_REPLICAS_CONFIG)
429
+ cleanup_policy = topic_configs.get(CLEANUP_POLICY_CONFIG)
430
+ retention = topic_configs.get(RETENTION_MS_CONFIG)
428
431
 
429
432
  edit_topic_screen = EditTopicScreen(
430
433
  self.current_topic.name,
431
434
  str(self.current_topic.partitions_count()),
432
- topic_configs[MIN_INSYNC_REPLICAS_CONFIG],
433
- topic_configs[CLEANUP_POLICY_CONFIG],
434
- topic_configs[RETENTION_MS_CONFIG],
435
+ min_insync_replicas if min_insync_replicas else "",
436
+ cleanup_policy if cleanup_policy else "",
437
+ retention if retention else "",
435
438
  )
436
439
 
437
440
  async def on_dismiss(result: bool) -> None:
@@ -141,6 +141,7 @@ CreateTopicScreen > Container > Input:focus {
141
141
  CreateTopicScreen > Container > RadioSet {
142
142
  border: solid $kaskade-green 50%;
143
143
  width: 100%;
144
+ background: $surface;
144
145
  }
145
146
 
146
147
  CreateTopicScreen > Container > RadioSet:focus {
@@ -188,6 +189,7 @@ EditTopicScreen > Container > Input:focus {
188
189
  EditTopicScreen > Container > RadioSet {
189
190
  border: solid $kaskade-green 50%;
190
191
  width: 100%;
192
+ background: $surface;
191
193
  }
192
194
 
193
195
  EditTopicScreen > Container > RadioSet:focus {
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "kaskade"
3
- version = "2.3.0"
3
+ version = "2.3.2"
4
4
  description = "kaskade is a terminal user interface for kafka"
5
5
  authors = ["Saúl Piña <sauljabin@gmail.com>"]
6
6
  license = "MIT"
@@ -38,6 +38,7 @@ types-attrs = "*"
38
38
  types-protobuf = "*"
39
39
  changeloggh = "*"
40
40
  textual-dev = "*"
41
+ typos = "*"
41
42
 
42
43
  [build-system]
43
44
  requires = ["poetry-core>=1.0.0"]
@@ -49,5 +50,9 @@ line-length = 100
49
50
  [tool.ruff]
50
51
  line-length = 100
51
52
 
53
+ [tool.typos]
54
+ type.lock.extend-glob = ["*.lock"]
55
+ type.lock.check-file = true
56
+
52
57
  [tool.poetry.scripts]
53
58
  kaskade = "kaskade.main:cli"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes