-
Notifications
You must be signed in to change notification settings - Fork 22
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
Remove excess intent fetching on /training/intents page #731
Remove excess intent fetching on /training/intents page #731
Conversation
Quality Gate passedIssues Measures |
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.
LGTM
2.5% code duplication reported by Sonar is expected due to Intents and Common Intents pages having duplicate code before, introduced way back. We will get rid of this in the next task: #743 |
Related task:
/training/intents
page #742This PR:
IntentDetails
component where detailed data is fetched only for the selected intent. TheIntents/index.tsx
itself now only fetches minimum data required to render the list.IntentDetails
component is also going to be used with common intents page to remove the significant code duplication. I will implement this in a later PR.