mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-26 19:05:52 +03:00
[GH-ISSUE #265] Widget: heat map #142
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#142
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?
Originally created by @fgksgf on GitHub (Nov 16, 2020).
Original GitHub issue: https://github.com/mum4k/termdash/issues/265
Hello, I implemented a heat map widget with termdash in SkyWalking-CLI, like this:

I want to contribute it back recently, but I need some time to polish code to make it more general. I think the format of input data should be
[['xlabel', 'ylabel', value],...], how about you ?If you have any advice about the widget, please let me know :)
@mum4k commented on GitHub (Nov 17, 2020):
Hi @fgksgf, that heat map widget looks great! If you are willing to contribute it, this would certainly be a good addition to
termdash.I will be more than happy to help you with design of the API and code cleanup. It is hard for me to answer questions or provide a suggestions without more context though. My suggestion would be to start by sending a PR with the API only. That is just the function definitions and their comments without any implementations. That would help me to understand the proposed structure and would allow us to discuss the widget's design. Here is an example of what I mean by sending just function's definition and comment without implementation:
We could do this for all the functions and options that widget will have and then follow up with a second PR that will contain the implementation. Does this work for you?
@fgksgf commented on GitHub (Nov 17, 2020):
No problem, I will do this.
Thanks for your reply.
@mum4k commented on GitHub (Nov 17, 2020):
Great, thank you for your help!