Skip to content

Wildcard V2: `<FeedbackPrompt />` Manual migration

Administrator requested to merge contractors/SG-27713 into main

Created by: gitstart-sourcegraph

Wildcard V2: <FeedbackPrompt /> Manual migration

Refs

SourceGraph Issue GitStart ticket

Implementation

  1. Find all usage of FeedbackPrompt.
  2. Notice how some components use FeedbackPromptContent directly. This isn't ideal, we should aim to only support usage of FeedbackPrompt..
  3. The FeedbackPrompt component wraps the prompt in a ButtonDropdown. We should make it so this component is just a prompt, and the consumer has to provide their own button. We should change this component slightly, look at this solution and this solution as possible options.
  4. Remove FeedbackPromptContent as an export. Update all usage to <FeedbackPrompt />.

Acceptance criteria

  • All incorrect usage of the previous pattern has been updated to use the Wildcard component

Merge request reports

Loading