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 96231b1 commit d3786bc
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 56 deletions.
56 changes: 28 additions & 28 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-a8c-mc-stats",
"reference": "95f95a7a2f75dcb9e3dd929eab4cbda6d34a84fe"
"reference": "81993dd3ce937c762c32b2ef2153b7db37109bfd"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -63,7 +63,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui",
"reference": "79fdbcb7dc01fa5f3ee8cedf5db9989f001155d9"
"reference": "9377537af3e4a7d5ba890c34222fae74e6b66c30"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -131,7 +131,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-assets",
"reference": "805dddbb5ccebb0d351899fb90e5d9c4ac172d5c"
"reference": "fed87696bed3741bd5da5bcdffe5ed2f3c7e13c6"
},
"require": {
"automattic/jetpack-constants": "^3.0.1",
Expand Down Expand Up @@ -203,7 +203,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-autoloader",
"reference": "d0764d0094ad24541dbd84369c422053a2f2de15"
"reference": "8fd3763b7e5a1604f3ff312530943055ece08fdc"
},
"require": {
"composer-plugin-api": "^2.2",
Expand Down Expand Up @@ -274,7 +274,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-boost-core",
"reference": "bf3b7695063fce4125e81843267a037b7bee0800"
"reference": "e6f6c0ba4089850f26c45a6e24e98b7c071235f3"
},
"require": {
"automattic/jetpack-connection": "^6.1.0",
Expand Down Expand Up @@ -345,7 +345,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-boost-speed-score",
"reference": "21bde8bac7661b910df761059db2e333873f9453"
"reference": "164afb5d200d18861bdaced33c8013ce977f7b07"
},
"require": {
"automattic/jetpack-boost-core": "^0.3.1",
Expand Down Expand Up @@ -424,7 +424,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-composer-plugin",
"reference": "6f69c9f7496fd8da97d4447a27f28bccba5364a7"
"reference": "fe89aaf80125f9cf6f85866ce6bb79b0be023d29"
},
"require": {
"composer-plugin-api": "^2.2",
Expand Down Expand Up @@ -487,7 +487,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-config",
"reference": "d5a23380510ec3d67bda1b75eb418aba2def878d"
"reference": "1420ff7c98106c2d117e542f091f18e1919d9e35"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -562,7 +562,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-connection",
"reference": "64a99f619a9fae0a8948c09b0e3e7c209d09d579"
"reference": "99e5186a63c3cd4838ccbf74cffe37009ac16828"
},
"require": {
"automattic/jetpack-a8c-mc-stats": "^3.0.0",
Expand Down Expand Up @@ -655,7 +655,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-constants",
"reference": "c01128f77ec3b49cb70b8e41655db84a5bef1f59"
"reference": "82781cb23ccd82cc24ace875f6566ba2a1621a0a"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -712,7 +712,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-device-detection",
"reference": "67dddf0514b1d1489bf8b34b66711e5ffc5bc074"
"reference": "a8881b9267c7e97a882be621df75adfc1814baf2"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -768,7 +768,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-explat",
"reference": "357ee21daeccaee101ab9fb7a1d9f21390c2c82e"
"reference": "7e3016dd40084cc1a5f01326524c39fb25f37c8c"
},
"require": {
"automattic/jetpack-connection": "^6.1.0",
Expand Down Expand Up @@ -846,7 +846,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-ip",
"reference": "3c1fd0146448b91b2da0e210313989a924bf19e7"
"reference": "f09db9e299b6df8f0ae024ad8d523c862cb09849"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -907,7 +907,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-jitm",
"reference": "159744496127fda8f080df2458d6b2e6108f9122"
"reference": "55d24b6c4040bdb9fef10898f14391a405feab2c"
},
"require": {
"automattic/jetpack-a8c-mc-stats": "^3.0.0",
Expand Down Expand Up @@ -985,7 +985,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-licensing",
"reference": "72f510cfdec31d3d6785a6f5357d281e715c7c0b"
"reference": "dbbfa85a8b5fe70899964632dfbb698666a365fe"
},
"require": {
"automattic/jetpack-connection": "^6.1.0",
Expand Down Expand Up @@ -1050,7 +1050,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-logo",
"reference": "8346e13336174d6891d42c8252755da2159c64d9"
"reference": "b06ee0d3ff37eda51d666ed4c9c273e8c9ec4147"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -1106,7 +1106,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-my-jetpack",
"reference": "adc7d046308bc1879ebf954adaf9159dbefdda05"
"reference": "67a6251189fb6d6f3b816392fcfea4ff5e873851"
},
"require": {
"automattic/jetpack-admin-ui": "^0.5.1",
Expand Down Expand Up @@ -1211,7 +1211,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-password-checker",
"reference": "06162187e6c18a199fcfde4402488bb4796033cb"
"reference": "8ee94ce391396ff0a1658a54bd69bf0b3514dc1f"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -1275,7 +1275,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-plans",
"reference": "ab8d6344a8c74667b604a8821a9c58638e0f098f"
"reference": "21321ea130b2ed8a690463921d4e2f506a1732ce"
},
"require": {
"automattic/jetpack-connection": "^6.1.0",
Expand Down Expand Up @@ -1346,7 +1346,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-plugins-installer",
"reference": "e04f1daad9b71e8a68caa4b79e85dbbd1ca8ddc5"
"reference": "5eaf6b14ce7596c95a027e3220e134e9d7806950"
},
"require": {
"automattic/jetpack-a8c-mc-stats": "^3.0.0",
Expand Down Expand Up @@ -1405,7 +1405,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-protect-models",
"reference": "6fdb7b5afebdfbe7277a30f281995b687cfe6729"
"reference": "71326297a9b585832a468c74220bee5ed8e47caa"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -1478,7 +1478,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-protect-status",
"reference": "03c99aabbc95cf1bb110420b93739eb9cb6da053"
"reference": "baa08691b94dc84b25ada25278d3200369a4a34b"
},
"require": {
"automattic/jetpack-connection": "^6.1.0",
Expand Down Expand Up @@ -1556,7 +1556,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-redirect",
"reference": "99b8bd7decf8442e0cf2145aa24fcf27a0b4fc9a"
"reference": "467a02022fd91b0f0ee1e4b72f011bc50766c42b"
},
"require": {
"automattic/jetpack-status": "^5.0.1",
Expand Down Expand Up @@ -1614,7 +1614,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-roles",
"reference": "a9d428f8996f499c22ad89551dfe5e322fce1080"
"reference": "9dfabc30a4c291fab4a21205c569b9b58a866666"
},
"require": {
"php": ">=7.2"
Expand Down Expand Up @@ -1671,7 +1671,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-search",
"reference": "5c4c9cc1560ff87168dfb4eb8ae4ed8609b09109"
"reference": "23ec5fc022222f5267f05fb72f14df369b4ba60a"
},
"require": {
"automattic/jetpack-assets": "^4.0.0",
Expand Down Expand Up @@ -1762,7 +1762,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-stats",
"reference": "5c701a23ebafaa2270f5cf5bc9c1621afec56368"
"reference": "21a00b3d1df799ef8df85187e7ced64d32b82f49"
},
"require": {
"automattic/jetpack-connection": "^6.1.0",
Expand Down Expand Up @@ -1832,7 +1832,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-status",
"reference": "217eb57b928e2f6742be377fcf18e41da63c3a8a"
"reference": "eb95a79c381b426b8a2339eaf96a8b567d766649"
},
"require": {
"automattic/jetpack-constants": "^3.0.1",
Expand Down Expand Up @@ -1899,7 +1899,7 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-sync",
"reference": "4c52e612228de147528b5776ac09ad2d8146ca43"
"reference": "c850d4e278b35bb9ceeb0c6c3ff187107c6067e0"
},
"require": {
"automattic/jetpack-connection": "^6.1.0",
Expand Down
Loading

0 comments on commit d3786bc

Please sign in to comment.