AI can personalize a storefront by changing which products appear. The harder engineering question is what the interface should do when the model returns too few products, suggests an unusable image crop, or generates a result the user needs to correct.

A storefront serving 13 million shoppers faced a version of this problem before any AI personalization. Around 72 of 7,000 brand names were too long for a product tile. Shortening some names could make them look like entirely different brands. Since the tiles appeared across multiple storefront themes, the team needed a shared rule for overflow and a place where shoppers could see the full name.

That same approach applies to AI features. GeekyAnts, IBM, Microsoft, Google, and Atlassian offer five documented examples of how product teams can turn common UX problems into behaviors developers can implement and test.

1. Define what the model can change

GeekyAnts documented four decisions for reusable storefront widgets: the shopper’s goal, the layout, the widget’s job, and where it sits on the page. The Continue Browsing widget was designed to help returning shoppers pick up where they left off. The project found that 43% of return visitors repeated the same search in their next session.

Under the proposed AI-assisted design, the model could suggest products and image crops. The component would enforce the approved layout and theme and require at least two eligible products. If fewer than two qualified, the widget would be hidden and the next one would move up.

For developers, this gives rendering code a clear job. It validates suggestions against the component rules and applies the fallback when a suggestion fails. The designer used Claude alongside Figma to explore layouts. AI-assisted widget assembly remained a proposal, and the article reports no measured conversion impact. Read the full storefront design breakdown.

2. Give AI output a consistent label

IBM’s Carbon Design System uses an AI label to identify generated content and open a popover with more information. A shared component gives teams a consistent way to show where AI was involved and gives users a familiar place to look for an explanation.

On an analytics dashboard, that could mean labeling a generated summary that sits beside source figures. If the product exposes supporting records, the explanation can help users check what informed the summary before acting on it.

3. Test the feature beyond the first successful response

Microsoft’s HAX Toolkit covers the first interaction, everyday use, mistakes, and changes over time. Those stages give developers and QA teams a way to turn AI behavior into acceptance criteria.

For a support assistant that drafts replies, a test could start with an incomplete ticket. The agent should be able to inspect the draft, edit an incorrect detail, or dismiss the suggestion and keep working in the same ticket. A separate first-use test could check whether the agent understands which ticket information the assistant can access.

4. Keep a manual path available

Google’s People + AI Guidebook covers how people can recover when automation makes a mistake. In a document review tool, a reviewer who receives the wrong suggested category should be able to select the correct category, keep any edits already made, and submit the record.

That makes recovery a question of application state as well as interface design. Dismissing a suggestion should preserve the reviewer’s work and leave the original task available.

5. Put review controls beside the work

Atlassian’s AI interaction guidelines call for embedding controls in the working interface and preserving task state across surfaces. In an issue tracker, a proposed status update could appear on the issue itself, beside the activity and discussion that help a project lead check it. Accept, edit, and dismiss controls belong in that same context.

What should a component test cover?

An AI-enabled component needs test cases for a valid suggestion, a suggestion that violates a component rule, and a response with too little usable data. The workflow also needs a test for what happens after someone edits or dismisses the output.

In the storefront example, that means checking that the widget renders with two eligible products, hides with one, and leaves the rest of the page usable in both states.

Which AI failure case has been hardest to test in production interfaces?