Commit Graph

1087 Commits (8ac56fbf4a4e8c4385de1efe2282b9a835370ce1)

Author SHA1 Message Date
Peer Richelsen 8ac56fbf4a
bring back h-screen in user page (#829) 2021-09-30 11:41:13 +00:00
Peer Richelsen 378cf25521
turned teams page into flex from grid to center it (#828)
* turned teams page into flex from grid to center it, removed h-screen from user page

* new icon button

Co-authored-by: Alex van Andel <me@alexvanandel.com>
2021-09-30 12:31:04 +01:00
Omar López dc6841e761
Bookings UI improvements (#826) 2021-09-30 11:46:39 +01:00
Bailey Pumfleet 033c4835f7
Fix: Remove 0s from team page (#827)
* Remove 0s from team page

* damn it
2021-09-30 10:24:02 +01:00
Omar López a04336ba06
Added booking tabs, type fixing and refactoring (#825)
* More type fixes

* More type fixes

* Type fixes

* Adds inputMode to email fields

* Added booking tabs

* Adds aditional notes to bookings
2021-09-29 22:33:18 +01:00
Syed Ali Shahbaz 5318047794
fixed reload after disband team (#823) 2021-09-29 18:04:47 +01:00
Bailey Pumfleet 079a920c2c
CTA on success page (#818) 2021-09-29 15:36:29 +00:00
Alex van Andel a30381f229
Lowercase username try #3 (#821)
3 times is a charm.. can't believe this took 3 tries.
2021-09-29 15:58:25 +01:00
Omar López e7314257c3
Adds possibilty to analyze client and server bundle size (#677) 2021-09-29 15:36:58 +01:00
Mihai C 4a07c27da5
fix: alert severity (#814)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-09-29 11:33:40 +00:00
Peer Richelsen d7df292296
replaced favicons (#817) 2021-09-29 10:57:19 +00:00
dependabot[bot] 3014df61cc
⬆️ Bump tailwindcss from 2.2.15 to 2.2.16 (#796)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.2.15 to 2.2.16.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v2.2.15...v2.2.16)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-29 11:28:27 +01:00
Mihai C 8f6689cfc1
chore: add some dx configs (#650)
* chore: add some dx configs

* fix: update configs

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-09-29 09:41:38 +00:00
Omar López 7a8ad8381e
Fixes error when user cancels stripe integration (#813)
* Fixes customer portal return ur

* Attempt to fix portal CSRF issue

* Fixes CSRF issue with Stripe redirect

* Fixes error when user cancels stripe integration
2021-09-28 22:27:06 +01:00
Alex Johansson f8a4f81991
fix stripe `customer.subscription.deleted`-webhook (#811) 2021-09-28 19:48:45 +00:00
Alex Johansson e684824c79
`yarn lint --fix` (#812) 2021-09-28 20:12:48 +01:00
Malte Delfs 3b71c86b1e
prevent cancellation of past events (#568)
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: Peer_Rich <peeroke@gmail.com>
2021-09-28 18:23:50 +01:00
Omar López 230c82e316
Zomars/fixes stripe portal redirect (#808) 2021-09-28 17:21:45 +01:00
Peer Richelsen b8c4dfb9e1 minor style changes to billing page 2021-09-28 15:07:33 +01:00
Alex Johansson a4fbe7b2b4
downgrade users when trial ends (#767)
* wip

* wip

* wip

* wtf

* should be all the logic

* comment

* fix receiver name

* safeguard a bit more

* downgrade users cron job

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-28 14:00:19 +01:00
Bailey Pumfleet 0372289fe6
Unblock / on robots.txt 2021-09-28 13:21:30 +01:00
Bailey Pumfleet 5478c135d1
Set tabIndex for forgot password & add loader (#807) 2021-09-28 10:43:15 +00:00
Bailey Pumfleet a3abdac33b
Update billing tab UI (#806) 2021-09-28 11:27:46 +01:00
Alex Johansson 7779c098dc
confirming event gives no visual (#803) 2021-09-28 09:16:02 +00:00
Omar López dd9f801872
cal 485 prevent users from changing their username to premium ones (#799)
* Makes userRequired middleware

* Prevent users from changing usernames to premium ones

* refactor on zomars' branch (#801)

* rename `profile` -> `mutation`

* `createProtectedRouter()` helper

* move profile mutation to `viewer.`

* simplify checkUsername

* Auto scrolls to error when there is one

* Renames username helpers

* Follows db convention

Co-authored-by: Alex Johansson <alexander@n1s.se>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-09-28 09:57:30 +01:00
Omar López f23e4f2b9d
Fixes customer portal return url (#802) 2021-09-28 09:04:30 +01:00
Alex Johansson dcea723ea4
confirming event gives no visual feedback (#804) 2021-09-27 18:11:52 -06:00
Peer Richelsen 58dde562a3
switching to stripes customer portal (#772) 2021-09-27 23:57:23 +01:00
Alex Johansson 9f2cfffce4
fix loading spinner flicker (#800) 2021-09-27 23:42:04 +01:00
Alex van Andel dc7b084bdf
Remove Moment dependency by changing implementation of DateRangePicker to something leaner (#798)
* chore: extracted all DateRangePicker logic from event-types/[type].tsx

* Minor alignment fixes + Date.now() instead of 1970.

* Removes react-dates, implements wojtekmaj/react-daterange-picker
2021-09-27 22:12:55 +01:00
Syed Ali Shahbaz 78c78a6981
added relative position to placeholder parent (#797) 2021-09-27 18:59:50 +01:00
dependabot[bot] 35c450d5ef
⬆️ Bump jest from 27.2.1 to 27.2.2 (#785)
Bumps [jest](https://github.com/facebook/jest) from 27.2.1 to 27.2.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.2.1...v27.2.2)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-09-27 17:04:32 +00:00
Alex Johansson 649e79bdc7
statically render profile pages (#615) 2021-09-27 17:09:19 +01:00
Alex Johansson 34300650e4
add tRPC (#614)
* add trpc

* trpc specific

* fix deps

* lint fix

* upgrade prisma

* nativeTypes

* nope, not needed

* fix app propviders

* Revert "upgrade prisma"

This reverts commit e6f2d2542a.

* rev

* up trpc

* simplify

* wip - bookings page with trpc

* bookings using trpc

* fix `Shell` props

* call it viewerRouter instead

* cleanuop

* ssg helper

* fix lint

* fix types

* skip

* add `useRedirectToLoginIfUnauthenticated`

* exhaustive-deps

* fix callbackUrl

* rewrite `/availability` using trpc

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-27 14:47:55 +00:00
Peer Richelsen 0938f6f4b2
added z-index for event types dropdown (#791) 2021-09-27 10:19:11 +00:00
Alex van Andel c22beb698c
Fixes the Radix UI warning for consistent IDs (#774)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-09-26 21:55:27 +00:00
Omar López 7ab49acebe
Fixes eventype form (#777)
* Type fixes

* Uses all integrations and session fixes on getting started page

* eventtype form fixes

* Update pages/event-types/[type].tsx

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-26 21:49:16 +00:00
Alex Johansson b23c032a4c
Update .kodiak.toml (#782)
maybe this can stop @PeerRich & @baileypumfleet to use the force squash? 

everything you open will be automatically approved so you can use "Auto-merge" at least when you yolo stuff

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-26 22:45:08 +01:00
Alex Johansson 22b050b9e7
`yarn lint --fix` (#783) 2021-09-26 14:08:40 +00:00
Peer Richelsen 6d2f89fc32 Cale to Cal 2021-09-26 15:04:01 +01:00
Peer Richelsen ee5cc32936 renamed PoweredByCalendso 2021-09-25 17:03:08 +01:00
Peer Richelsen b125ece57b gave powered by absolute path 2021-09-25 16:55:13 +01:00
Chris 97cb7bdc83
Show raw secret during two-factor setup (#775) 2021-09-25 16:53:12 +01:00
Alex van Andel 515c548acd
Fixes theme flickering on booking & availability select page (#771) 2021-09-24 23:11:30 +01:00
Eduardo M 727793af02
Fix link ignoring app url on even-type (#773) 2021-09-24 23:09:30 +01:00
Omar López 9e7cb2c0b8
CAL-469 Adds intercom dynamically (#762)
* Adds react-use-intercom

* Adds intercom env var

* Loads intercom dynamically if env is set

* CAL-473 Fixes client-side routing for authed pages

* Moves intercom code to ee

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-24 21:02:03 +01:00
Peer Richelsen 889b3f36ae fixed mobile booking layout for long descriptions 2021-09-24 18:03:09 +01:00
Omar López 50367c236a
Prevents a 404 page for payments (#770) 2021-09-24 17:45:35 +01:00
Peer Richelsen 63930c1817
Fix/event type button alignment (#765)
* fixed event-type buttons on mobile, added more font-cal classes

* remove 1-on-1 on mobile event types

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-09-24 15:11:15 +00:00
Alex Johansson 6a4d6c7eba
remove `npm-run-all` (#768) 2021-09-24 15:07:31 +00:00