Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Incident response use case#5259

Merged
zlonko merged 29 commits intomainfrom
incident-response-use-case
May 2, 2022
Merged

Incident response use case#5259
zlonko merged 29 commits intomainfrom
incident-response-use-case

Conversation

@zlonko
Copy link
Contributor

@zlonko zlonko commented Apr 13, 2022

This closes #5237 by creating the Use Case page for Incident Response.

Design and copy originate from Figma. The metadata comes from the provided file.

Notes

  • While this was in development, colors on about were updated with Colour and Gradient Improvements #5258. This updated link, icon, and button colors from blue to blurple.
  • Gradient background colors were carried over from Fixing Vulnerabilities and Developer Onboarding to align this page with styling for Use Case pages.
  • The hero subhead differs in the Figma ("Identify the root cause...") compared to the meta file ("Every minute matters..."). Per team practices, I implemented the copy in the Figma file.
  • The thumbnail for the log4js blog post differs in the Figma from other places it appears on our site, e.g., the resources section on Fixing Vulnerabilities. For consistency, I linked to that thumbnail.

Testing

  • Open /use-cases/incident-response
  • Please check that design matches on web and mobile
  • Please check that links work appropriately
  • Please check that meta is correct (location, title, description)

Screen Shot 2022-04-13 at 4 50 15 PM

@zlonko zlonko added this to the A - Sprint 2 milestone Apr 13, 2022
@zlonko zlonko marked this pull request as ready for review April 13, 2022 21:55
@sourcegraph-bot
Copy link
Contributor

sourcegraph-bot commented Apr 13, 2022

Notifying subscribers in CODENOTIFY files for diff 44d4f0f...0dab357.

Notify File(s)
@sourcegraph/marketing website/src/components/CustomCarousel.tsx
website/src/components/QuoteCarousel/index.tsx
website/src/css/_spacing.scss
website/src/pages/use-cases/incident-response.tsx
website/src/pages/use-cases/index.tsx
website/src/pages/use-cases/onboarding.tsx
website/src/pages/use-cases/vulnerabilities.tsx

@zlonko zlonko requested a review from katjuell April 13, 2022 21:58
Copy link
Contributor

@katjuell katjuell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! A few things that I'm noticing:

  • We'll need a link to this page from the use cases index page.
  • We've got some content jumping in the carousels on mobile. If we set a default height in the following places, we should be good (I've added the default here as h-<number>):

On CustomCarousel:
Screen Shot 2022-04-14 at 3 20 36 PM

On Quote Carousel:
Screen Shot 2022-04-14 at 3 21 41 PM

</div>
<div className="d-flex flex-column flex-lg-row mt-lg-4 mt-6 mb-6">
<div className="text-center mb-4">
<CrosshairsGpsIcon className="mb-4 text-blurple" size={40} />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logos need to have the correct color to match the Figma

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that, after #5258 was merged, the color of the icons on the other Use Case pages changed to blurple. It seems important that they are uniform, because they otherwise use the same template. Should we also change the color of the icons on the other two pages?

/use-cases/onboarding
Screen Shot 2022-04-14 at 3 06 29 PM

/use-cases/vulnerabilities/
Screen Shot 2022-04-14 at 3 05 34 PM

Copy link
Contributor

@katjuell katjuell Apr 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good callout @zlonko — @bretthayes what do you think? Happy to go with whatever makes the most sense and leads to uniformity. Just think we should flag the color change in the PR message for stakeholders, if we are keeping it (it looks like link and button color changes were flagged as having changed, but not icons)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@katjuell @zlonko I think we should stick to the design consistency and keep the icons blurple. I made the decision to change all links/CTA's, icons, button bg's, and complimenting elements alike to use blurple given that the homepage design sprouted this. Part of this also follows our Brand Guidelines for blurple.

I think that makes the most sense to create a uniform design throughout the site. But I agree, we should just mention it in the PR description in case stakeholders want us to revert part or all of these changes in a separate PR or have icons be a different colour per page design. I could see some potential colour theory conflicts but I digress lol.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for these insights, @katjuell and @bretthayes. I will make sure the icons are included in the PR description for stakeholder review.

services, and fix the issue everywhere in your codebase so it won't reoccur.
</div>
<div className="d-flex flex-column flex-lg-row pt-1">
<Link
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add button tracking on these CTAs? I notice the other use case pages need them here as well — I can create a separate follow up issue and deal with it — don't worry about that here. Let's just make sure all the CTAs on this page have the correct tracking attributes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great point to include. I added tracking to the following CTA buttons in 3746a6c:

  • Hero: Request a demo
  • Hero: Try Sourcegraph now
  • Body/"Get started with Sourcegraph": Request a demo
  • Body/"Respond to incidents faster": Ready to get started?

Are there any others on this page that are appropriate to add tracking to? On other Use Cases, it doesn't look like we are tracking links to "Learn more", so I am a bit unsure what is in scope.

I am happy to support the follow up issue, as well.

@zlonko
Copy link
Contributor Author

zlonko commented Apr 19, 2022

Thank you, @katjuell! Responding to your initial comments:

  • I added the link to this page to use-cases/index here using the same pattern as Vulnerabilities and Onboarding: 9aaa037
  • I added the default height values on the carousel components here: 22aeb73. It makes sense to me to add them to the component to resolve similar issues in the future, but I'm open to adding them with another method.

@zlonko zlonko requested a review from katjuell April 19, 2022 14:19
@katjuell
Copy link
Contributor

@zlonko added commits here to address the funkiness that I still saw on carousels on smaller screens. We should be good to go now, but take another look at this page, the other use cases pages, and the code insights page to sanity check. I also went ahead and added the tracking attributes to the other use cases pages.

@zlonko
Copy link
Contributor Author

zlonko commented Apr 19, 2022

@katjuell Thank you for updating the carousels and adding tracking to the other pages. The Use Case pages and the Code Insights page look good. One note, it seems that the h-600 on QuoteCarousel vertically displaces the text. The examples below are from Incident Response, but they reoccur on Vulnerabilities:

with h-600:

Screen Shot 2022-04-19 at 1 52 47 PM

Screen Shot 2022-04-19 at 2 00 29 PM

without h-600:

Screen Shot 2022-04-19 at 1 57 34 PM

Screen Shot 2022-04-19 at 2 01 10 PM

@katjuell
Copy link
Contributor

@zlonko feel free to push a fix!

@zlonko
Copy link
Contributor Author

zlonko commented Apr 19, 2022

@katjuell Reducing that div to h-450 looks alright on mobile and desktop, so that the text is still vertically aligned on the top even with our longer quotes. 3cb23b0

@katjuell
Copy link
Contributor

@zlonko I try to look at Galaxy Fold defaults for x-small!

This looks good to share with stakeholders cc @elzannewentzel

@zlonko zlonko added the marketing-request Used by CPT to indicate requests from the Marketing Team label Apr 20, 2022
@zlonko zlonko requested a review from elzannewentzel April 20, 2022 18:09
@zlonko zlonko mentioned this pull request Apr 20, 2022
@elzannewentzel
Copy link
Contributor

@zlonko Please see some feedback points in this document, only implement the blocking feedback, please :)

@zlonko
Copy link
Contributor Author

zlonko commented Apr 22, 2022

@elzannewentzel That's great! As requested, I edited the copy and gave the "Plan your remediation" column a little more room on desktop. Visual balance is a little tricky there because there is less text in that column than in the other two.

Screen Shot 2022-04-22 at 1 40 07 PM

@elzannewentzel
Copy link
Contributor

Thank you @zlonko ! I'll send it for final review.

@bretthayes
Copy link
Contributor

Just noting here to double check any logos in this PR that were updated in #5276

@elzannewentzel
Copy link
Contributor

@zlonko Approved to deploy 👍 Thank you !

@zlonko
Copy link
Contributor Author

zlonko commented May 2, 2022

@katjuell Could you provide a final pass for approval?

Copy link
Contributor

@katjuell katjuell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zlonko this asset needs to be updated, looks like
Screen Shot 2022-05-02 at 10 43 59 AM

@katjuell katjuell self-requested a review May 2, 2022 15:29
Copy link
Contributor

@katjuell katjuell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@zlonko zlonko merged commit 34e769e into main May 2, 2022
@zlonko zlonko deleted the incident-response-use-case branch May 2, 2022 18:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

marketing-request Used by CPT to indicate requests from the Marketing Team

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Incident Response Landing Page

6 participants