Header styling and add footer support#18
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds footer support to the ConsoleTable library and updates header styling to use a double-line border separator. The version is being bumped from 1.0.3 to 2.0.0 to reflect these breaking visual changes.
Key changes:
- Added footer functionality with customizable alignment (similar to existing headers/rows)
- Updated header styling to use double-line (═) border instead of single-line (─)
- Refactored table rendering logic to handle headers, rows, and footers separately
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| ConsoleTable.Text/Table.cs | Adds Footers property, FooterTextAlignmentRight property, SetFooters() method, and refactors ToTable() to render headers/rows/footers separately with different border styles |
| ConsoleTable.Text/TableDrawing.cs | Adds constants for double-line header borders and empty space character |
| ConsoleTable.Text/ConsoleTable.Text.csproj | Updates version to 2.0.0, improves package description and tags |
| Tests/ConsoleTable.Text.Tests/TableTests.cs | Reorganizes tests into regions, adds comprehensive footer tests, and updates existing tests to verify footer functionality |
| README.md | Updates documentation with footer examples, new API properties/methods, and version references |
| ConsoleTable.Text.Examples/Program.cs | Adds footer examples and demonstrates new styling options |
| ChangeLogs/2.0.0-ChangeLog.md | Documents new features and breaking changes for version 2.0.0 |
| ConsoleTable.slnx | Adds reference to new changelog file |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.