I have 2 questions regarding embeds that I am hopi...
# developers
c
I have 2 questions regarding embeds that I am hoping to get some info on. Is it possible to set default values on the embed, I am using config on a team calendar, have noticed it working on individual but not the same with teams? I also get a warning to stop using styles and instead use cssVarsPerTheme, but when I do I can no longer set colors in the code. Thanks in advance.
h
I can get the prefill values filled for team event as well. Created a sandbox here https://codesandbox.io/s/prefill-team-event-59bngu?file=/src/App.tsx&resolutionWidth=320&resolutionHeight=675
c
I replaced your calLink with mine and am unable to use overrides. Is there something to set in the team? https://codesandbox.io/s/prefill-team-event-forked-9nlg1q?file=/src/App.tsx
h
Yeah that's a bug specific to team profile page. The fix is here https://github.com/calcom/cal.com/pull/9057
c
I really appreciate your help and quick changes on these, thank you so much!
Hi, I have another question and thought it could best be solved in the same thread, let me know if you want me to create a seperate thread. I have noticed with team events, that the styling before the booking and after the booking do not match and seem to be different. One is light and one is dark. Thanks in advance
h
@Cuan Jooste Can you record a loom/screen recording for the issue? Also, what's your appearance setting. Is it set to Light, Dark or System theme?
c
Yes the settings and theme is set to light. https://www.loom.com/share/fbca020a86cf48f8960199359b914261
I was also able to confirm that this functionality does not seem to be replicated to personal calendars, so its maybe some functionality that has not been moved over to teams.
@Hariom Balhara can you let me know if you have any solutions to the above? Thank you
h
@Cuan Jooste I expect the issue of theme mismatch before and after booking to be solved with this PR. https://github.com/calcom/cal.com/pull/9085 Though I couldn't replicate the issue, there is a potential fix in it. I would request to re-test once that change goes live.
c
Yes this looks good, but not sure if it will solve the issue that the color theme is not staying consistent, but will keep an eye out, thanks! When is the next release, is there a schedule somewhere?
h
Next minor release goes live around 15th. But this should land as a patch earlier than that.
c
The above mentioned PR is still open and no longer being reviewed. Can it be update?
h
@Cuan Jooste It is now merged. Will be tagged soon and released