Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ResizableTable generic #3978

Merged
merged 1 commit into from
Apr 14, 2021
Merged

Make ResizableTable generic #3978

merged 1 commit into from
Apr 14, 2021

Conversation

Twixes
Copy link
Collaborator

@Twixes Twixes commented Apr 14, 2021

Changes

Typing improvement to ResizableTable. Previously it had SessionType hardcoded – I made it generic (RecordType), so now this is inferred from the type of the columns prop. Came out when working on #3482, though in the end I decided not to use this component there.

@Twixes Twixes requested a review from samwinslow April 14, 2021 10:01
@timgl timgl temporarily deployed to posthog-pr-3978 April 14, 2021 10:04 Inactive
Copy link
Contributor

@samwinslow samwinslow left a comment

Choose a reason for hiding this comment

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

Looks good to me, I'll pull these changes into #3960 as well (where I have any instead, oops). Thanks!

@samwinslow samwinslow merged commit 40868c5 into master Apr 14, 2021
@samwinslow samwinslow deleted the generic-resizable-table branch April 14, 2021 11:58
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.

3 participants