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 c74708b commit afc7497
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 80 deletions.
56 changes: 28 additions & 28 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit afc7497

Please sign in to comment.