Skip to content

Conversation

teallarson
Copy link
Collaborator

@teallarson teallarson commented Apr 29, 2025

closes https://github.com/airbytehq/airbyte-internal-issues/issues/12663

Adds Airbyte Embedded branding to the backdrop as seen in Figma

Screenshot 2025-04-29 at 3 57 15 PM

I also noticed while working on adding the branding that our docs say we should have a widget.mount() method that attaches it to the correct DOM element. We weren't using this, though. Now we are!

Some of the commits in this history are from working on adding a dev project in here. I will split that into a separate PR, though.

Last but not least: the updates to the lockfile is a fix from my last PR.

NOTE: there isn't a great way to run the widget locally to confirm these changes... which is why I also have a PR open to add a dev Nextjs app that makes that possible #16

const CLIENT_ID = process.env.CLIENT_ID;
const CLIENT_SECRET = process.env.CLIENT_SECRET;
const WORKSPACE_ID = process.env.WORKSPACE_ID;
const ORGANIZATION_ID = process.env.ORGANIZATION_ID;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was not used

const CLIENT_SECRET = process.env.CLIENT_SECRET;
const WORKSPACE_ID = process.env.WORKSPACE_ID;
const ORGANIZATION_ID = process.env.ORGANIZATION_ID;
const ALLOWED_ORIGIN = process.env.ALLOWED_ORIGIN || "http://localhost:3000";
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be inferred!

@teallarson teallarson requested a review from girarda April 29, 2025 19:59
@teallarson teallarson marked this pull request as ready for review April 29, 2025 19:59
Copy link
Collaborator Author

@teallarson teallarson Apr 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't hang with the very random TS that was going on in here. I've pulled out an named a number of functions and styles so this is more readable. That's the bulk of the changes here. Technically should have been a separate refactor PR probably.

@teallarson teallarson merged commit dd2ced5 into main Apr 29, 2025
2 checks passed
@teallarson teallarson deleted the teal-mount-method-and-branding branch April 29, 2025 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants