VirtusLab-Open-Source / strapi-plugin-navigation

A plugin for Strapi Headless CMS that provides navigation / menu builder feature with their possibility to control the audience and different output structure renderers like (flat, tree and RFR - ready for handling by Redux First Router)
MIT License
318 stars 58 forks source link

feat: lifecycle hooks #406

Closed CodeVoyager closed 9 months ago

CodeVoyager commented 9 months ago

Ticket

https://github.com/VirtusLab-Open-Source/strapi-plugin-navigation/issues/332

Summary

Test Plan

codecov[bot] commented 9 months ago

Codecov Report

Attention: 15 lines in your changes are missing coverage. Please review.

Comparison is base (5c52a03) 48.25% compared to head (0a53c37) 49.49%.

Files Patch % Lines
server/services/admin.ts 9.09% 10 Missing :warning:
server/services/common.ts 70.58% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #406 +/- ## ========================================== + Coverage 48.25% 49.49% +1.24% ========================================== Files 29 31 +2 Lines 1059 1085 +26 Branches 320 322 +2 ========================================== + Hits 511 537 +26 Misses 546 546 Partials 2 2 ``` | [Flag](https://app.codecov.io/gh/VirtusLab-Open-Source/strapi-plugin-navigation/pull/406/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=VirtusLab-Open-Source) | Coverage Δ | | |---|---|---| | [unittest](https://app.codecov.io/gh/VirtusLab-Open-Source/strapi-plugin-navigation/pull/406/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=VirtusLab-Open-Source) | `49.49% <72.72%> (+1.24%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=VirtusLab-Open-Source#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.