Repository navigation
Commit 85707b7
authored
fix: issue with vscode colors (#2261)
<!-- ELLIPSIS_HIDDEN -->
> [!IMPORTANT]
> Adds embed functionality for BAML functions, including base64
encoding, URL generation, and UI components for embedding.
>
> - **Embed Functionality**:
> - Adds `EmbedDialog` component in `EmbedDialog.tsx` for generating
embed links for BAML functions.
> - Implements `encodeBase64` and `decodeBase64` in `base64.ts` for
encoding project data.
> - Adds tests in `embed.test.ts` to verify encoding/decoding and URL
generation.
> - **UI Components**:
> - Updates `TopNavbar.tsx` to include an embed button that opens
`EmbedDialog`.
> - Modifies `ProjectView.tsx` to support embedded project views.
> - Adds `EmbedPage` in `page.tsx` for rendering embedded BAML projects.
> - **Miscellaneous**:
> - Updates `package.json` to bump `next` version to `15.4.5`.
> - Adjusts CSS in `globals.css` for better styling of embedded
components.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
for ce332ca. You can
[customize](https://app.ellipsis.dev/BoundaryML/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>
<!-- ELLIPSIS_HIDDEN -->1 parent 76e4e1b commit 85707b7
20 files changed
Lines changed: 1260 additions & 552 deletions
File tree
- typescript
- apps/fiddle-web-app
- __tests__
- app
- [project_id]/_components
- embed
- [encodedFunction]
- lib
- packages
- playground-common/src
- components
- ui/src
- components
- styles
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments