I was wondering what is your guys workflow to develop the UI part of your plugins?
I am currently working on the UXP plugin for photoshop, last 4 years I spent developing CEP panels which can be easily opened in chrome side by side to IDE and I can preview the updates.
While it seems impossible to do split screen on macOs vscode + photoshop and I have constantly go back and forth for each simple update, do I really need to buy the second screen or is there any workaround?
If you don’t have 2 or more screens, get them. It is a must-have for developer.
If you would go with webview route, you could repeat what you did before. But webview is an important architectural decision and might not fit for all cases.
Thank you Jaroslav, yeah I should prob getting the portable one, since I move around a lot
tbh I don’t mind webview since I always try to nail the UIs, and with the limitations of the stardard UXP styling features it is quite hard. I was wondering what is the biggest cons of using webview except of having 2 contexts and having to pass the callbacks as a strings (like before with the CEP → extendscript)
does it heavily affects the performance and does it does create any issues like CEP panels if there are many of them open?
Thank you Thomas, I have actually just managed to do split screen with PH, for some reason I could do it only by manually moving the the window to the one of the screen sides, while all other apps can be just dragged on the screen from the full mode to merge it with another full screen mode app
I understand that the floating panel should go behind the windows
if I click out to vscode, but even if I have docked it within the ph, it still hides out. Is there any workaround? maybe useEffect for bringing the panel to front after each update or maybe some macos simillar features
This project is for inhouse use and it is supposed to be used as floating panel because It has to have as much space as possible, but once docked It has some space limitations
Your panel UI is so wide that Photoshop doesn’t allow it to be docked while it’s open. When I said “docked,” I meant docked and open. In your case, it’s docked but closed.
I’d strongly recommend using a second monitor. It will be much more comfortable, not just for this, but for many other things as well. Trust me
If you prefer using only a single monitor, it would need to be fairly large and wide. From what I can tell, you’re probably working on a notebook. I’m also using a MacBook, but my setup includes two external 27″ monitors.
Thank you guys for your help, yeah I think I need def get myself another monitor. I work on macbook 16inch, but for such cases it is not enough
For now I have ended up doing this