Skip to content
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

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from
Draft

Feature: share plugin #61

wants to merge 17 commits into from

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 marked this pull request as draft August 27, 2021 08:27
@NicolasRichel NicolasRichel self-assigned this Aug 27, 2021
package.json Outdated Show resolved Hide resolved
);
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.

2 participants