Alex Johansson
4879479981
add `<QueryCell />` to remove bespoke loading/error/empty/success logic ( #835 )
2021-10-01 15:12:47 +00:00
Alex Johansson
5bed09218a
add some query client defaults ( #838 )
2021-10-01 15:33:14 +01:00
Alex Johansson
08f83dd85c
fix login sometimes having to login twice ( #839 )
2021-10-01 13:20:28 +01:00
Peer Richelsen
3d3e99272a
replaced another location.hostname, deleted DonateBanner ( #834 )
...
* replaced another location.hostname, deleted DonateBanner
* wip
2021-10-01 09:44:53 +00:00
Peer Richelsen
860db6c959
added license banner ( #833 )
...
* added license banner and NEXT_PUBLIC_LICENSE_CONSENT in .env.example. agree to hide the banner
* minor changes to license banner
* added /ee/ to tailwind purge config
* wip
2021-10-01 00:42:08 +01:00
Alex Johansson
30163f0a78
refactor availability times form using react-hook-form ( #824 )
...
* use toast
* use `Button`
* make fn
* rewrite with react-hook-form
* add comment
* fix deps
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-30 22:37:52 +01:00
Alex Johansson
60298f6eeb
resize image before storing ( #831 )
...
* resize image fn
* wip
* simplify transform
* comment
* fix
* rm log
* allow pass-through for non-base-64
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2021-09-30 21:37:29 +01:00
Peer Richelsen
e33962686e
minor changes to booking page and navtabs ( #832 )
2021-09-30 20:59:34 +01:00
Alex Johansson
c80992aa1c
move `withTRPC`-HOC to `_app.tsx` ( #822 )
2021-09-30 06:28:30 -06:00
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