-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: share plugin #61
base: master
Are you sure you want to change the base?
Conversation
911e157
to
8e99ddd
Compare
); | ||
const jsonResponse = await response.json(); | ||
this.shareRows = jsonResponse.map(share => { | ||
delete share.camera_settings; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to be a hackathon weird stuff x)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this was to avoid some "reactivity overhead" with Vue or to save some memory usage. (?)
But I didn't test this assumption.
body.expires_at = this.expirationDate.toISOString(); | ||
} else { | ||
let date = new Date(); | ||
date.setFullYear(2099); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be set in backend imho
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, were can I find the backend source code to have a look ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…nd instead of client side
657c597
to
f59d4ec
Compare
f59d4ec
to
d1e36b0
Compare
This plugin allows to share a given model view (with camera settings) by generating an iframe URL to directly access the view.