-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Improvement assets #5458
Improvement assets #5458
Conversation
🧙 Sourcery has finished reviewing your pull request! Tips
|
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.
We've reviewed this pull request using the Sourcery rules engine. If you would also like our AI-powered code review then let us know.
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.
❌ Changes requested. Reviewed everything up to 963b2bd in 1 minute and 12 seconds
More details
- Looked at
248
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_TgqWld30xZhyjQdo
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
⌛ 6 days left in your free trial, upgrade for $20/seat/month or contact us.
@@ -189,3 +189,41 @@ export const generateFilter = async ( | |||
|
|||
return filter; | |||
}; | |||
|
|||
export const getLasthistoryEachAssets = async ( |
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.
Consider renaming the function getLasthistoryEachAssets
to follow camelCase and enhance clarity. A suggested name could be getLastHistoryForEachAsset
.
|
ISSUE
Context
Your context here. Additionally, any screenshots. Delete this line.
// Delete the below section once completed
PR Checklist
Summary:
Added functionality to fetch the last history of each asset's knowledge base articles and updated code style consistency.
Key points:
consumeRPCQueue
forassets:assets.getKbArticleHistoriesPerAsset
inpackages/plugin-assets-api/src/messageBroker.ts
getLasthistoryEachAssets
function inpackages/plugin-assets-api/src/utils.ts
generateFilter
function inpackages/plugin-assets-api/src/utils.ts
for code style consistencyGenerated with ❤️ by ellipsis.dev