Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove broken emoji from text #1693

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

armgjoka
Copy link
Contributor

@armgjoka armgjoka commented Feb 20, 2025

Description

Noticed that when a text element has broken emoji it will cause issues when generating code for example:
"text": "<span style="font-weight: 600; font-size: 18px;">Would you like to take your daily
<span style="font-weight: 600; font-size: 18px;">recap quiz?
<span style="font-weight: 400; line-height: 29px; color: rgba(0,0,0,1);">You have a 13 day steak**\ud83d**\udd25"

  • format the codebase: from the root, run yarn fmt:prettier.
  • update all snapshots (in core & CLI): from the root, run yarn test:update
  • add Changeset entry: from the root, run yarn g:changeset and follow the CLI instructions. Alternatively, use the Changeset Github Bot to create the file.

@armgjoka armgjoka requested a review from samijaber as a code owner February 20, 2025 12:35
Copy link

changeset-bot bot commented Feb 20, 2025

🦋 Changeset detected

Latest commit: 72c8fab

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@builder.io/mitosis Patch
@builder.io/mitosis-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

nx-cloud bot commented Feb 20, 2025

View your CI Pipeline Execution ↗ for commit 72c8fab.

Command Status Duration Result
nx e2e @builder.io/e2e-app ✅ Succeeded 1m 8s View ↗
nx run-many --target test ✅ Succeeded 4m 50s View ↗
nx run-many --target build --exclude @builder.i... ✅ Succeeded 3m 54s View ↗
nx build @builder.io/mitosis-site ✅ Succeeded 2m 25s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-24 20:59:29 UTC

Copy link
Contributor

@samijaber samijaber left a comment

Choose a reason for hiding this comment

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

can we add a test to show the impact of this change?

'@builder.io/mitosis': patch
---

Remove broken emoji from text
Copy link
Contributor

Choose a reason for hiding this comment

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

we like to specify the impacted generator/parser in the changelog so its clear what the change is for:

Suggested change
Remove broken emoji from text
[Builder]: Remove broken emoji from text

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hey @samijaber, updated

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