airbnb / airbnb/react-sketchapp
Getting the existing symbols could be easier
Open
chore
enhancement
technical
- Dominant language
- TypeScript
- Stars
- 14.9k
- Forks
- 797
- PR merge metrics
- No merged PRs in 30d
Description
Right now we iterate through all the pages and then all the layers to get the symbol masters.
There is a convenient method on `MSDocumentData` called `allSymbols` and we should just use it.
Contributor guide
Research direction
Locate the code that iterates through pages and layers to collect symbol masters, then inspect the MSDocumentData entry point and its allSymbols method. Done means the existing symbol lookup uses allSymbols instead of nested page and layer iteration; verify the affected behavior with the repository's available checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100