feat: Cron app (#7446)

This commit is contained in:
Miguel Nieto 2023-03-09 09:13:12 -05:00 committed by GitHub
parent fa383d671b
commit 4ea729ca53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 84 additions and 0 deletions

View File

@ -8,6 +8,7 @@ import around_config_json from "./around/config.json";
import { metadata as caldavcalendar__metadata_ts } from "./caldavcalendar/_metadata";
import campfire_config_json from "./campfire/config.json";
import closecom_config_json from "./closecom/config.json";
import cron_config_json from "./cron/config.json";
import { metadata as dailyvideo__metadata_ts } from "./dailyvideo/_metadata";
import routing_forms_config_json from "./ee/routing-forms/config.json";
import { metadata as exchange2013calendar__metadata_ts } from "./exchange2013calendar/_metadata";
@ -64,6 +65,7 @@ export const appStoreMetadata = {
caldavcalendar: caldavcalendar__metadata_ts,
campfire: campfire_config_json,
closecom: closecom_config_json,
cron: cron_config_json,
dailyvideo: dailyvideo__metadata_ts,
"routing-forms": routing_forms_config_json,
exchange2013calendar: exchange2013calendar__metadata_ts,

View File

@ -9,6 +9,7 @@ export const apiHandlers = {
caldavcalendar: import("./caldavcalendar/api"),
campfire: import("./campfire/api"),
closecom: import("./closecom/api"),
cron: import("./cron/api"),
"routing-forms": import("./ee/routing-forms/api"),
exchange2013calendar: import("./exchange2013calendar/api"),
exchange2016calendar: import("./exchange2016calendar/api"),

View File

@ -0,0 +1,21 @@
---
items:
- 1.png
- 2.png
- 3.png
- 4.png
- 5.png
---
{DESCRIPTION}
### Cron's most valuable features
<!-- From "FAQs: What are Crons most valuable features?"
https://cronhq.notion.site/Cron-Calendar-5625be54feac4e13a75b10271b65ddb7 -->
- **Availability sharing** — mark holds on the grid, share the slots, and schedule with ease.
- **Team overlays** — quickly overlay teammates' calendars.
- **Time zones** — add as many as needed, drag & drop to quickly "travel" to places.
- **Multiple accounts** — unify work and personal calendars in one place.
- **Menu bar calendar** — tightly integrated; see and join upcoming meetings in seconds.
- **Speed, multi-select flows, keyboard shortcuts, and gorgeous light/dark modes.**

View File

@ -0,0 +1,20 @@
import { createDefaultInstallation } from "@calcom/app-store/_utils/installation";
import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";
import appConfig from "../config.json";
const handler: AppDeclarativeHandler = {
appType: appConfig.type,
variant: appConfig.variant,
slug: appConfig.slug,
supportsMultipleInstalls: false,
handlerType: "add",
redirect: {
newTab: true,
url: "https://cron.com",
},
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,17 @@
{
"/*": "Don't modify slug - If required, do it using cli edit command",
"name": "Cron",
"slug": "cron",
"type": "cron_other",
"imageSrc": "logo.png",
"logo": "logo.png",
"url": "https://cal.com/apps/cron",
"variant": "other",
"categories": ["calendar"],
"publisher": "miguelnietoa",
"email": "support@cal.com",
"description": "Cron is the next-generation calendar for professionals and teams.",
"isTemplate": false,
"__createdUsingCli": true,
"__template": "link-as-an-app"
}

View File

@ -0,0 +1 @@
export * as api from "./api";

View File

@ -0,0 +1,14 @@
{
"$schema": "https://json.schemastore.org/package.json",
"private": true,
"name": "@calcom/cron",
"version": "0.0.0",
"main": "./index.ts",
"dependencies": {
"@calcom/lib": "*"
},
"devDependencies": {
"@calcom/types": "*"
},
"description": "Cron is the next-generation calendar for professionals and teams."
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1000 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -204,5 +204,12 @@
"slug": "facetime",
"type": "facetime_video",
"isTemplate": false
},
{
"dirName": "cron",
"categories": ["calendar"],
"slug": "cron",
"type": "cron_other",
"isTemplate": false
}
]