Skip to content

Conversation

@NicolasRichel
Copy link
Member

This plugin allows to share a given model view (with camera settings) by generating an iframe URL to directly access the view.

@NicolasRichel NicolasRichel requested a review from Amoki August 27, 2021 08:25
@NicolasRichel NicolasRichel marked this pull request as draft August 27, 2021 08:27
@NicolasRichel NicolasRichel self-assigned this Aug 27, 2021
);
const jsonResponse = await response.json();
this.shareRows = jsonResponse.map(share => {
delete share.camera_settings;
Copy link
Member

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)

Copy link
Member Author

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);
Copy link
Member

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

Copy link
Member Author

@NicolasRichel NicolasRichel Aug 30, 2021

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 ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants