feat(hooks): add configurable post-creation hook for dashboards - #42837
Conversation
Code Review Agent Run #19df46Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
…andrusoare/feat/after-asset-create-hook
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #42837 +/- ##
=======================================
Coverage 65.73% 65.73%
=======================================
Files 2843 2843
Lines 162653 162656 +3
Branches 37239 37240 +1
=======================================
+ Hits 106912 106914 +2
- Misses 53648 53649 +1
Partials 2093 2093
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Bito Automatic Review Skipped – PR Already Merged |
SUMMARY
Adds an
AFTER_ASSET_CREATEconfig callback that fires after a new dashboard is persisted. This allows downstream integrations (e.g. auto-categorization, audit logging, notification triggers) to react to asset creation without modifying core views. The hook receives the model instance and the asset type string ("dashboard").BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION