I’m working on a personal UXP scripts to detect product name automatically and generate stack layers for exports artboard with product name, id, suffix etc… but I can’t store the data permanently so when I close and open the script the latest data show up.
Another problem I’m facing is when I open the overlay setting popup all sp-textfield show throw the popup z-index seen to work only with some elements.
If you check scripting docs, there’s this:
No persistent data: Scripts also don’t have access to persistent storage like the plugin data folder or
window.localStorage.
If you check known issues (or simply search the forum), there’s this:
While
z-indexis supported, no element can overlay a widget that has text editing capabilities. Text fields and areas will always render the text editor above everything else in the same panel or dialog. As such, you can use popovers to render content above them, or hide the element if you need to render some content above it.
@Karmalakas Thanks I implemented the hiding when popover trigger and show when popover close method, popover still don’t give good result over textfield.
Local Storage is an important feature, I think I will have to switch back to CEP panel, UXP scripting have a lot of bug and missing feature, I really like UXP scripting is faster but too limited the same for UXP plugins panel.
When will going to see feature like:
- Backdrops filter
- Animation transition
- Persistent Storage
- Spectrum elements customization like button and input textfield.
Those features make the script or plugin pleasant to use and professional.
