mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[PR #203] [CLOSED] Implementing the Table widget. #253
Labels
No labels
bug
cleanup
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termdash#253
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mum4k/termdash/pull/203
Author: @mum4k
Created: 5/4/2019
Status: ❌ Closed
Base:
devel← Head:table📝 Commits (10+)
98cd828Defining API for the Table widget.795d92bCleaning the examples.b11eb11Merge branch 'devel' into tabled47c6cfAdding options for text trimming.ad40f75Drafting validation for table.381abeeMore validation.effca07Finalizing the option validation.2fc4ffcAdding licences.e36e1d7POC code that determines column widths.a5fc072Memoization for columnWidths.📊 Changes
23 files changed (+3397 additions, -5 deletions)
View changed files
📝
cell/cell.go(+6 -0)📝
cell/cell_test.go(+11 -5)📝
internal/canvas/buffer/buffer.go(+10 -0)📝
internal/canvas/buffer/buffer_test.go(+32 -0)📝
internal/numbers/numbers.go(+9 -0)📝
internal/numbers/numbers_test.go(+40 -0)➕
widgets/table/content.go(+276 -0)➕
widgets/table/content_cell.go(+220 -0)➕
widgets/table/content_cell_test.go(+84 -0)➕
widgets/table/content_data.go(+103 -0)➕
widgets/table/content_row.go(+227 -0)➕
widgets/table/content_test.go(+359 -0)➕
widgets/table/content_validate.go(+84 -0)➕
widgets/table/hierarchical.go(+134 -0)➕
widgets/table/hierarchical_test.go(+340 -0)➕
widgets/table/layout.go(+77 -0)➕
widgets/table/layout_test.go(+83 -0)➕
widgets/table/layout_widths.go(+278 -0)➕
widgets/table/layout_widths_test.go(+595 -0)➕
widgets/table/options.go(+126 -0)...and 3 more files
📄 Description
Fixes #5.
Steps:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.