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

fix(typing): improve ColumnInformation renderer property typing #7554

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

axel7083
Copy link
Contributor

What does this PR do?

Improving the renderer property from any to more defined. This enforce that column have the object property matching the expected type.

This change force use to correct the existing typing which were used for columns arrays, which were incorrect: I removed it as not needed.

Screenshot / video of UI

What issues does this PR fix or reference?

How to test this PR?

  • Pipeline should be ✅

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
@axel7083 axel7083 requested review from benoitf and a team as code owners June 10, 2024 16:25
@axel7083 axel7083 requested review from cdrage, lstocchi and deboer-tim and removed request for a team June 10, 2024 16:25
Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
Copy link
Contributor

@deboer-tim deboer-tim left a comment

Choose a reason for hiding this comment

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

It's almost unfortunately that the type is 'removed' from the columns, but typing in table.ts is awesome and far outweighs this. Thanks!

@axel7083 axel7083 merged commit fc042fe into containers:main Jun 12, 2024
9 checks passed
@podman-desktop-bot podman-desktop-bot added this to the 1.11.0 milestone Jun 12, 2024
cdrage pushed a commit to cdrage/podman-desktop that referenced this pull request Jun 19, 2024
…ainers#7554)

* fix: typecheck

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* revert: unwanted modification

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

---------

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants