Commit graph

1602 commits

Author SHA1 Message Date
Peer Richelsen
c2a60657d4
removed overflow hidden from dialog to fix dropdowns ()
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-12-15 13:47:38 +00:00
Syed Ali Shahbaz
d2965627d0
added brand color to dark mode timepicker () 2021-12-15 10:26:39 +00:00
Omar López
5deea2c5f6
Fixing items readded to location dropdown issue ()
Co-authored-by: Manoj <yogeshwaranmanoharan@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-12-14 22:14:35 +00:00
Peer Richelsen
7e6d56ca1f
update crowdin.yml 2021-12-14 21:59:39 +00:00
Peer Richelsen
725a7ec0f4
fixed tooltips () 2021-12-14 12:44:11 +00:00
Alex Johansson
ad8ffd3de4
prevent i18n flickering on pages ()
* prevent i18n flickering on pages

- 404
- `/cancel`
- `/success`

* ssg for 404

* comments

* tweak

* 404

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-12-14 12:31:54 +00:00
Peer Richelsen
8e447ea4b5
fixed border on success () 2021-12-14 12:29:15 +00:00
Syed Ali Shahbaz
8bbfc0c7f0
Adds complementing text color for various brand colors that the user might choose ()
* added contrast evaluator

* added brandtext --WIP

* further changes and fixes

* fixed type err

* fixed datepicker bug

* changed brandtext to brandcontrast

* further dark mode changes

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-12-14 10:39:32 +00:00
Jamie Pine
2abd7779ac
Fix for incorrect <hr /> color as result of Tailwind upgrade () 2021-12-13 21:14:26 -07:00
Omar López
b6518b9ce1
Fixes cancel booking page () 2021-12-13 23:10:10 +00:00
Nathaniel
43c939e342
Fixed nextcloud & fastmail events not created ()
* fixed nextcloud

* fixed nextcloud & fastmail issues
2021-12-13 13:58:09 +00:00
Omar López
357e279dd8
Upgrades to tailwindcss v3 ()
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-12-13 11:01:33 +00:00
Alex van Andel
8afcba23c8
Commented out minimumBookingNotice, needs fixing () 2021-12-12 00:09:34 +01:00
Jamie Pine
c359ebe85c
fix for this horrific bug () 2021-12-11 16:32:25 +00:00
Omar López
3587e1ac9c
Uses vercel url on integration endpoints for staging ()
* Legibility and base url fixes

* Uses vercel url on integration endpoints for staging

* We validate the user before creating credentials
2021-12-10 21:14:54 +00:00
sec0ndhand
3ff99f7877
Fix timezones being returned from office 365 ()
Per the [api documentation](https://docs.microsoft.com/en-us/graph/api/calendar-list-calendarview?view=graph-rest-1.0&tabs=javascript#query-parameters)
the `Prefer: outlook.timezone` is ignored if a timezone value is passed
in the request.  This forces the dates to be passed in UTC.

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-12-10 19:00:03 +00:00
Jamie Pine
c1d90eb438
Improvement/teams ()
* [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 ()
* Updates yarn.lock

* Primary calendar selector UI fixes

* Update translation string

* Mobile fixes
2021-12-09 19:37:29 +00:00
Omar López
8617b2db65
Adds deploy script () 2021-12-09 16:19:52 +00:00
Alex Johansson
850497ea80
add select primary calendar ()
* add primary

* fix

* refactor eventmanager to take `CalendarDestination`

* `DestinationCalendar`

* fix

* wip

* wip

* Minor fixes ()

* Followup for 

* 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
Nathan
1890d5daf7
Update event.ts () 2021-12-09 12:25:38 +00:00
Joel Lu
8d4b3c1c2c
Fix user dropdown text overflow () 2021-12-09 11:53:34 +00:00
Bailey Pumfleet
22a6d6ee3b
Swap availability and booking icons () 2021-12-08 19:28:36 +00:00
Alex Johansson
05fa1feab0
Migrate availability schedule for everyone ()
* wip

* tmp mig

* add cron api key to header

* feels safer

* Revert "wip"

This reverts commit 15a8358661c6785ce9eedb93a473a8829f79d760.

* test

* add name

* normalize dates

* maybe works

* test

* fixz

* maybe fix ci

* deprecated

* step 1 -- raw sql

* seems to work

* migration seems to work

* br

* fix comment

* timouet

* disconnect prisma test

* test order

* maybs

* seems to work

* tz

* tweak

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2021-12-08 12:08:57 +00:00
Bill Gale
bbf96a2e1d
fix: team avatar booking option 2 () 2021-12-08 11:40:48 +00:00
depfu[bot]
3b00bc7508
Update next to version 12.0.7 ()
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-12-08 09:36:03 +00:00
Alex van Andel
878c8b8248
Reversed order of custom inputs & notes () 2021-12-07 21:05:29 +00:00
Bill Gale
23127318dc
fix: prevent image uploader converting every image to jpeg () 2021-12-07 17:05:26 +00:00
Bill Gale
db7711869f
fix: add team bio to public page () 2021-12-07 16:11:43 +00:00
Omar López
ec2acedf34
Zomars/refactor emails followup () 2021-12-07 15:48:08 +00:00
Mihai C
d76ef4a007
fix: calendar event description () 2021-12-07 15:32:07 +00:00
Joel Lu
c43e6783a7
Fix: duplicate team name no prompt ()
* Fix: duplicate team name no prompt

* Fix syntax error for error message
2021-12-07 15:04:34 +00:00
Bill Gale
91f2c380c5
fix: event description for teams on mobile ()
* fix: event description for teams on mobile

* fix: replace sm:truncate with overflow-ellipsis overflow-hidden

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-12-07 10:08:25 +00:00
Bill Gale
b11d81fdd2
fix: user bio width when booking a team member () 2021-12-07 10:02:36 +00:00
Bill Gale
6792e17c80
fix: move pull request template ()
* fix: move pull request template

* fix: rename template
2021-12-07 10:01:45 +00:00
Mihai C
dd446abeec
fix: calendar event fixes ()
* fix: calendar event fixes

* update after code review
2021-12-06 19:34:31 +00:00
Rory Hughes
c109ab1e30
Ensure credential objects come oldest first ()
Given the credentials are loaded based on userId, sort is not consistent.
Without this, events are booked on whichever calendar credential is loaded first. 
813eaa83b7/lib/events/EventManager.ts (L240-L244)

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-12-06 13:25:22 +00:00
Rory Hughes
dc13c95644
Favour the user's default calendar notification settings without overriding ()
If people want emails for every event on their calendar, they can set that up.
2021-12-06 13:24:32 +00:00
Joel Lu
c85f0650fe
Fix time view not in full length ()
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-12-06 11:37:15 +00:00
Alex van Andel
7e6628e3ac
Fixes missing locations () 2021-12-06 11:22:35 +00:00
Peer Richelsen
e8af9110a7
fixed border color of daily video () 2021-12-06 09:49:56 +00:00
TomBoss
ec9c8bb35d
correction of typo () 2021-12-03 16:50:39 +00:00
Alex van Andel
22aa083883
Adds eventTypeId as a parameter () 2021-12-03 16:18:31 +00:00
Alex van Andel
8c1b69cc0f
Feature/field prefills ()
* Needs more testing, but looks functional

* Add metadata feature to booking create payload

* Forward URL parameters given in link

* Moved stringifying of custom inputs to backend
2021-12-03 10:15:20 +00:00
Peer Richelsen
8d1d3fcc7a
fixed subtitle for event-types () 2021-12-02 22:32:38 +00:00
Mike Casey
dd48749f42
Update README instructions new user record ()
This commit clarifies the minimum required fields that must be set for the new user record in Prisma Studio to avoid the createContext error  when first starting the application on a local development environment

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-12-02 22:15:05 +00:00
Peer Richelsen
bd51316c68
removed imgur from emails, added missing / to footer logo () 2021-12-02 22:05:58 +00:00
Omar López
2430784142
Followup for () 2021-12-02 21:41:09 +00:00
Peer Richelsen
2b51cd9c8d
tablet navigation: removed code redundancy & fixed alignment ()
* 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
Alex Johansson
de3c4aa75a
fix zoom leading to integrations:zoom location () 2021-12-02 17:18:17 +00:00