Commit Graph

2197 Commits (44736ac461b1747aaed7bba56ac7eb44a047c984)

Author SHA1 Message Date
Alex van Andel 12f6065d84
Added @types/react-phone-number-input (#983) 2021-10-17 22:10:41 +01:00
Peer Richelsen 415d5fe8bd
fix type error in <Shell> Userdropdown (#980)
* removed settings from bottom nav

* truncate bottom nav

* fixed type error in Shell
2021-10-17 13:13:24 +01:00
Peer Richelsen 4d5b5663c0
removing settings from bottom nav for all languages, truncate length (#979)
* removed settings from bottom nav

* truncate bottom nav
2021-10-17 11:36:25 +00:00
Peer Richelsen 656d58b94f
moved embed and webhooks from settings into /integrations (#978) 2021-10-17 10:35:25 +01:00
Alex Johansson c146231b31
speed up e2e tests by reusing cookies (#976) 2021-10-16 17:11:37 -07:00
Alex Johansson f08a2271fe
fix: `check-changed-files`-job always failing on `main` (#969) 2021-10-16 09:35:53 -06:00
Alex van Andel 22c4d29db5
Chore: Resolves TS errors related to FileReader/ImageUploader (#965)
* Resolves TS errors related to FileReader/ImageUploader

* Also tackle cropImage errors

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-10-16 10:42:28 +00:00
Alex Johansson a67813ee77
if you touch it you fix it (#967)
* wip

* add another

* check

* add ci job

* fix ci

* fix

* maybe

* maybs

* attempt

* test

* maybe

* another attempt

* try v2

* align with normal build

* this should break build

* Revert "this should break build"

This reverts commit 1ba44d18a1.

* tweaks

* prevent breaking on main

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-16 10:57:21 +01:00
Justin Mitchell a32e002fd7
Removes Google calendar scope (#871)
Removes https://www.googleapis.com/auth/calendar scope from Google Calendar as Google will not approve the integration with it requested. Cal.com does not currently utilize this permission either as shown in /pages/api/integrations/googlecalendar/add.ts

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2021-10-15 23:17:56 +01:00
Omar López 3641d5e46e
[CAL-493] Implements tRCP on event types (#923)
* Removes unused component

* Refactors useLocale

We don't need to pass the locale prop everywhere

* Event type fixes

* Extracts CreateNewEventDialog

* Implements tRCP for event types
2021-10-15 20:07:00 +01:00
Alex van Andel c01004b470
Chore: Remove whereAndSelect and fix typescript of main PrismaClient adapter (#966) 2021-10-15 19:31:57 +01:00
github-actions[bot] 78182db99c
New Crowdin translations by Github Action (#964)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-10-15 16:24:04 +01:00
Anton Podviaznikov 5ffee8646e
use style property for the button in the dialog instead of adding css class manually (#938)
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-10-15 15:21:22 +00:00
Alex van Andel ce8e9c126b
I18n's the i18n language dropdown & weekday using Intl (#955)
* I18n's the i18n language dropdown & weekday using Intl

* Some type fixes

* Trigger locale changes instantly (#958)

* Trigger locale changes instantly

* Restored types

* Capitalize languages across the board

Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-15 12:32:09 +01:00
github-actions[bot] b5e176a87e
New Crowdin translations by Github Action (#959)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-10-15 11:56:11 +01:00
Mihai C c4e2b6b458
more strings extractions (#963) 2021-10-15 10:53:42 +00:00
Ciarán Hanrahan e1f4ba06d8
ui updates to integrations page (#962) 2021-10-15 12:01:49 +02:00
Peer Richelsen 12f72e0283
added meta tags to daily call (#961) 2021-10-15 00:08:14 +01:00
Alex Johansson 59e25ad04e
remove unnecessary fetches of api (#960)
* skip repeating fetch of user on session changes
* fix some issues on integrations
2021-10-14 16:00:50 -06:00
Omar López c2c37b701e
Zomars/fixes trpc typo (#957) 2021-10-14 19:22:01 +00:00
Alex Johansson 2ce2bb1ca8
Show loading spinner on `<Shell />` until i18n is loaded (#946)
* show loading spinner if i18n isn't loaded

* loading spinner tweaks

Co-authored-by: Alex van Andel <me@alexvanandel.com>
2021-10-14 19:10:44 +00:00
Mihai C b74dbdca9f
fix: missing static files (#954)
* fix: missing static files

* fix: rename file
2021-10-14 14:44:00 +00:00
github-actions[bot] 60db5823c7
New Crowdin translations by Github Action (#951)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-10-14 14:35:36 +00:00
Mihai C f955ccdef9
i18n: continued (#949)
* more extractions

* fix: failing build
2021-10-14 14:24:21 +00:00
Peer Richelsen 55d77993af
added korean to i18n config (#953) 2021-10-14 14:10:53 +00:00
Peer Richelsen f1eae5fe77
added translations for navigation (#952) 2021-10-14 13:58:17 +00:00
Mihai C a711670a70
fix prisma error on event-type update (#950)
* fix prisma error on event-type update

* fix hidden event-type update
2021-10-14 14:40:24 +01:00
github-actions[bot] f4d2f3b3d1
New Crowdin translations by Github Action (#948)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-10-14 14:02:30 +01:00
github-actions[bot] 109cc51e7a
New Crowdin translations by Github Action (#947)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-10-14 13:55:34 +01:00
Mihai C 1783dae121
add es-419 (#944) 2021-10-14 12:26:11 +00:00
Peer Richelsen 3b844583c9
added lexend as fallback and new version of cal sans (#850) 2021-10-14 11:21:16 +00:00
github-actions[bot] a71d97a4ad
New Crowdin translations by Github Action (#910) 2021-10-14 11:11:47 +00:00
Omar López 0861d7cc61
Ends the war between tRPC and next-i18next (#939)
* Ends the war between tRPC and next-i18next

* Locale fixes

* Linting

* Linting

* trpc i18n (not working) (#942)

* simplify i18n handler and remove redundant(?) fn check

* split up viewer to a "logged in only" and "public"

* wip -- skip first render

Co-authored-by: Omar López <zomars@me.com>

* Linting

* I18n fixes

* We don't need serverSideTranslations in every page anymore

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Alex Johansson <alexander@n1s.se>
2021-10-14 13:57:49 +03:00
Omar López 26f20e2397
Revert "use base url (incl. app.cal.com) for iframes to support safari (#940)" (#941)
This reverts commit e615347790.
2021-10-14 00:33:43 +01:00
Peer Richelsen e615347790
use base url (incl. app.cal.com) for iframes to support safari (#940) 2021-10-13 23:10:19 +01:00
Alex van Andel cf92deb145
Removes Headless UI from the sidenav (#935)
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-10-13 14:00:40 +00:00
Alex Johansson dc4331ed17
rewrite existing cypress tests to playwright (#931) 2021-10-13 14:26:56 +01:00
Anton Podviaznikov 5c4f4bfd90
use toast instea modal for info messages (#932)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-13 13:13:00 +01:00
Alex Johansson ec6b897191
integration page follow ups (#912)
### Internals

- Replace `lodash.*` packages with plain `lodash` & replace `lodash.*` imports with `lodash/` - should have no impact on bundle size and opens up for us to use all of lodash
- Update `viewer.me` to cherry-pick what we actually need on that query to avoid leaking extra context info
- Update `getIntegrations` to never include `.key`-property to avoid leaking 

### Visual

- Update calendars so `primary` is displayed last
- Update connected calendars so they are in ascending order in which you connected them
2021-10-13 13:35:25 +02:00
Mihai C 9e2f8de313
chore: i18n/extract strings (#934) 2021-10-13 11:49:15 +01:00
Mihai C bee41b242b
chore: extract more strings (#933) 2021-10-13 10:34:55 +01:00
Alex van Andel 4ce4b141b4
Fixes Google Meet showing up during Daily or Zoom events (#930) 2021-10-13 10:13:46 +01:00
Anton Podviaznikov f9e315d10a
renamed "paid plan" to "pro" (#921) 2021-10-12 19:51:46 +00:00
Anton Podviaznikov 0871f5edf8
Refactor two modals (#861)
* refactor one modal into dialog. save profile
2021-10-12 20:43:22 +01:00
Omar López 4b05c56a0d
Fixes custom input overflow (#920)
* Fixes custom input overflow

* Truncates also placeholder

* Adds title attributes in booking notes and event descriptions
2021-10-12 18:59:52 +00:00
Omar López 64a01d33ba
Fixes custom input dialog (#916) 2021-10-12 19:54:37 +01:00
Omar López 9539d26ac7
Fixes location in payment page (#918)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-12 14:54:42 +00:00
Alex Johansson c94231f777
fix `db-up` / `db-nuke` command (#917)
`db-nuke` wasn't properly deleting the docker container
2021-10-12 14:21:57 +00:00
Omar López cfd70172f0
Refactors useLocale (#908)
* Removes unused component

* Refactors useLocale

We don't need to pass the locale prop everywhere

* Fixes syntax error

* Adds warning for missing localeProps

* Simplify i18n utils

* Update components/I18nLanguageHandler.tsx

Co-authored-by: Mihai C <34626017+mihaic195@users.noreply.github.com>

* Type fixes

Co-authored-by: Mihai C <34626017+mihaic195@users.noreply.github.com>
2021-10-12 13:11:33 +00:00
Peer Richelsen 7dd6fdde7a
full width list idems on mobile (#915) 2021-10-12 13:50:43 +01:00