Home / Function/ SectionTroubleshootingPage() — supabase Function Reference

SectionTroubleshootingPage() — supabase Function Reference

Architecture documentation for the SectionTroubleshootingPage() function in TroubleshootingSection.page.tsx from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  7788a844_70a7_2b57_5bcb_27bb6e42f5be["SectionTroubleshootingPage()"]
  8905791f_ebfd_ddd9_ad47_1c7f6198a3e9["getTroubleshootingEntriesByTopic()"]
  7788a844_70a7_2b57_5bcb_27bb6e42f5be -->|calls| 8905791f_ebfd_ddd9_ad47_1c7f6198a3e9
  c776b24b_2ea9_8eba_dd57_33106299dd4f["getTroubleshootingKeywordsByTopic()"]
  7788a844_70a7_2b57_5bcb_27bb6e42f5be -->|calls| c776b24b_2ea9_8eba_dd57_33106299dd4f
  7aea9dc5_5217_e3f1_4239_79f2598fc256["getTroubleshootingErrorsByTopic()"]
  7788a844_70a7_2b57_5bcb_27bb6e42f5be -->|calls| 7aea9dc5_5217_e3f1_4239_79f2598fc256
  style 7788a844_70a7_2b57_5bcb_27bb6e42f5be fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/features/docs/TroubleshootingSection.page.tsx lines 25–59

export default async function SectionTroubleshootingPage({
  topic,
  sectionName,
  description,
}: SectionTroubleshootingPageProps) {
  // All other fetches are dependent on getTroubleshootingEntriesByTopic, which
  // is cached, so it's run first to populate the cache
  const troubleshootingEntries = await getTroubleshootingEntriesByTopic(topic)
  const [keywords, errors] = await Promise.all([
    getTroubleshootingKeywordsByTopic(topic),
    getTroubleshootingErrorsByTopic(topic),
  ])

  const pageTitle = `${sectionName} Troubleshooting`
  const pageDescription =
    description || `Search or browse troubleshooting guides for common ${sectionName} issues.`

  return (
    <div className="flex flex-col">
      <TroubleshootingHeader
        title={pageTitle}
        description={pageDescription}
        keywords={keywords}
        errors={errors}
      />
      <div className="flex-1">
        <div className="px-5 pt-6">
          <TroubleshootingListController />
          <TroubleshootingFilterEmptyState />
          <TroubleshootingEntries name={sectionName} entries={troubleshootingEntries} />
        </div>
      </div>
    </div>
  )
}

Subdomains

Frequently Asked Questions

What does SectionTroubleshootingPage() do?
SectionTroubleshootingPage() is a function in the supabase codebase.
What does SectionTroubleshootingPage() call?
SectionTroubleshootingPage() calls 3 function(s): getTroubleshootingEntriesByTopic, getTroubleshootingErrorsByTopic, getTroubleshootingKeywordsByTopic.

Analyze Your Own Codebase

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

Try Supermodel Free