Skip to content

Scheduling infrastructure for absolutely everyone.

Merge branch 'main' into fix/calendar-style

Bailey Pumfleet5cb0e44b0082
diff --cc pages/[user]/[type].tsx
index 36e9f435b1b,2fbd5bc3160..ec8398eb7b5
--- a/pages/[user]/[type].tsx
+++ b/pages/[user]/[type].tsx
@@@ -78,7 -79,10 +79,10 @@@ export default function Type(props)
// Combine placeholder days with actual days
const calendar = [...emptyDays, ...days.map((day) =>
- <button key={day} onClick={(e) => setSelectedDate(dayjs().tz(dayjs.tz.guess()).month(selectedMonth).date(day))} disabled={selectedMonth < parseInt(dayjs().format('MM')) && dayjs().month(selectedMonth).format("D") > day} className={"text-center w-10 h-10 rounded-full mx-auto " + (dayjs().isSameOrBefore(dayjs().date(day).month(selectedMonth)) ? 'bg-blue-50 text-blue-600 font-medium' : 'text-gray-400 font-light') + (dayjs(selectedDate).month(selectedMonth).format("D") == day ? ' bg-blue-600 text-white-important' : '')}>
+ <button key={day} onClick={(e) => {
+ telemetry.withJitsu((jitsu) => jitsu.track('date_selected'))
+ setSelectedDate(dayjs().tz(dayjs.tz.guess()).month(selectedMonth).date(day))
- }} disabled={selectedMonth < dayjs().format('MM') && dayjs().month(selectedMonth).format("D") > day} className={"text-center w-10 h-10 rounded-full mx-auto " + (dayjs().isSameOrBefore(dayjs().date(day).month(selectedMonth)) ? 'bg-blue-50 text-blue-600 font-medium' : 'text-gray-400 font-light') + (dayjs(selectedDate).month(selectedMonth).format("D") == day ? ' bg-blue-600 text-white-important' : '')}>
++ }} disabled={selectedMonth < parseInt(dayjs().format('MM')) && dayjs().month(selectedMonth).format("D") > day} className={"text-center w-10 h-10 rounded-full mx-auto " + (dayjs().isSameOrBefore(dayjs().date(day).month(selectedMonth)) ? 'bg-blue-50 text-blue-600 font-medium' : 'text-gray-400 font-light') + (dayjs(selectedDate).month(selectedMonth).format("D") == day ? ' bg-blue-600 text-white-important' : '')}>
{day}
</button>
)];
diff --cc yarn.lock
index 36257ba0024,a2859e4a863..62cb3042f87
--- a/yarn.lock
+++ b/yarn.lock
@@@ -152,22 -157,13 +152,27 @@@
"@heroicons/react@^1.0.1":
version "1.0.1"
- resolved "https://registry.npmjs.org/@heroicons/react/-/react-1.0.1.tgz"
+ resolved "https://registry.yarnpkg.com/@heroicons/react/-/react-1.0.1.tgz#66d25f6441920bd5c2146ea27fd33995885452dd"
integrity sha512-uikw2gKCmqnvjVxitecWfFLMOKyL9BTFcU4VM3hHj9OMwpkCr5Ke+MRMyY2/aQVmsYs4VTq7NCFX05MYwAHi3g==
+"@next-auth/prisma-legacy-adapter@canary":
+ version "0.0.1-canary.115"
+ resolved "https://registry.yarnpkg.com/@next-auth/prisma-legacy-adapter/-/prisma-legacy-adapter-0.0.1-canary.115.tgz#ef291c865f1ce9d85f660c85b0b0be16bd89c641"
+ integrity sha512-rIIisYBvVtxDbY9Lbm+HOLbZyOaaEmtGc9wDN3tJLDUu3sLJOXNN7Pz29ThS+gf2lpMxXnfvk587hxGrnhCghQ==
+
+"@next-auth/typeorm-legacy-adapter@canary":
+ version "0.0.2-canary.117"
+ resolved "https://registry.yarnpkg.com/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-canary.117.tgz#c71f7e5f3b474e8b292acaa8ad69d2a4537f93ba"
+ integrity sha512-sYJZPWMsM1ZTJcl749UojYDF4q8+ZiYcrR7rM4SACc0qiA9VBdOYUUMUMpQoazKOiwo1rWDKu4wHPt6CdV0ctQ==
+ dependencies:
+ crypto-js "^4.0.0"
+ require_optional "^1.0.1"
+ typeorm "^0.2.30"
++
+ "@jitsu/sdk-js@^2.0.0":
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/@jitsu/sdk-js/-/sdk-js-2.0.0.tgz#01ef96c602b3b2aa1e1a4bf87e868f7a5bfe3b35"
+ integrity sha512-+IQLEbzrIpuXKmP2bLbD7eAdF1WaEcZ2eaSMl6AAwcE0BEFctjNG8QhQYWsMgb+KahNKFz1ARll3aJegkqgrew==
version "10.2.0"