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

Improvement assets #5458

Merged
merged 3 commits into from
Jun 25, 2024
Merged

Improvement assets #5458

merged 3 commits into from
Jun 25, 2024

Conversation

Wlkr123
Copy link
Collaborator

@Wlkr123 Wlkr123 commented Jun 25, 2024

ISSUE

Context

Your context here. Additionally, any screenshots. Delete this line.

// Delete the below section once completed

PR Checklist

  • Description is clearly stated under Context section
  • Screenshots and the additional verifications are attached

🚀 This description was created by Ellipsis for commit 963b2bd

Summary:

Added functionality to fetch the last history of each asset's knowledge base articles and updated code style consistency.

Key points:

  • Added consumeRPCQueue for assets:assets.getKbArticleHistoriesPerAsset in packages/plugin-assets-api/src/messageBroker.ts
  • Introduced getLasthistoryEachAssets function in packages/plugin-assets-api/src/utils.ts
  • Updated generateFilter function in packages/plugin-assets-api/src/utils.ts for code style consistency

Generated with ❤️ by ellipsis.dev

@Wlkr123 Wlkr123 merged commit c9a5454 into dev Jun 25, 2024
2 of 3 checks passed
Copy link

sourcery-ai bot commented Jun 25, 2024

🧙 Sourcery has finished reviewing your pull request!


Tips
  • Trigger a new Sourcery review by commenting @sourcery-ai review on the pull request.
  • You can change your review settings at any time by accessing your dashboard:
    • Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
    • Change the review language;
  • You can always contact us if you have any questions or feedback.

Copy link

@sourcery-ai sourcery-ai bot left a 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.

Copy link

@ellipsis-dev ellipsis-dev bot left a 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 in 2 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 (
Copy link

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.

Copy link

sonarcloud bot commented Jun 25, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant