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

Reduce UI response data size for cluster overview page #8892

Merged
merged 1 commit into from
Oct 30, 2021

Conversation

posulliv
Copy link
Contributor

Resolves #5929

@cla-bot cla-bot bot added the cla-signed label Aug 16, 2021
@posulliv posulliv added the ui Web UI label Aug 16, 2021
@findepi findepi added the enhancement New feature or request label Aug 23, 2021
@findepi findepi requested a review from raghavsethi August 23, 2021 12:51
@findepi
Copy link
Member

findepi commented Aug 23, 2021

@dedep @aalbu ptal

@akshayrai
Copy link
Contributor

@posulliv we have done something similar internally. Looking forward to have this change merged. Could you update and rebase the pull request! Thanks!

@posulliv posulliv force-pushed the prune-ui-response-data branch from 99d3238 to 2ce03c0 Compare October 6, 2021 17:30
@posulliv
Copy link
Contributor Author

@findepi @aalbu do you think this is ready to be merged? Happy to do any further updates to get this merged.

Comment on lines 126 to 128
if (query.principal) {
user = (
<span>{query.session.user}<span className="glyphicon glyphicon-lock-inverse" style={GLYPHICON_DEFAULT}/></span>
<span>{query.user}<span className="glyphicon glyphicon-lock-inverse" style={GLYPHICON_DEFAULT}/></span>
Copy link
Member

Choose a reason for hiding this comment

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

pre-existing, but why we have condition on principal if we output user field only?

seems like condition should be on user and then principal field could be removed from the response.

@raghavsethi do you remember?
@dedep @aalbu do you know?

@posulliv posulliv force-pushed the prune-ui-response-data branch from 9a7bb3e to ff58c92 Compare October 21, 2021 00:17
@posulliv
Copy link
Contributor Author

@findepi thank you for the many comments! I updated based on your review.

@posulliv posulliv force-pushed the prune-ui-response-data branch from ff58c92 to bd881e3 Compare October 21, 2021 13:11
@posulliv posulliv force-pushed the prune-ui-response-data branch from bd881e3 to f7f069b Compare October 22, 2021 15:09
@findepi findepi merged commit b37ebe8 into trinodb:master Oct 30, 2021
@github-actions github-actions bot added this to the 364 milestone Oct 30, 2021
@findepi findepi mentioned this pull request Oct 30, 2021
12 tasks
@posulliv posulliv deleted the prune-ui-response-data branch February 9, 2022 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed enhancement New feature or request ui Web UI
Development

Successfully merging this pull request may close these issues.

Reduce amount of data transmitted for web-ui
4 participants