-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Infra UI] Refactor 'capabilites' to 'metadata'. #25580
[Infra UI] Refactor 'capabilites' to 'metadata'. #25580
Conversation
💚 Build Succeeded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The node detail page seems to work as before. 👍
"One specific capability available on a node. A capability corresponds to a fileset or metricset" | ||
type InfraNodeCapability { | ||
export const metadataSchema = gql` | ||
"One specific metadata information for a node." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is something about information always being plural in english. How about "A metadata entry for a specific node" to circumvent that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's better, thank you.
💔 Build Failed |
b7e1b5c
to
2a63391
Compare
jenkins, test this |
💔 Build Failed |
2a63391
to
310dd0f
Compare
💚 Build Succeeded |
* Refactor 'capabilites' to 'metadata'. * Better language in inline documentation.
Summary
Refactors all occurences of "capabilities" in GraphQL and the corresponding container to "metadata". Future work will likely rename some parts of this again, to make it more specific what kind of metadata is handled (metric fields, modules, ...), this is just the first step to get rid of the "capabilities" term.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.- [ ] This was checked for cross-browser compatibility, including a check against IE11- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support- [ ] Documentation was added for features that require explanation or tutorials- [ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers
The only place that uses the affected GraphQL endpoint was adapted.
- [ ] This includes a feature addition or change that requires a release note and was labeled appropriatelyTo test: