-
Notifications
You must be signed in to change notification settings - Fork 0
chore(heureka): proposes ideal UI queries for existing features #910
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
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: dbc119a The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
ad23b0c
to
354b5d0
Compare
|
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.
thx @hodanoori for the documentation!. I suggest moving the "ideal queries" to a documentation folder within Heureka, as they are not currently being used and might cause confusion.
Since this is purely documentation, there's no need for a changeset.
…da-heureka-ui-queries
Summary
This PR introduces ideal GraphQL queries for existing UI features. Each query is designed to include only the data needed for the relevant views, which improves readability and reduces complexity in the UI code. As a result, we can eliminate the need for data normalization (currently handled in
utils
) and avoid defining custom types. These are simplified versions of the existing, more complex queries found in the same folder (graphql/Services) and can serve as a foundation for review and optimization.Note:
getServicesIssuesCounts
andgetServiceFilters
are already aligned with the UI, so no changes are needed for them.Changes Made
Related Issues
Screenshots (if applicable)
Testing Instructions
npm i
npm run TASK
Checklist
PR Manifesto
Review the PR Manifesto for best practises.