Shared-Reality-Lab / IMAGE-browser

IMAGE project browser extensions & client-side code
Other
2 stars 0 forks source link

map-preprocessor #239

Closed jaydeepsingh25 closed 2 years ago

jaydeepsingh25 commented 2 years ago

The PR provides a fix for issue https://github.com/Shared-Reality-Lab/IMAGE-browser/issues/227. If debug mode is enabled, an extra button will appear. Once the user clicks the button, the preprocessor response (json) will be downloaded:

image

If debug mode is disabled, this button will not be visisble:

image

@jeffbl , @JRegimbal Note that I am open to suggestions here, please let me know if there is a better way to implement this functionality.

jeffbl commented 2 years ago

Not pretty, but I don't have a better alternative, and remember this is only for developers, really. Two suggestions:

  1. For consistency with photos, change text to "Get IMAGE preprocessed data"
  2. leave a small gap between the two buttons since it looks funny with them right up against each-other.

Ping to @Cybernide for any further comments.