cal.pub0.org/packages/prisma
Hariom Balhara 6dfc19247e
fix: Embed `theme` not working using Embed API (#10163)
## What does this PR do?

Fixes #10187
See [Tests Done](https://www.loom.com/share/f03e0191b60143d8b45a505042dbfa11)

## Type of change
  - [x] Bug fix (non-breaking change which fixes an issue)

## How should this be tested?
- [x] Configure embed to use `dark` theme and verify that dark theme is shown on event booking page(when user has light theme set). This is failing in main
- Additional Tests for embed to avoid any new regression
	- [x] - Configure "auto" theme using embed API and see it reacts to system theme
	- [x] - Don't configure any theme and see that "light" theme is shown even when we switch system theme(Because User has configured light theme in App)
-  Tests outside embed to avoid any new regression
	- [x] - See that light theme is shown even after switching system theme
	- [x] - Now, switch the user theme to dark and see that it reflects the change. 

## Mandatory Tasks

 [x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.
2023-07-17 18:02:42 -07:00
..
client add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
middleware Fixes formatted description in email + sanitize html everywhere (#7928) 2023-03-28 09:40:13 +00:00
migrations feat: Zapier For Teams (#9851) 2023-07-14 16:06:57 -07:00
selects fix: Enable Salesforce & CRMs for teams & orgs [CAL-2116] (#9973) 2023-07-11 13:11:21 +05:30
zod Team webhooks (#8917) 2023-05-23 01:15:29 +00:00
.env Adds symlink to use DATABASE_URL from root 2022-08-12 11:23:30 -06:00
delete-app.ts One jest to rule them all (#3957) 2022-08-29 22:33:53 +00:00
docker-compose.yml Revert "Matches postgres image across projects" 2022-12-22 17:11:31 -07:00
enum-generator.ts add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
index.ts Fixes formatted description in email + sanitize html everywhere (#7928) 2023-03-28 09:40:13 +00:00
package.json chore: Upgrades prisma to 4.16 (#9670) 2023-06-21 17:07:54 +02:00
schema.prisma feat: Zapier For Teams (#9851) 2023-07-14 16:06:57 -07:00
seed-app-store.ts chore: recategorize apps (#9306) 2023-06-28 18:22:51 +02:00
seed-insights.ts add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
seed.ts fix: Embed `theme` not working using Embed API (#10163) 2023-07-17 18:02:42 -07:00
zod-utils.ts fix: Empty spaces in text field do not trigger inline field error (#10038) 2023-07-11 16:44:10 -04:00