Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@calcom/embed-core
Advanced tools
This is the vanilla JS core script that embeds Cal Link.
See https://developer.cal.com/embed/install-with-javascript
You can also see various example usages here
Run the following command and then you can test the embed in the automatically opened page http://localhost:3100
yarn dev
Ensure that the main App is running on port 3000 (e.g. yarn dx) already. Also ensure dev server for embed-core is running and then run the following command: Start the server on 3100 port
yarn dev
And from another terminal you can run the following command to execute tests:
yarn embed-tests-quick
Note: getEmbedIframe
and addEmbedListeners
work as a team but they only support opening up embed in a fresh load. Opening an embed closing it and then opening another embed isn't supported yet.
yarn build
Make dist/embed.umd.js
servable on URL http://cal.com/embed.js
main
class on the element that has the entire content of the page with no auto margins
main
class allows iframe height to adjust according to it, making sure that the content within main
is visible without scrolling as long as device dimensions permit it.Unsupported Browsers and versions. Documenting them and gracefully handling that.
Need to create a booking Shell so that common changes for embed can be applied there.
Accessibility and UI/UX Issues let the user choose the loader for ModalBox If the website owner links the booking page directly for an event, should the user be able to go to events-listing page using back button ? Let the user specify both dark and light theme colors. Right now the colors specified are for light theme.
Branding
API
Automation Tests
Bundling Related
Debuggability
Color Scheme
Dev Experience/Ease of Installation
window.dataLayer.push
) to inform SDK of something even if snippet is not yet on the page but would be there e.g. through GTM it would come late on the page ?Option to disable redirect banner and let parent handle redirect.
Release Issues
UI Config Features
If just iframe refreshes due to some reason, embed script can't replay the applied instructions.
React Component
onClick
support with automatic preloadingShadow DOM is currently in open state, which probably means that any styling change on website can impact loader.
READMEs
cal.com/docs
app.cal.com
FAQs
This is the vanilla JS core script that embeds Cal Link
The npm package @calcom/embed-core receives a total of 33,539 weekly downloads. As such, @calcom/embed-core popularity was classified as popular.
We found that @calcom/embed-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.