Commit Graph

93 Commits (c359ebe85c578e6313d47fcfed71d3c687a2ecf8)

Author SHA1 Message Date
Jamie Pine c1d90eb438
Improvement/teams (#1285)
* [WIP] checkpoint before pull & merge

- Added teams to sidebar
- Refactored team settings
- Improved team list UI

This code will be partly reverted next commit.

* [WIP]
- Moved team code back to components
- Removed team link from sidebar
- Built new team manager screen based on Event Type designs
- Component-ized frequently reused code (SettingInputContainer, FlatIconButton)

* [WIP]
- Created LinkIconButton as standalone component
- Added functionality to sidebar of team settings
- Fixed type bug on public team page induced by my normalization of members array in team query
- Removed teams-old which was kept as refrence
- Cleaned up loose ends

* [WIP]
- added create team model
- fixed profile missing label due to my removal of default label from component

* [WIP]
- Fixed TeamCreateModal trigger
- removed TeamShell, it didn't make the cut
- added getPlaceHolderAvatar
- renamed TeamCreate to TeamCreateModal
- removed deprecated UsernameInput and replaced uses with suggested TextField

* fix save button

* [WIP]
- Fixed drop down actions on team list
- Cleaned up state updates

* [WIP] converting teams to tRPC

* [WIP] Finished refactor to tRPC

* [WIP] Finishing touches

* [WIP] Team availability beginning

* team availability mvp

* - added validation to change role
- modified layout of team availability
- corrected types

* fix ui issue on team availability screen

* - added virtualization to team availability
- added flexChildrenContainer boolean to Shell to allow for flex on children

* availability style fix

* removed hard coded team type as teams now use inferred type from tRPC

* Removed unneeded vscode settings

* Reverted prisma schema

* Fixed migrations

* Removes unused dayjs plugins

* Reverts type regression

* Type fix

* Type fixes

* Type fixes

* Moves team availability code to ee

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
2021-12-09 23:51:30 +00:00
Omar López 5902f78fb2
Zomars/calendars UI fixes (#1288)
* Updates yarn.lock

* Primary calendar selector UI fixes

* Update translation string

* Mobile fixes
2021-12-09 19:37:29 +00:00
Alex Johansson 850497ea80
add select primary calendar (#1133)
* add primary

* fix

* refactor eventmanager to take `CalendarDestination`

* `DestinationCalendar`

* fix

* wip

* wip

* Minor fixes (#1156)

* Followup for #1242

* Updates schema

* Renames fields to destinationCalendar

* Migration fixes

* Updates user destination calendar

* Abstracts convertDate to BaseCalendarApiAdapter

* Type fixes

* Uses abstracted convertDate method

* Abstracts getDuration and getAttendees

* Fixes circular dependecy issue

* Adds notEmpty util

* Reverts empty location string

* Fixes property name

* Removes deprecated code

* WIP

* AppleCal is basically CalDav

* Fixes missing destinationCalendar

* Type fixes

* Select primary calendar on Office and gCal

* Adds pretty basic instructions for destination calendar

* Cleanup

* Type fix

* Test fixes

* Updates test snapshot

* Local test fixes

* Type fixes

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-12-09 15:51:37 +00:00
TomBoss ec9c8bb35d
correction of typo (#1251) 2021-12-03 16:50:39 +00:00
Peer Richelsen 2b51cd9c8d
tablet navigation: removed code redundancy & fixed alignment (#1241)
* minor design changes to tablet navigation

* added white icon logo

* reduced code redundancy in tablet view & fixed alignment
2021-12-02 20:52:38 +00:00
Syed Ali Shahbaz ec2d0a89ba
Bugfix/event types buggy view on tablet (#1238) 2021-12-01 14:56:25 +00:00
Mihai C 80a2b6c068
chore: clean up and fix images (#1224)
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-12-01 10:32:08 +00:00
Mihai C 8322e5c8d1
Emails Revamp (#1201)
* refactor: emails (WIP)

* wip

* wip

* refactor: calendarClient

* chore: remove comment

* feat: new templates

* feat: more templates (wip)

* feat: email templates wip

* feat: email templates wip

* feat: prepare for testing

* For testing stripe integration

* Uses imported BASE_URL

* Fixes types

* use BASE_URL

Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-11-26 11:03:43 +00:00
Adrien La 36767afbf5
Add full FR language translation from EN (#1202)
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-11-25 16:04:13 +00:00
Alex van Andel 5b3dd02747
Webhook tweaks + Support added for "Custom payload templates" / x-www-form-urlencoded / json (#1193)
* Changed styling of webhook test & updated <Form> component

* Implements custom webhook formats

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-11-22 11:37:07 +00:00
Syed Ali Shahbaz 4e01b13133
Feature/cal 677 brand color in settingsprofile (#1158)
* added CSS variable --brand-color

* added CustomBranding component

* prisma update for brand color

* added brandcolor to user context in viewer.me

* conflict resolution

* added brandColor input and mutation

* custom brand color to availability

* brandColor added to BookingPage

* fixed availability, booking for team and added customBranding to success

* brandColor added to cancel/uid

* requested changes

* lint fix

* further changes

* lint fix
2021-11-16 14:21:46 +05:30
Bailey Pumfleet 6b171a6f87
Manually reorder event types (#1142)
* Add event type reordering

* Add migration for position field

* hack on a hack

* can edit

* fix ordering

* Remove console.log

Co-authored-by: Alex Johansson <alexander@n1s.se>

Co-authored-by: KATT <alexander@n1s.se>
2021-11-15 12:25:49 +00:00
github-actions[bot] f0ff048f4d
New Crowdin translations by Github Action (#1168)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-11-13 09:36:07 +00:00
github-actions[bot] 6e100a6559
New Crowdin translations by Github Action (#1165)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-11-11 11:32:57 +00:00
Alex van Andel bf659c0b16
Fixed #1015 - Teams user registration is broken (#1090)
* Fixed #1015 - Teams user registration is broken

* Type fixes for avilability form in onboarding

* Re adds missing strings

* Updates user availability in one query

Tested and working correctly

* Fixes seeder and tests

Co-authored-by: Omar López <zomars@me.com>
2021-11-11 05:44:53 +00:00
Ciarán Hanrahan 16fba702fb
typography fixes (#1163) 2021-11-10 23:18:39 +00:00
github-actions[bot] 87b2ecec26
New Crowdin translations by Github Action (#1162)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-11-10 14:24:41 +00:00
github-actions[bot] 990b106c8b
New Crowdin translations by Github Action (#1161)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-11-10 14:20:14 +00:00
github-actions[bot] aaa48372b1
New Crowdin translations by Github Action (#1154)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-11-10 14:02:43 +00:00
Alex van Andel 8664d217c9
Feature/availability page revamp (#1032)
* Refactored Schedule component

* Merge branch 'main' into feature/availability-page-revamp

* wip

* Turned value into number, many other TS tweaks

* NodeJS 16x works 100% on my local, but out of scope for this already massive PR

* Fixed TS errors in viewer.tsx and schedule/index.ts

* Reverted next.config.js

* Fixed minor remnant from moving types to @lib/types

* schema comment

* some changes to form handling

* add comments

* Turned ConfigType into number; which seems to be the value preferred by tRPC

* Fixed localized time display during onboarding

* Update components/ui/form/Schedule.tsx

Co-authored-by: Alex Johansson <alexander@n1s.se>

* Added showToast to indicate save success

* Converted number to Date, and also always establish time based on current date

* prevent height flickering of availability

by removing mb-2 of input field

* availabilty: re-added mb-2 but added min-height

* Quite a few bugs discovered, but this seems functional

Co-authored-by: KATT <alexander@n1s.se>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-11-10 11:16:32 +00:00
github-actions[bot] 43fa4f6497
New Crowdin translations by Github Action (#1147)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-11-09 15:18:59 +00:00
Peer Richelsen 55a7cc928f
removed api docs button from integrations (#1149) 2021-11-09 10:07:02 +00:00
Syed Ali Shahbaz a404ca847c
updated event title message (#1132)
* updated event title message

* 4 arguments replaced by an object

* translations

* requested changes

* further requested changes

* test fix and other minor changes

* lint fix
2021-11-08 16:34:12 +05:30
Peer Richelsen 0ef6d8b452
added key_strings for /integrations (#1144) 2021-11-07 15:52:48 +00:00
Peer Richelsen b49553c960
added who string (#1143) 2021-11-06 19:28:30 +00:00
github-actions[bot] 86cb961fa8
New Crowdin translations by Github Action (#1140)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-11-06 12:16:28 +00:00
github-actions[bot] 0e5a7cdd55
New Crowdin translations by Github Action (#1139)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-11-05 20:36:18 +00:00
Peer Richelsen 401016772e
added missing roboto weights (#1130) 2021-11-04 13:56:02 +00:00
Peer Richelsen 3c5a84b7b4
removed lexend, upgraded cal sans, added roboto from local instead of google fonts (#1121) 2021-11-04 00:25:47 +00:00
github-actions[bot] 8cb42c44b7
New Crowdin translations by Github Action (#1094)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-11-01 10:00:40 +00:00
github-actions[bot] 863fc2e5cc
New Crowdin translations by Github Action (#1088)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-10-31 19:12:59 +00:00
github-actions[bot] 317e3d2ade
New Crowdin translations by Github Action (#1074)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-10-30 17:23:38 +01:00
github-actions[bot] 2feed85a1a
New Crowdin translations by Github Action (#1048)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-10-29 09:16:36 +01:00
Mihai C 98829d23d3
fix: type errors and translate ee pages (#1050)
* fix: type errors and translate ee pages

* fix: translation key for composed string

* type fixes

Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-10-28 22:58:26 +00:00
Mihai C f91de82daf
feat: add infinite scroll on bookings tabs (#1059)
* feat: add infinite scroll on bookings tabs

* bookings page infinite scroll PR comments (#1060)

* check if `InteractionObserver` is supported

* revert query cell and use bespoke behaviour

* Update pages/bookings/[status].tsx

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

* load more button

* make inview as a callback

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

* mt-6

* fix: translation strings and remove unnecessary stuff

Co-authored-by: Alex Johansson <alexander@n1s.se>
2021-10-28 15:02:22 +00:00
github-actions[bot] b6b307605b
New Crowdin translations by Github Action (#986)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-10-26 14:44:34 +01:00
Syed Ali Shahbaz baba307a9f
Feature/cal 605 add webhook test check during webhook (#1035)
* starting point

* lint fix

* add mock placeholder

* simplified a bit

* add some placeholder ui

* err handling

* multiple fixes

* post rebase fixes

* removed extra webhook enabled button

* finishing touches

* added translations

* removed debug remnants

* requested changes

Co-authored-by: KATT <alexander@n1s.se>
2021-10-25 21:45:52 +05:30
Mihai C 8d6fec79d3
feat: add translations for emails and type error fixes overall (#994)
* feat: add translations for forgot password email and misc

* fix: type fixes

* feat: translate invitation email

* fix: e2e tests

* fix: lint

* feat: type fixes and i18n for emails

* Merge main

* fix: jest import on server path

* Merge

* fix: playwright tests

* fix: lint

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-10-25 14:05:21 +01:00
Syed Ali Shahbaz a6eed6ffcc
Enhancement/webhooks redesign (#1005) 2021-10-20 18:23:15 +00:00
Bailey Pumfleet 687af03cc3
Improve iframe embed UI (#990) 2021-10-19 11:35:52 +01:00
github-actions[bot] b753d9e5e3
New Crowdin translations by Github Action (#971)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Mihai C <34626017+mihaic195@users.noreply.github.com>
2021-10-18 09:11:41 +00:00
Alex Johansson d8dac426eb
refactor webhooks UI (#982) 2021-10-18 08:02:25 +01:00
Peer Richelsen 656d58b94f
moved embed and webhooks from settings into /integrations (#978) 2021-10-17 10:35:25 +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
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
Peer Richelsen 12f72e0283
added meta tags to daily call (#961) 2021-10-15 00:08:14 +01: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