Skip to content

Commit

Permalink
ThreatModal: Update flow (#40214)
Browse files Browse the repository at this point in the history
* Add ThreatDetailsModal component and stories

* changelog

* Fix type error

* Fix child component overflow-x styling

* Update scan package changelog

* Add util for fixerState and separate subcomponents

* Add user connection gate

* Add credentials gate

* Fix stories

* Fix stories

* Fix credentials type

* Update content flow

* Improve organization

* Separation and reorg

* Improve

* Remove redundant code

* Adjust modal content

* Generalize component name

* Updates after renaming

* Ensure close button exists for vulns modal

* changelog

* Updates/fixes

* Add detailed action

* changelog

* Add actionToConfirm flag for rendering conditional content based on action selected

* Update approach to single view

* Move notices to ThreatActions

* Add fixer notices

* Fix styling

* Additional improvements

* Fix gap

* Remove actionToConfirm flag, to be readded in integration

* Early return on ThreatActions for fixed threats

* Make threat status check optional

* Use custom button for threat details toggle (#40298)

* Use Button and override internal styles

* Fix classes

* Move fixerState comp to ThreatFixConfirmation

* Rely heavily on context provider

* Fix styles

---------

Co-authored-by: Nate Weller <nate.weller@automattic.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12016314564

Upstream-Ref: Automattic/jetpack@0f6c6cf
  • Loading branch information
dkmyta authored and matticbot committed Nov 25, 2024
1 parent 639e02c commit c29a9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"dependencies": {
"@automattic/jetpack-analytics": "^0.1.33",
"@automattic/jetpack-components": "^0.62.0",
"@automattic/jetpack-components": "^0.63.0-alpha",
"@automattic/jetpack-shared-extension-utils": "^0.15.18",
"@wordpress/block-editor": "14.7.0",
"@wordpress/components": "28.12.0",
Expand Down

0 comments on commit c29a9e2

Please sign in to comment.