Skip to content

Comments

[MINOR][UI] Simplify columnDefs in stagepage.js#42101

Closed
yaooqinn wants to merge 1 commit intoapache:masterfrom
yaooqinn:m
Closed

[MINOR][UI] Simplify columnDefs in stagepage.js#42101
yaooqinn wants to merge 1 commit intoapache:masterfrom
yaooqinn:m

Conversation

@yaooqinn
Copy link
Member

What changes were proposed in this pull request?

Simplify columnDefs in stagepage.js

Why are the changes needed?

Reduce hardcode in stagepage.js and potential inconsistency for hidden/show in future changes.

Does this PR introduce any user-facing change?

no

How was this patch tested?

Locally verified.

image

@yaooqinn
Copy link
Member Author

cc @ulysses-you

@ulysses-you
Copy link
Contributor

I tested it locally with accumulator, looks fine to me

@yaooqinn
Copy link
Member Author

thanks @ulysses-you for the verification

@HyukjinKwon
Copy link
Member

cc @gengliangwang and @sarutak FYI

Copy link
Member

@sarutak sarutak left a comment

Choose a reason for hiding this comment

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

Yeah, we can refactor like this change.
https://datatables.net/reference/option/columnDefs

@sarutak
Copy link
Member

sarutak commented Jul 22, 2023

GA failure seems not to be relevant to this change.
Merging to master. Thank you @yaooqinn and all!

@sarutak sarutak closed this in 46440a4 Jul 22, 2023
@yaooqinn yaooqinn deleted the m branch July 24, 2023 01:55
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.

4 participants