mirror of
https://github.com/hanzoai/insights.git
synced 2026-10-30 16:15:31 +00:00
716 files rewritten, 30 renamed, same family mapping as the frontend pass.
Held back, and each for a reason rather than by oversight:
db_table values insights_hogfunction, insights_hogflow,
insights_hogfunctiontemplate, hogflow_templates.
Renaming a table is ALTER TABLE, so it ships as a
migration with the raw SQL in nodejs that names it.
hog_invocation_results a Datastore table with Kafka engine tables on it
products/review_hog the module path is the Django app path; moving it
moves app_label and every migration is recorded under
(app_label, name). That is the same history break as
renaming a migration file, one level up.
*/migrations/* five files, untouched
whogho an integration vendor
Checked: 395 of 397 changed Python files compile. The two that do not —
insightsql/database/database.py and temporal/schedule.py — fail identically at
origin/main under the same interpreter, because they use `type X = ...` and
`except*`, which need the 3.13 this repo pins and not the 3.9 doing the check.
Running the check against the original is what told those apart from a real
break.
Co-authored-by: Hanzo Dev <[email protected]>
57 lines
2.9 KiB
TypeScript
57 lines
2.9 KiB
TypeScript
import { IconOpenSidebar } from '@hanzo/icons'
|
|
import { Banner, Button } from '@hanzo/elements'
|
|
|
|
import { SupportHeroScript } from 'lib/components/mascots'
|
|
import { urls } from 'scenes/urls'
|
|
|
|
export function ConversationsDisabledBanner(): JSX.Element {
|
|
return (
|
|
<Banner type="info" hideIcon={true}>
|
|
<div className="flex gap-8 p-8 lg:flex-row justify-center flex-wrap">
|
|
<div className="hidden lg:flex justify-center items-center w-full lg:w-50">
|
|
<SupportHeroScript className="h-[200px] w-[200px]" />
|
|
</div>
|
|
<div className="flex flex-col gap-2 flex-shrink max-w-180">
|
|
<h2 className="text-lg font-semibold">Welcome to Support</h2>
|
|
<p className="font-normal">
|
|
Support lets you manage customer conversations directly inside Insights. Enable the conversations
|
|
API to get started.
|
|
</p>
|
|
<ul className="list-disc list-inside font-normal space-y-2">
|
|
<li>
|
|
<strong>Centralized inbox:</strong> Receive and reply to customer messages from an in-app
|
|
widget, Slack, Email or the API — all in one place.
|
|
</li>
|
|
<li>
|
|
<strong>Ticket management:</strong> Track, prioritize, and assign tickets with SLAs so
|
|
nothing falls through the cracks.
|
|
</li>
|
|
<li>
|
|
<strong>Deep product context:</strong> See session recordings, events, error tracking, and
|
|
previous tickets for each person behind every ticket.
|
|
</li>
|
|
<li>
|
|
<strong>Workflow automation:</strong> Trigger workflows on ticket events like creation,
|
|
status changes, or new messages to automate assignments, notifications, and more.
|
|
</li>
|
|
</ul>
|
|
<div className="flex items-center gap-x-4 gap-y-2 flex-wrap">
|
|
<Button className="hidden @md:flex" type="primary" to={urls.supportSettings()}>
|
|
Enable
|
|
</Button>
|
|
<Button
|
|
type="tertiary"
|
|
sideIcon={<IconOpenSidebar className="w-4 h-4" />}
|
|
to="https://hanzo.ai/docs/support?utm_medium=in-product&utm_campaign=support-empty-state-docs-link"
|
|
data-attr="support-introduction-docs-link"
|
|
targetBlank
|
|
>
|
|
Learn more
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</Banner>
|
|
)
|
|
}
|