Commit d371e3e
Improved Log Management in the TUI (#71)
* Splitted TUI
Split the TUI into focused files so pkg/tui/app.go is now mostly the UI wiring/entrypoint while helpers live alongside it:
+ pkg/tui/state.go holds constants/enums and uiState/bucket object structs; formatters.go and table_helpers.go hold pure helpers.
+ View/controller logic now lives in services_view.go, buckets_view.go, and bucket_objects.go;
+ cross-cutting UI helpers went to dialogs.go, search.go, and auto_refresh.go.
+ app.go cleaned up accordingly, with redundant definitions removed and imports trimmed.
* Improved search functionality
+ Implemented support for search via "/" across Services, Buckets, Clusters and Details panels, including substrings.
* Improved log management in the TUI
---------
Co-authored-by: SergioLangaritaBenitez <[email protected]>1 parent 943cb8c commit d371e3e
File tree
6 files changed
+529
-83
lines changed- pkg/tui
6 files changed
+529
-83
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
180 | 195 | | |
181 | 196 | | |
182 | 197 | | |
| |||
217 | 232 | | |
218 | 233 | | |
219 | 234 | | |
220 | | - | |
| 235 | + | |
221 | 236 | | |
222 | 237 | | |
223 | 238 | | |
224 | 239 | | |
225 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
226 | 247 | | |
227 | 248 | | |
228 | 249 | | |
229 | | - | |
| 250 | + | |
230 | 251 | | |
231 | 252 | | |
232 | 253 | | |
| |||
303 | 324 | | |
304 | 325 | | |
305 | 326 | | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
306 | 335 | | |
307 | 336 | | |
308 | 337 | | |
| |||
355 | 384 | | |
356 | 385 | | |
357 | 386 | | |
| 387 | + | |
| 388 | + | |
358 | 389 | | |
359 | 390 | | |
360 | 391 | | |
| |||
390 | 421 | | |
391 | 422 | | |
392 | 423 | | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
393 | 431 | | |
394 | 432 | | |
395 | 433 | | |
| |||
433 | 471 | | |
434 | 472 | | |
435 | 473 | | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
436 | 478 | | |
437 | 479 | | |
438 | 480 | | |
| |||
0 commit comments