Skip to content
  • Sam Beckham's avatar
    Allows a reason for dismissing a vulnerability · a2debc2c
    Sam Beckham authored
    - Moves dismissal button into it's own `<dismissal-button>` component
    - Adds a button grouping with the comment icon
    - Adds a tooltip to the comment button
    - Adds a comment param to the dismissal action
    - Adds new actions/mutations to open/close the dismissal comment box.
    - Adds a `<dismissal-comment-box>` component
    - Splits out the modal footer into its own component
    - Switches the modal footer when you're typing a dismissal reason
    - Hooks up the dismissal buttons to the new actions
    - Adds the icon for dismissal comments
    - Adds the comment to the modal info (with dummy data)
    - Fills in dismissals in limbo with appropriate dummy content
    - Adds the actions/mutations to the shared reports too
    - Allows comments to be submitted with cmd + enter
    - Autofocuses the comment box on creation
    - Adds an error state for empty comments
    - Everybody gets a test!
    
    This starts us down the path of unifying the data on the modal and
    allows us to start showing dismissal data in the same way across the two
    different uses of the security reports modal
    a2debc2c