Webhook reference page redesign

Redesign of the webhook reference page on Shopify's developer documentation site.

Roles:

• UX/UI Designer (solo)
• Project champion
• Content design

Tools:

• Figma
• Shopify.dev design system

The problem

The team initially decided to redesign the REST webhook reference page because:

• The treatment of the topics list left out important information and wasn’t visually straightforward

• Sample payloads were buried inline which made them hard to find and read

• The mandatory webhooks section was displayed inaccurately

• There was no indication of which content included personally identifiable information

With these issues in mind, I went on to redesign parts of this page to address these problems.

Screenshot-2022-12-19-at-3.24.06-PM-1

Before the redesign

Webhook topics list

✘ Before


Previously, the webhook topics list needed some love. The table was difficult to parse through because the contents didn’t always line up, causing inefficiency and leaving room for unintended misinformation. On mobile, half of the code snippets were cut off the screen. There was no mention of important details like resource or access scopes, and the placement of the table was in an unrelated section, causing confusion for developers.

✓ After


Now, with a new section dedicated to the full list of webhook topics, it’s easier for developers to find the webhook that they’re looking for. For each webhook topic, developers can view a description, the associated resource and appropriate access scope needed, as well as the payload.

By keeping the list fully expanded, it’s CMD+F friendly, allowing developers to efficiently find out more about a known topic they are looking for. For the explorer developers without a known topic, the list is easily discoverable through the link in the topics section of the webhook object properties list, or through the side nav.

The lengthy section will be the last on the page, so it will not obstruct the user’s navigation. Also, unlike the previous version of the webhook page, this one is fully responsive on mobile devices.

Mandatory Webhooks

✘ Before


Previously, the mandatory webhooks section was inaccurate and confusing. Instead of showing the mandatory webhooks, it showed the full list of webhooks as if they were all mandatory.

✓ After


Now we’ve resolved the content issues by removing the full webhook topic list from the section, and instead displaying the accurate mandatory webhooks. We’ve included a table to efficiently communicate the most important information about them, with links to the main page to learn more.

Personally Identifiable Information

✘ Before


Personally identifiable information is protected customer data that needs special permissions and mandatory requirements followed in order to access. This reference page was created before the PII project was established, so it hadn’t been designed to include that kind of information. This left developers with incomplete information about the structure and content of the webhook payloads they received.

✓ After


We’re now making the recommendation that webhook topics be identified when they require personally identifiable information, so that users are made aware of any omissions and informed of the processes they must complete in order to view the full codeblock. Any content containing PII is marked with the shield icon. Simply hover for an explanation and click to learn more in another tab.

Subsequent GraphQL webhook reference redesign

Following the completion of the REST reference page redesign, its GraphQL counterpart also had to be updated. To allow for consistency, design components made for the REST webhook page were reusable here. Any other small changes made were intentional in preserving the design and IA patterns specific to the GraphQL reference pages.

Screenshot-2023-01-03-at-6.17.15-PM
Screenshot-2023-01-04-at-10.16.06-AM

Content Guidelines

After conducting primary research through workshops with internal developers, the need for more granularity within topic descriptions was discovered. To ensure consistency and structure for the various teams writing descriptions, a set of guidelines were created and shared as part of the project. This allows for the inclusion of more detailed information, such as the mention of post-populated fields that do not belong on the resource reference page itself.

Frame-36

Conclusion and Next Steps

With the implementation of these changes, developers should have an easier time navigating the webhook reference pages, which could in turn help facilitate their application of useful automations in the things that they build.

For next steps, I’d personally like to keep an eye out for feedback on this page moving forward. I’m also on the lookout for similarly long lists like this. If this is a common pattern, it may be worth it in the future to alter search behaviours to automatically find and open collapsed sections that contain the search query, to maximize space efficiency without impeding findability.

As a final note, I want to express how much of a great experience spearheading this project was and I'm grateful to everyone who’s provided me with context along the way.

Check out the full redesign live:
REST

Selected Works

ChatFusionProject type

BreakTimeHackathon Industry Project

Safe&SoundCapstone Project

Mycelium App RedesignHeuristic Redesign