Wildcard V2: `<FeedbackPrompt />` Manual migration
Created by: gitstart-sourcegraph
<FeedbackPrompt />
Manual migration
Wildcard V2: Refs
SourceGraph Issue GitStart ticket
Implementation
- Find all usage of FeedbackPrompt.
- Notice how some components use FeedbackPromptContent directly. This isn't ideal, we should aim to only support usage of
FeedbackPrompt.
. - 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.
- 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