Reports - Dental Days

HubSpot Companies

Path/companies
Statustodo
Drill-down pages—
Pop-ups(+4 inline)
Tabs—
API routes/api/data/companies
/api/data/companies/:x

Business rules

Written when this page is worked on (docs/BUSINESS-RULES.md).

Database tables & columns

TableColumns used
calendars(columns not named in the SQL)
companiescity, created_at, description, domain, hubspot_id, id, industry, logo_url, name, phone, postal_code, slug, state, street_address, timezone, website

File structure

Its own files

  • apps/
    • web/
      • src/
        • pages/
          • Companies.tsx

Shared code it uses (followed through its imports and the helpers its API calls; sign-in/access plumbing and UI primitives left out)

  • apps/
    • web/
      • src/
        • components/
          • reports/
            • DentrixSourceNote.tsx
            • HowItWorksNote.tsx
            • ReportHeader.tsx
            • TableLoading.tsx
          • LastSynced.tsx
          • TablePagination.tsx
        • contexts/
          • AuthContext.tsx
        • hooks/
          • useApi.ts
          • useDebounce.ts
        • services/
          • api.ts
    • worker/
      • src/
        • routes/
          • data.ts