Skip to content

Conversation

@JamesHollyer
Copy link
Contributor

@JamesHollyer JamesHollyer commented Jun 14, 2023

Motivation for features / changes

In #6422 we started projecting the header components into the data table widget. However, the content was still not projected and the color column was hard coded in. Therefore we left a hard coded color header. The content started being projected in #6427. Therefore we can stop hardcoding this color column. This PR removes the hardcoded header column and starts adding it from the ScalarCardDataTable

Technical description of changes

The color header cannot be sorted, dismissed, or dragged. There was some logic in place for this. However, it was incomplete. This completes that logic and uses it for the color header. We also add tests for that logic which were not in place before.

Note: I did some test clean up in the HeaderCell

Screenshot of changes

It still works.
Screenshot 2023-06-15 at 5 41 33 AM
ComponentTests for consistency.

@JamesHollyer JamesHollyer requested a review from rileyajones June 14, 2023 23:53
Copy link
Contributor

@rileyajones rileyajones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code here looks fine, but it would be really nice to have a screenshot associated with this PR to show that it still works.

Co-authored-by: Riley Jones <78179109+rileyajones@users.noreply.github.com>
@JamesHollyer JamesHollyer merged commit 56c51b0 into tensorflow:master Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants