added more screenshots and validation (#5645)

Co-authored-by: alannnc <alannnc@gmail.com>
This commit is contained in:
Peer Richelsen 2022-11-22 19:37:27 +00:00 committed by GitHub
parent 596f723cff
commit ba6963573e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 98 additions and 0 deletions

View File

@ -31,6 +31,7 @@ import { metadata as rainbow_meta } from "./rainbow/_metadata";
import { metadata as raycast_meta } from "./raycast/_metadata";
import { metadata as riverside_meta } from "./riverside/_metadata";
import { metadata as sendgrid_meta } from "./sendgrid/_metadata";
import { metadata as signal_meta } from "./signal/_metadata";
import { metadata as sirius_video_meta } from "./sirius_video/_metadata";
import { metadata as stripepayment_meta } from "./stripepayment/_metadata";
import { metadata as tandemvideo_meta } from "./tandemvideo/_metadata";
@ -73,6 +74,7 @@ export const appStoreMetadata = {
raycast: raycast_meta,
riverside: riverside_meta,
sendgrid: sendgrid_meta,
signal: signal_meta,
sirius_video: sirius_video_meta,
stripepayment: stripepayment_meta,
tandemvideo: tandemvideo_meta,

View File

@ -30,6 +30,7 @@ export const apiHandlers = {
raycast: import("./raycast/api"),
riverside: import("./riverside/api"),
sendgrid: import("./sendgrid/api"),
signal: import("./signal/api"),
sirius_video: import("./sirius_video/api"),
stripepayment: import("./stripepayment/api"),
tandemvideo: import("./tandemvideo/api"),

View File

@ -0,0 +1,9 @@
---
description: Schedule a chat with your guests or have a Signal Video call.
items:
- /api/app-store/signal/1.jpg
- /api/app-store/signal/2.jpg
---
{description}

View File

@ -0,0 +1,10 @@
import type { AppMeta } from "@calcom/types/App";
import config from "./config.json";
export const metadata = {
category: "other",
...config,
} as AppMeta;
export default metadata;

View File

@ -0,0 +1,17 @@
import { AppDeclarativeHandler } from "@calcom/types/AppHandler";
import { createDefaultInstallation } from "../../_utils/installation";
import appConfig from "../config.json";
const handler: AppDeclarativeHandler = {
// Instead of passing appType and slug from here, api/integrations/[..args] should be able to derive and pass these directly to createCredential
appType: appConfig.type,
variant: appConfig.variant,
slug: appConfig.slug,
supportsMultipleInstalls: false,
handlerType: "add",
createCredential: ({ appType, user, slug }) =>
createDefaultInstallation({ appType, userId: user.id, slug, key: {} }),
};
export default handler;

View File

@ -0,0 +1 @@
export { default as add } from "./add";

View File

@ -0,0 +1,25 @@
{
"/*": "Don't modify slug - If required, do it using cli edit command",
"name": "Signal",
"slug": "signal",
"type": "signal_video",
"imageSrc": "/api/app-store/signal/icon.svg",
"logo": "/api/app-store/signal/icon.svg",
"url": "https://cal.com/apps/signal",
"variant": "conferencing",
"categories": ["video"],
"publisher": "Cal.com, Inc.",
"email": "support@cal.com",
"description": "Schedule a chat with your guests or have a Signal Video call.",
"extendsFeature": "User",
"__createdUsingCli": true,
"appData": {
"location": {
"type": "integrations:signal_video",
"label": "Signal",
"linkType": "static",
"organizerInputPlaceholder": "https://signal.me/#p/+11234567890",
"urlRegExp": "^http(s)?:\\/\\/(www\\.)?signal.me\\/[a-zA-Z0-9]*"
}
}
}

View File

@ -0,0 +1,2 @@
export * as api from "./api";
export { metadata } from "./_metadata";

View File

@ -0,0 +1,14 @@
{
"$schema": "https://json.schemastore.org/package.json",
"private": true,
"name": "@calcom/signal",
"version": "0.0.0",
"main": "./index.ts",
"description": "Schedule a chat with your guests or have a Signal Video call.",
"dependencies": {
"@calcom/lib": "*"
},
"devDependencies": {
"@calcom/types": "*"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

View File

@ -0,0 +1,11 @@
<svg width="1024" height="1024" viewBox="0 0 1024 1024" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1_2)">
<path d="M32 0C14.3269 0 0 14.3269 0 32V992C0 1009.67 14.3269 1024 32 1024H992C1009.67 1024 1024 1009.67 1024 992V32C1024 14.3269 1009.67 0 992 0H32Z" fill="#3A76F0"/>
<path d="M427.5 170.3L435.4 202.3C404.264 209.995 374.463 222.333 347 238.9L330.1 210.6C360.329 192.293 393.173 178.704 427.5 170.3V170.3ZM596.5 170.3L588.6 202.3C619.736 209.995 649.537 222.333 677 238.9L694.1 210.6C663.791 192.31 630.884 178.722 596.5 170.3V170.3ZM210.6 330C192.311 360.274 178.722 393.148 170.3 427.5L202.3 435.4C209.995 404.264 222.333 374.463 238.9 347L210.6 330ZM193 512C192.998 495.999 194.201 480.02 196.6 464.2L164 459.2C158.7 494.167 158.7 529.733 164 564.7L196.6 559.8C194.205 543.979 193.001 528.001 193 512V512ZM693.9 813.3L677 785.1C649.58 801.682 619.81 814.021 588.7 821.7L596.6 853.7C630.885 845.215 663.689 831.595 693.9 813.3ZM831 512C830.999 528.001 829.795 543.979 827.4 559.8L860 564.7C865.3 529.733 865.3 494.167 860 459.2L827.4 464.2C829.799 480.02 831.002 495.999 831 512V512ZM853.7 596.4L821.7 588.5C814.023 619.674 801.684 649.51 785.1 677L813.4 694C831.707 663.7 845.296 630.789 853.7 596.4V596.4ZM559.8 827.4C528.114 832.201 495.886 832.201 464.2 827.4L459.3 860C494.233 865.3 529.767 865.3 564.7 860L559.8 827.4ZM768.8 701.2C749.793 726.975 727.003 749.731 701.2 768.7L720.8 795.3C749.221 774.378 774.364 749.336 795.4 721L768.8 701.2ZM701.2 255.2C727.005 274.205 749.795 296.995 768.8 322.8L795.4 303C774.438 274.638 749.362 249.562 721 228.6L701.2 255.2ZM255.2 322.8C274.205 296.995 296.995 274.205 322.8 255.2L303 228.6C274.638 249.562 249.562 274.638 228.6 303L255.2 322.8ZM813.4 330L785.1 347C801.682 374.42 814.021 404.19 821.7 435.3L853.7 427.4C845.277 393.08 831.689 360.238 813.4 330V330ZM464.2 196.6C495.886 191.799 528.114 191.799 559.8 196.6L564.7 164C529.767 158.7 494.233 158.7 459.3 164L464.2 196.6ZM272.1 804.1L204 819.9L219.9 751.8L187.8 744.3L171.9 812.4C170.905 816.622 170.752 820.999 171.451 825.28C172.149 829.561 173.684 833.663 175.969 837.35C178.254 841.037 181.243 844.238 184.766 846.769C188.289 849.3 192.276 851.111 196.5 852.1C201.439 853.2 206.561 853.2 211.5 852.1L279.6 836.4L272.1 804.1ZM194.6 714.9L226.8 722.3L237.8 675.1C221.736 648.154 209.772 618.968 202.3 588.5L170.3 596.4C177.498 625.564 188.386 653.691 202.7 680.1L194.6 714.9ZM348.6 786.3L301.4 797.3L308.9 829.5L343.6 821.4C369.989 835.757 398.122 846.647 427.3 853.8L435.2 821.8C404.827 814.23 375.744 802.199 348.9 786.1L348.6 786.3ZM512 226C354 226.1 226.1 354.2 226.1 512.1C226.187 565.881 241.4 618.554 270 664.1L242.5 781.5L359.8 754C493.5 838.1 670.1 798 754.2 664.4C838.3 530.8 798.3 354.2 664.7 270C618.963 241.238 566.029 225.985 512 226" fill="white"/>
</g>
<defs>
<clipPath id="clip0_1_2">
<rect width="1024" height="1024" rx="256" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -113,5 +113,11 @@
"categories": ["video"],
"slug": "whatsapp",
"type": "whatsapp_video"
},
{
"dirName": "signal",
"categories": ["video"],
"slug": "signal",
"type": "signal_video"
}
]