aws-amplify / aws-amplify/amplify-studio
Figma import breaks with emoji strings
- Dominant language
- No language data
- Stars
- 135
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
### Before opening, please confirm:
- [X] I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-adminui/issues?q=is%3Aissue+).
- [X] I have read the guide for [submitting bug reports](https://github.com/aws-amplify/amplify-adminui/blob/main/CONTRIBUTING.md#bug-reports).
- [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- [X] I have removed any sensitive information from my code snippets and submission.
### App Id
n/a
### Region
n/a
### Environment name
n/a
### Figma File Version (if applicable)
1.2.1 (but is broken on other versions too)
### Amplify CLI Version
_No response_
### If applicable, what version of Node.js are you using?
_No response_
### What operating system are you using?
_No response_
### Browser type?
_No response_
### Describe the bug
Importing a Figma file that has components with text layers that have emojis like 💰 throw an error:

### Expected behavior
It shouldn't throw that error, because we can render it.
### Reproduction steps
Test file: https://www.figma.com/file/DFvzobpp8wcZPjHveZHchg/AWS-Amplify-UI-Kit-(Community)?node-id=861%3A3635&t=5VoaCHkw1V9hSJgS-1
### Project Identifier
_No response_
### Additional information
_No response_
Contributor guide
Research direction
Start by importing the linked Figma file and confirm the failure on a component containing the 💰 emoji. Trace the import path from that reproduction to identify where the error is raised. Done means the file imports successfully and emoji text remains renderable.
Written by the indexing model from the issue text.
Assessment
- Domain
- design
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100