Skip to main content

Introducing the Column Configuration System

ยท 4 min read
wikczerski
Development Team

We're excited to announce the release of WhaleTUI's comprehensive column configuration system! This powerful new feature gives you complete control over how data is displayed in all table views, making your Docker management experience more efficient and personalized.

What's Newโ€‹

The column configuration system introduces several key features that transform how you interact with WhaleTUI's table views:

๐ŸŽฏ Percentage-Based Column Widthsโ€‹

Set column widths as percentages of your terminal width for responsive layouts that adapt to any screen size.

tableLimits:
views:
containers:
columns:
name:
width_percent: 40
min_width: 20
max_width: 60

๐Ÿ“Š Intelligent Alignmentโ€‹

Right-align numerical data for better readability and comparison:

columns:
size:
alignment: "right" # Perfect for comparing image sizes
created:
alignment: "right" # Great for timestamp scanning

๐Ÿ‘๏ธ Column Visibility Controlโ€‹

Show or hide columns based on your workflow needs:

views:
containers:
columns:
id:
visible: false # Hide ID column for cleaner view

๐Ÿท๏ธ Custom Display Namesโ€‹

Set meaningful column headers:

columns:
id:
display_name: "Container ID"
name:
display_name: "Container Name"

Per-View Configurationsโ€‹

Each view type now supports independent column configurations, allowing you to optimize the display for different data types:

  • Containers: 7 configurable columns (ID, Name, Image, Status, State, Ports, Created)
  • Images: 5 configurable columns (ID, Repository, Tag, Size, Created)
  • Volumes: 5 configurable columns (Name, Driver, Mount Point, Created, Size)
  • Networks: 7 configurable columns (ID, Name, Driver, Scope, Created, Subnet, Gateway)
  • Swarm Nodes: 6 configurable columns (ID, Name, Status, Availability, Role, Engine)
  • Swarm Services: 5 configurable columns (ID, Name, Mode, Replicas, Image)

Real-World Benefitsโ€‹

Better Readabilityโ€‹

Right-aligned numerical data makes it easier to:

  • Compare container sizes across multiple images
  • Scan through port numbers consistently
  • Analyze timestamp patterns in logs
  • Review resource usage statistics

Responsive Designโ€‹

Percentage-based widths ensure your interface looks great on any terminal size:

  • Small terminals: Columns remain readable with minimum width constraints
  • Large terminals: Columns don't become excessively wide with maximum width limits
  • Dynamic sizing: Layouts adapt automatically to terminal resizing

Workflow Optimizationโ€‹

Customize views for your specific use cases:

  • Development: Focus on container names and status
  • Production: Emphasize resource usage and health status
  • Network Admin: Highlight network details and configurations

Configuration Examplesโ€‹

Development Workflowโ€‹

tableLimits:
views:
containers:
columns:
id:
visible: false # Hide IDs for cleaner view
name:
width_percent: 50
display_name: "Container"
status:
width_percent: 25
alignment: "right"
ports:
width_percent: 25

Production Monitoringโ€‹

tableLimits:
views:
containers:
columns:
name:
width_percent: 35
display_name: "Container"
status:
width_percent: 20
alignment: "right"
created:
width_percent: 20
alignment: "right"
ports:
width_percent: 25

Getting Startedโ€‹

  1. Update to the latest version of WhaleTUI
  2. Edit your theme file (dark-theme.yaml or dark-theme.json)
  3. Add column configurations under the tableLimits section
  4. Restart WhaleTUI to apply changes

For detailed configuration options and examples, check out our Column Configuration Guide and Configuration Examples.

Backward Compatibilityโ€‹

Existing configurations continue to work without any changes. The new system is designed to enhance your current setup while maintaining full backward compatibility.

What's Nextโ€‹

This column configuration system is just the beginning. We're planning additional customization features including:

  • Custom column data sources for additional information display
  • Column sorting and filtering options
  • Saved configuration presets for different workflows
  • Theme-specific column configurations

Feedback and Contributionsโ€‹

We'd love to hear your feedback on this new feature! Try it out and let us know:

  • How you're using the column configurations
  • What additional features would be helpful
  • Any issues or suggestions for improvement

Visit our GitHub repository to report issues, request features, or contribute to the project.


The column configuration system represents a significant step forward in making WhaleTUI more customizable and user-friendly. We're excited to see how you'll use these new features to optimize your Docker management workflow!

Happy container management! ๐Ÿณ