Commit graph

56 commits

Author SHA1 Message Date
Peer_Rich
2574006f07
fixed mobile layout for event types advanced settings (#627) 2021-09-11 09:45:34 +01:00
Mihai C
903f7729c7
feat: add better error handling (#605)
* feat: add better error handling

* refactor: update after review

* refactor: remove unnecessary code

* refactor: better path structure

* refactor: fetch-wrapper after code review

Co-authored-by: Mihai Colceriu <colceriumi@gmail.com>
2021-09-09 16:51:06 +03:00
Bailey Pumfleet
70f595ec08
Change event types to use slug instead of ID (#612)
* Temporarily disable checking video busy times

* Add fix for create event type modal
2021-09-08 20:43:51 +01:00
Alex Johansson
a9a6d69ba6
tweak inferSSRProps to not need as const (#591) 2021-09-08 11:03:43 +00:00
Bailey Pumfleet
50d727cbbb
Temporarily disable checking video busy times (#603) 2021-09-08 10:14:13 +02:00
Alex Johansson
7e6e935ed3
add free plan (#549)
- add new fields to support this
- when free:
  - fade out all event types after first
  - hide events after first on booking page
  - make booking page after the first one 404 if accessed directly
- add e2e tests
2021-09-06 13:51:15 +00:00
Adam Spiers
9077640983
Fix the text of the requiresConfirmation option (#571) 2021-09-04 18:41:39 +01:00
Alex Johansson
2f1ede9bcd
use getSession() from @lib/auth everywhere (#563) 2021-09-03 21:51:21 +01:00
Alex Johansson
8999829490
inverted logic on ONBOARDING_INTRODUCED_AT (#566) 2021-09-03 17:24:11 +00:00
Alex Johansson
8eaa94d3c1
mv ONBOARDING_INTRODUCED_AT to new file (#557)
otherwise will the `/event-types`-route probably unnecessarily import the whole `getting_started`-page
2021-09-02 16:36:58 +00:00
Alex Johansson
72c43cc44e
mv /getting_started to /getting-started (#556) 2021-09-02 16:26:21 +00:00
Alex Johansson
52f95eb1c3
add inferSSRProps utility (#551) 2021-09-02 18:10:44 +02:00
Femi Odugbesan
2d23a8b7db
Onboarding Flow (#503)
* wip

* wip

* db: schedule schema

* fix adding time goes into new day

fix adding new time not keeping updating ranges

fix updating ranges not maintaining changed values

* remove photo upload

* remove unused code

* remove more unused code

* undo time lib

* didnt actually change this

* dont show onboardi
ng flow for users created before sept 1 2021

* use more consistent max-widths

* align all inputs in scheduler component

* allow overriding of default styles

* match figma designs

implement goto previous step

* add more types, match figma

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-09-02 13:13:19 +01:00
Femi Odugbesan
8e9703545a
fix: error when description is null (#536) 2021-08-28 19:04:09 +02:00
Alex van Andel
252179f3be
Add 'Button' component & update to current best practise (#523)
* Add 'Button' component & update to current best practise

* Use literal string for type, renamed alert -> variety

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-08-27 14:22:49 +00:00
Mihai C
a37411b8af
refactor: add next-seo (#531)
* refactor: add next-seo

* refactor: change naming of seo component
2021-08-27 15:35:20 +03:00
Mihai C
fc50821282
feat: add react-query and navigate to edit after event-type creation (#528)
* feat: add react-query and navigate to edit after event-type creation

* fix: add types/toasts and add react-query mutations on event-types

Co-authored-by: Mihai Colceriu <colceriumi@gmail.com>
2021-08-27 15:11:24 +03:00
Peer Richelsen
5fe4a37908 added floating action button props to <Button> and using it in event types on mobile 2021-08-23 22:42:24 +02:00
Alex Johansson
a77a15056a
<Button>-component (#480)
-`<Button/>` component
- Uses `next/link` + `<a/>` if you supply a `href` otherwise `<button/>`
- Add UI sandbox
- Change the `event-types/index` to use a query param for deciding if modal is open or not
2021-08-23 14:45:25 +02:00
Mihai C
3894ee12d1
feat: CustomEventType placeholder and API fixes (#446)
* feat: add optional placeholder for text/multi-line text custom inputs on event types

* fix: delete associations of event type first

* fix: remove unneeded check

* fix: minor tweak

Co-authored-by: mihaic195 <mihai@sortlist.com>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-08-22 14:06:26 +01:00
Alex Johansson
f63aa5d550
add linting in CI + fix lint errors (#473)
* run `yarn lint --fix`

* Revert "Revert "add linting to ci""

This reverts commit 0bbbbee4be.

* Fixed some errors

* remove unused code - not sure why this was here?

* assert env var

* more type fixes

* fix typings og gcal callback - needs testing

* rename `md5.ts` to `md5.js`

it is js.

* fix types

* fix types

* fix lint errors

* fix last lint error

Co-authored-by: Alex van Andel <me@alexvanandel.com>
2021-08-19 14:27:01 +02:00
Peer_Rich
a162949cf1
added useNotification @lib, using it in EventType (#468) 2021-08-18 10:18:18 +02:00
Bailey Pumfleet
c9ea8fd624
Merge pull request #445 from mihaic195/fix/feedback-on-event-type-update
fix: add success modal on event-type update
2021-08-17 09:41:19 +01:00
Alex van Andel
252a329f09 Fixed issues relating to custom-inputs
* Don't duplicate custom input when editing before db persist
* Remove correct custom input during delete pre db persist (id undefined)
* Moved typings to prisma, keeping backwards compatibility with @map
* Updated all usages of the enum
2021-08-14 17:03:50 +00:00
mihaic195
5193b723a4
fix: add success modal on event-type update 2021-08-13 12:48:20 +03:00
Alex van Andel
abdfd1d412 Resolved errors on the pages/event-types/[type].tsx page 2021-08-10 22:25:26 +00:00
nicolas
560bd19472 Merge branch 'main' into bugfix/unify-email-sending 2021-08-08 21:21:33 +02:00
Peer Richelsen
d562e83c9e route into event types after deleting an event type 2021-08-07 23:06:13 +02:00
Peer Richelsen
c9cb36d24e added ToolTip component and added to EventTypes 2021-08-07 14:02:01 +02:00
joshsny
a764b960b2 changed preview link to open in new tab 2021-08-06 07:30:17 +02:00
Peer Richelsen
3fd3e9ad83 truncate event type description on mobile 2021-08-05 21:14:58 +02:00
Peer Richelsen
9b9db3565a hide preview and copy link button on mobile 2021-08-05 21:03:33 +02:00
Peer Richelsen
68b0c4b8b0 removed unused imports 2021-08-05 20:49:05 +02:00
Peer Richelsen
7ef29453bf minor changes to integrations type eslint 2021-08-05 13:36:24 +02:00
Peer Richelsen
2a18516d19 first half of revisions 2021-08-05 12:02:06 +02:00
Bailey Pumfleet
721b874bed Re-add auto slug population 2021-08-04 17:06:05 +01:00
Alex van Andel
97d727c620 Minor style improvements + fixed nested button, DialogTrigger is a button 2021-08-03 23:28:12 +00:00
Alex van Andel
4225016829 Changed the mechanism by which we center the dialog 2021-08-03 22:17:12 +00:00
Alex van Andel
972a8dcb76 Merged with main 2021-08-03 17:52:10 +00:00
Alex van Andel
c02eaf2486 Implemented @radix-ui/dialog for creating new event types 2021-08-03 17:36:55 +00:00
Peer Richelsen
60d8b05422 temporally removed backdrop for event type dialog until @emrysal implements radix 2021-08-03 13:43:00 +02:00
Peer Richelsen
60242d3237 trying to figure out why event types modal is not working correctly on mobile safari 2021-08-03 13:34:46 +02:00
Peer Richelsen
57b4e25647 changed zIndex of modal backfrop to 0 2021-08-03 13:23:19 +02:00
Peer Richelsen
ae836321c9 changed zIndex of modal backfrop to 10 2021-08-03 13:21:21 +02:00
Peer Richelsen
39ee723dc5 moved zIndex for modal to 50 from 10 2021-08-03 13:19:32 +02:00
Peer Richelsen
49777eb05b full width event types list on mobile 2021-08-03 13:16:25 +02:00
Peer Richelsen
5b48b26111 fixed layout for event type detail view on mobile 2021-08-03 12:01:12 +02:00
Peer Richelsen
8340fce157 extracted classNames into helpers 2021-08-03 10:30:35 +02:00
Peer Richelsen
0bc0119362 Merge branch 'main' of github.com:calendso/calendso 2021-08-03 10:12:17 +02:00
Peer Richelsen
3119c35749 removed unused code 2021-08-03 10:07:39 +02:00