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

OV-352: Add logic for edit video button #357

Merged
merged 8 commits into from
Sep 20, 2024

Conversation

Sanchousina
Copy link
Collaborator

Depends on OV-311

In this pr:

When user clicks on edit video button, the studio page opens with loaded video data.

edit.video.button.mp4

@Sanchousina Sanchousina added the FE Fronted feature label Sep 19, 2024
@Sanchousina Sanchousina added this to the Final DEMO milestone Sep 19, 2024
@Sanchousina Sanchousina self-assigned this Sep 19, 2024
@Sanchousina Sanchousina linked an issue Sep 19, 2024 that may be closed by this pull request
4 tasks
@@ -39,13 +36,12 @@ class VideoRepository implements Repository {
.insert({
userId,
name,
composition,
composition: composition,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why can't you use just composition?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Why delete empty lines everywhere? :)

@@ -59,7 +59,7 @@ class VideoService implements Service {
const video = await this.videoRepository.create(
VideoEntity.initializeNew({
name: payload.name,
composition: JSON.stringify(payload.composition),
composition: payload.composition,
previewUrl: payload.composition?.scenes[0]?.avatar?.url || '',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
previewUrl: payload.composition?.scenes[0]?.avatar?.url || '',
previewUrl: payload.composition?.scenes[0]?.avatar?.url ?? '',

Base automatically changed from task/OV-311-save-video-draft to next September 20, 2024 11:22
@nikita-remeslov nikita-remeslov merged commit c18a75b into next Sep 20, 2024
2 checks passed
@nikita-remeslov nikita-remeslov deleted the task/OV-352-add-logic-for-edit-video-button branch September 20, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FE Fronted feature
Projects
Status: To Be Tested
Development

Successfully merging this pull request may close these issues.

FEAT: Add logic for edit video button
3 participants