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 71f9241 commit 1824eac
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 @@ -16,7 +16,7 @@
"dependencies": {
"@automattic/jetpack-analytics": "^0.1.33",
"@automattic/jetpack-api": "^0.17.19",
"@automattic/jetpack-components": "^0.62.0",
"@automattic/jetpack-components": "^0.63.0-alpha",
"@automattic/jetpack-config": "^0.1.27",
"@automattic/jetpack-script-data": "^0.1.5",
"@wordpress/base-styles": "5.12.0",
Expand Down

0 comments on commit 1824eac

Please sign in to comment.