-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trace variables from the data picker (#5816)
#5814 <img width="1279" alt="image" src="https://github.com/concrete-utopia/utopia/assets/16385508/25c59ee7-de0f-4832-a575-8578113749bc"> ## Description This PR adds data tracing to the data picker. With data tracing, variables that come from a hook call are shown with the appropriate (green) tinted cartouche (see the screenshot above). ### Commit Details - a new data tracing entry point is added (`traceDataFromVariableName`) - the variable picker calls `traceDataFromVariableName` to pass the appropriate value for the `source` prop for `CartoucheUI` ### Manual Tests I hereby swear that: - [x] I opened a hydrogen project and it loaded - [x] I could navigate to various routes in Preview mode
- Loading branch information
Showing
3 changed files
with
163 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters