-
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.
**Problem:** The cartouches in the navigator and the inspector don't currently have a max width and they can be overlong. **Fix:** For property and element accessors, only show the last bit. <img width="340" alt="image" src="https://github.com/concrete-utopia/utopia/assets/2226774/7229048e-bcc8-445e-8f73-53a345bf97a5"> <img width="243" alt="image" src="https://github.com/concrete-utopia/utopia/assets/2226774/e269aae4-abc4-4185-8454-44372497ec03"> <img width="275" alt="image" src="https://github.com/concrete-utopia/utopia/assets/2226774/08e2c030-3891-44d7-9d91-b53ec2a06f9c"> **Commit Details:** - Added `shortLabel` to `getTextContentOfElement` - If the DataReferenceCartouche has a non-null shortLabel, it is used - The tooltip always shows the long label **Bonus** The PR also changes when do we hide the cartouche icon – the new ruleset only hides the cartouche icon for inline value literals such as `myProp="value"` and `<div>{'myValue'}</div>`
- Loading branch information
1 parent
7cb0904
commit de7afad
Showing
7 changed files
with
55 additions
and
39 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
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
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