feat(blueprints): add incentives to update blueprints in the service settings - #2821
feat(blueprints): add incentives to update blueprints in the service settings#2821rmnbrd wants to merge 3 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## staging #2821 +/- ##
===========================================
+ Coverage 46.97% 46.99% +0.01%
===========================================
Files 1263 1263
Lines 27073 27084 +11
Branches 7897 7902 +5
===========================================
+ Hits 12718 12728 +10
Misses 12180 12180
- Partials 2175 2176 +1
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:
|
There was a problem hiding this comment.
Pull request overview
This PR adds new “blueprint update” incentives inside the Terraform service general settings, surfacing when a service’s blueprint has a newer version and/or a newer major version available, and wires the CTA to the existing blueprint update flow route.
Changes:
- Display a “New major version available” signal when the blueprint update payload contains
new_major_versions. - Display a callout prompting to update when
is_up_to_dateis false, with an “Update” CTA that navigates to the blueprint update flow. - Add unit tests for the new signals/CTA behavior and bump
qovery-typescript-axiosto a newer version.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| yarn.lock | Updates the lockfile for the qovery-typescript-axios bump. |
| package.json | Bumps qovery-typescript-axios dependency version. |
| libs/domains/service-settings/feature/src/lib/service-general-settings/terraform-general-settings/terraform-general-settings.tsx | Adds blueprint update signals + navigation CTA in Terraform general settings. |
| libs/domains/service-settings/feature/src/lib/service-general-settings/terraform-general-settings/terraform-general-settings.spec.tsx | Adds tests covering the new blueprint update signals and navigation behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| <button type="button" className="w-fit text-sm text-brand hover:underline" onClick={openBlueprintUpdate}> | ||
| New major version available | ||
| </button> |
feat(blueprints): add incentives to update blueprints in the service settings
This PR introduces 2 new incentives to update the blueprint, when a new blueprint version or a new major version is available.
Screenshots / Recordings
Testing
yarn testoryarn test -u(if you need to regenerate snapshots)yarn formatyarn lintPR Checklist
.cursor/rules)feat(service): add new Terraform service) - required for semantic-release