uxp-photoshop-plugin-samples icon indicating copy to clipboard operation
uxp-photoshop-plugin-samples copied to clipboard

Create Full Application Example

Open bootsie123 opened this issue 4 years ago • 3 comments

Overview Adds a fully developed Vue application that demonstrates how to use many features available in UXP. The purpose of this sample/example is to show UXP Photoshop plugins in practice and to give developers an idea of what a full application might look like.

Functionality The plugin in this example called, Plugin Info, is a simple UXP plugin that allows the user to view information on any installed UXP and CEP plugins. The plugin itself makes use of multiple entry points, interacts with the user's filesystem, includes persistent data, and more.

Documentation Since this example is more complex and less straightforward than a plain sample, a section called The code explained as been added. The idea behind this section is to help guide developers through the plugin by providing a written explanation of the different parts of the code.

Extra Thoughts This PR is definitely a bit different from the other samples in this repo. So, please let me know if you feel it doesn't quite fit!

Also of note, the code itself at its current state lacks comments. If you think this is something that should probably be included then let me know! I'll gladly go through and add them where I feel it might be necessary. The plugin could probably also use a refactor. Specifically, adding Vue Router and Vuex would make most of the code a lot cleaner and easier to follow.

If you have any questions feel free to let me know! Thanks!

bootsie123 avatar Jul 09 '21 00:07 bootsie123

It would be nice a vuetify, tabs and router for VUE and React router, tabs example.

Thanks!

c4kaci avatar Jul 15 '21 16:07 c4kaci

Couple of quick points:

  • The "typical path" entries should be theme aware. On Ps in a light theme, they are quite hard to read at the moment.
  • The UXP typical path should append "External"
  • When there are errors in loading plugins, these are silent -- you might want to provide some error messages (right now they're on the console)
  • The console is showing several error messages about missing manifest.json when loading CEP plugins

kerrishotts avatar Jul 22 '21 14:07 kerrishotts

Hi! Thanks for the feedback! Good catch on the theme-aware issues! I didn't notice that. Also, in terms of handling errors, that's a really good idea and definitely a shortcoming on my part. I'll add that in and also look into the issues you're experiencing with loading CEP plugins

bootsie123 avatar Jul 26 '21 20:07 bootsie123