airbnb / airbnb/react-sketchapp

Getting the existing symbols could be easier

Open
#328 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.