Home / Function/ sendFeedback() — supabase Function Reference

sendFeedback() — supabase Function Reference

Architecture documentation for the sendFeedback() function in feedback.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  529b8a86_a167_75a7_d8ed_7a5dbeee3e84["sendFeedback()"]
  28b182b0_b6eb_ea43_788c_54be8711896a["useSendFeedbackMutation()"]
  28b182b0_b6eb_ea43_788c_54be8711896a -->|calls| 529b8a86_a167_75a7_d8ed_7a5dbeee3e84
  style 529b8a86_a167_75a7_d8ed_7a5dbeee3e84 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/lib/fetch/feedback.ts lines 14–32

export async function sendFeedback({
  message,
  pathname,
  title,
  isHelpful,
  team,
}: SendFeedbackVariables) {
  const { data, error } = await post('/platform/feedback/docs', {
    body: {
      page: pathname ?? '',
      isHelpful,
      title,
      feedback: message,
      team,
    },
  })
  if (error) throw Error(`Couldn't send feedback`, { cause: error })
  return data
}

Subdomains

Frequently Asked Questions

What does sendFeedback() do?
sendFeedback() is a function in the supabase codebase.
What calls sendFeedback()?
sendFeedback() is called by 1 function(s): useSendFeedbackMutation.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free