Commit 6de715b
feat: Round Robin timestamp basis (calcom#21337)
* add rrTimeStampBasis to prisma schema
* add rr time stamp basis setting
* update migration
* add getLuckyUser logic
* add rrTimestampBasis to tests
* add load balancing warning message
* disable load balancing logic
* disable load balancing in event type settings
* add missing translations
* fix UI
* disable load balancing on all team event types
* don't show routing forms in router position
* use correct interval times
* fix variable naming
* fix event type update handler
* add test to booking.test.ts
* add test for getting interval times
* remove not needed prop
* fix label
* improve warning message
* fix removing maxLeadTreshold
* fix typo
* fix disabling maxLeadThreshold
* add back missing translation
* improve rr reset interval label
* fix rr_load_balancing_disabled text
* improve test
* fix description
* only use rrTimestampBasis in weights round robin
* fix dropdown width
---------
Co-authored-by: CarinaWolli <wollencarina@gmail.com>1 parent 84717ca commit 6de715b
62 files changed
Lines changed: 552 additions & 215 deletions
File tree
- apps
- api/v2/src/modules/slots/slots-2024-04-15/controllers
- web
- modules/auth/forgot-password
- public/static/locales
- ar
- az
- bg
- ca
- cs
- da
- de
- el
- en
- es-419
- es
- et
- eu
- fi
- fr
- he
- hu
- it
- ja
- km
- ko
- nl
- no
- pl
- pt-BR
- pt
- ro
- ru
- sk-SK
- sr
- sv
- tr
- uk
- vi
- zh-CN
- zh-TW
- packages
- features
- bookings
- Booker/components/hooks
- lib
- handleNewBooking
- ee
- managed-event-types/lib
- teams
- components
- pages
- eventtypes/components/tabs/assignment
- insights/server
- lib
- bookings
- server
- queries/teams
- repository
- prisma
- migrations/20250527092133_add_rr_timestamp_basis_to_team
- trpc/server/routers/viewer
- eventTypes
- teams
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 13 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3043 | 3043 | | |
3044 | 3044 | | |
3045 | 3045 | | |
3046 | | - | |
3047 | 3046 | | |
3048 | 3047 | | |
3049 | 3048 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3043 | 3043 | | |
3044 | 3044 | | |
3045 | 3045 | | |
3046 | | - | |
3047 | 3046 | | |
3048 | 3047 | | |
3049 | 3048 | | |
| |||
3060 | 3059 | | |
3061 | 3060 | | |
3062 | 3061 | | |
3063 | | - | |
3064 | 3062 | | |
3065 | 3063 | | |
3066 | 3064 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3043 | 3043 | | |
3044 | 3044 | | |
3045 | 3045 | | |
3046 | | - | |
3047 | 3046 | | |
3048 | 3047 | | |
3049 | 3048 | | |
| |||
3060 | 3059 | | |
3061 | 3060 | | |
3062 | 3061 | | |
3063 | | - | |
3064 | 3062 | | |
3065 | 3063 | | |
3066 | 3064 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3043 | 3043 | | |
3044 | 3044 | | |
3045 | 3045 | | |
3046 | | - | |
3047 | 3046 | | |
3048 | 3047 | | |
3049 | 3048 | | |
| |||
3060 | 3059 | | |
3061 | 3060 | | |
3062 | 3061 | | |
3063 | | - | |
3064 | 3062 | | |
3065 | 3063 | | |
3066 | 3064 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3043 | 3043 | | |
3044 | 3044 | | |
3045 | 3045 | | |
3046 | | - | |
3047 | 3046 | | |
3048 | 3047 | | |
3049 | 3048 | | |
| |||
3060 | 3059 | | |
3061 | 3060 | | |
3062 | 3061 | | |
3063 | | - | |
3064 | 3062 | | |
3065 | 3063 | | |
3066 | 3064 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3043 | 3043 | | |
3044 | 3044 | | |
3045 | 3045 | | |
3046 | | - | |
3047 | 3046 | | |
3048 | 3047 | | |
3049 | 3048 | | |
| |||
3060 | 3059 | | |
3061 | 3060 | | |
3062 | 3061 | | |
3063 | | - | |
3064 | 3062 | | |
3065 | 3063 | | |
3066 | 3064 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3043 | 3043 | | |
3044 | 3044 | | |
3045 | 3045 | | |
3046 | | - | |
3047 | 3046 | | |
3048 | 3047 | | |
3049 | 3048 | | |
| |||
3060 | 3059 | | |
3061 | 3060 | | |
3062 | 3061 | | |
3063 | | - | |
3064 | 3062 | | |
3065 | 3063 | | |
3066 | 3064 | | |
| |||
3210 | 3208 | | |
3211 | 3209 | | |
3212 | 3210 | | |
3213 | | - | |
| 3211 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3043 | 3043 | | |
3044 | 3044 | | |
3045 | 3045 | | |
3046 | | - | |
3047 | 3046 | | |
3048 | 3047 | | |
3049 | 3048 | | |
| |||
3060 | 3059 | | |
3061 | 3060 | | |
3062 | 3061 | | |
3063 | | - | |
3064 | 3062 | | |
3065 | 3063 | | |
3066 | 3064 | | |
| |||
0 commit comments