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

PXP-10565/PPS-177 fix: exclude file nodes from chart with options #1208

Merged
merged 4 commits into from
Jan 25, 2023

Conversation

mfshao
Copy link
Collaborator

@mfshao mfshao commented Jan 21, 2023

Jira Ticket: PXP-10565 PXP-177

The current chart in homepage will automatically include file node counts in it. This PR add options to opt-out this auto-including feature

New Features

  • Homepage: added options to exclude File nodes from the charts

Deployment changes

  • New portal config options to exclude File nodes from the charts added: use "graphql.chartNodesExcludeFiles" to exclude File nodes from graphql chart, or use "components.index.homepageChartNodesExcludeFiles" to exclude File nodes from homepage chart. Note both of them are default to false so you have to explicitly set them to true to enable them

Copy link
Contributor

@paulineribeyre paulineribeyre left a comment

Choose a reason for hiding this comment

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

awesome!

@@ -129,7 +132,7 @@ Below is an example, with inline comments describing what each JSON block config
"name": "Documentation"
}
],
"useProfileDropdown": false // optional; enables expiremental profile UI; defaults false, may change in future releases
"useProfileDropdown": false // optional; enables experimental profile UI; defaults false, may change in future releases
Copy link
Contributor

Choose a reason for hiding this comment

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

it's not experimental anymore, is it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

well... it kind of still is, because only MIDRC is using this setup now 😅

@mfshao mfshao merged commit de73f9d into master Jan 25, 2023
@mfshao mfshao deleted the fix/hp-chart-no-file-nodes branch January 25, 2023 00:45
This was referenced Jan 25, 2023
This was referenced Jan 31, 2023
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