feat: improve Intercom app (#19687)
* fix: don't POST to cal.com/[user]/[type] * fix: return html with cal calendar embed * fix: intercom app team events types * feat: improve Intercom UX integration * Merge branch 'main' of https://github.com/calcom/cal.com
This commit is contained in:
1 parent
a3ce957f00
commit
df598bf281
9 files changed
+352
-141
No files matched your search
@@ -15,10 +15,16 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
||||
canvas: {
|
||||
content: {
|
||||
components: [
|
||||
{
|
||||
type: "text",
|
||||
text: card_creation_options?.invitation_input ?? "Schedule a meeting with me",
|
||||
align: "left",
|
||||
style: "header",
|
||||
},
|
||||
{
|
||||
type: "button",
|
||||
id: "submit-issue-form",
|
||||
label: "Book a meeting",
|
||||
label: card_creation_options?.booking_button_input ?? "Booking button text",
|
||||
style: "primary",
|
||||
action: {
|
||||
type: "sheet",
|
||||
|
||||
Reference in new issue
Block a user