Standalone app#666
Conversation
This reverts commit 89c41f0.
To support deployment under /omero-figure/ on gh-pages
2816eb2 to
3d30310
Compare
This reverts commit c495cf3.
|
Few points we could address:
|
pwalczysko
left a comment
There was a problem hiding this comment.
Please see the last summary comment, thank you.
|
I haven't focussed on how to deploy this since I don't expect users to do it. Or even other devs. |
Ok. Surprising to me, but maybe that is what the users want. I would like to have my version in hand, when the app proudly says |
Yes, this was my idea. But maybe lets discuss, I am confused about why would anyone not want to deploy themselves. Possibly we have some examples of other apps which operate like this ? |
|
Why would you want to use https://pwalczysko.github.io/omero-figure/ rather than https://ome.github.io/omero-figure/ (which is where this will be deployed once this PR is merged)? Other examples of apps that you use in their existing locations (don't need your own deployment):
|
Yes, if we have the url under |
|
To summarise:
|
I implemented this to disable suggestion of screen/plate/well or project/dataset omero-figure/src/js/views/right_panel_view.js Lines 653 to 682 in 46ba7b1 used here omero-figure/src/js/views/label_suggestions.js Lines 540 to 545 in 46ba7b1 if So you could simply define an empty parent metadata and that would skip those parent suggestions. It's important that the flags are not passed if parents is not defined, for compatibility with older versions (better too much choice than no choice at all in those case). |
|
|
@will-moore do you want to implement @Tom-TBT 's suggestions before I approve ? |
Co-authored-by: pwalczysko <p.walczysko@dundee.ac.uk>
Co-authored-by: pwalczysko <p.walczysko@dundee.ac.uk>
|
@pwalczysko I've created an issue to improve labels autocomplete with reference to the discussion above. But let's not consider it a blocker for the "standalone" app - Actually, it's not really related to this PR or even strictly due to adding OME-Zarr images. |
|
From https://merge-ci.openmicroscopy.org/jenkins/job/OMERO-plugins-push/112/consoleFull This PR is in the merge build today. |
|
Tested again, mainly with the OMERO-based images on merge-ci. All good. |
|
@Tom-TBT @Rdornier I've just updated the development section of the README according to the updated behaviour from this PR. You'll see that the previous option of vite dev server deployment with connection to OMERO no longer supported. If you run |
|
Hi @will-moore README look good to me. One question: if I'm using the standalone app, can I still import images in figure from my docker? The docker creates a localhos:4080, and OMERO-figure will be available on localhost:8080. Is it still possible to create figures with images coming from localhost:4080, now the CORS is not supported anymore ? If not, how can I do ? Rémy |
|
@Rdornier Actually, that "CORS" workflow of adding Images from OMERO.web on 4080 still works fine. Maybe I shouldn't remove it from the README, although it's less necessary now that you can also add OME-Zarr images. |

This was originally #619 before it got split into #663 with this one on top.
This branch is also pushed to master, so that it's deployed to https://will-moore.github.io/omero-figure/
Testing the standalone app:
Need to test all actions that load or save to OMERO
?file=urlso that refreshing will show the same file