-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Video Premiere UI for Scheduled Videos #6847
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
base: develop
Are you sure you want to change the base?
Conversation
|
Hi and thanks for the PR! Can you revert formatting changes and respect our Eslint convention? (no |
|
@Chocobozzz sure! I updated the code pulling updates from your repo to avoid conflicts, but I'm kinda having some difficulties setting up Eslint in my project. I don't know if there is some problem with gitpod codespace or what am I missing, but it is not applying your eslint rules. I'll try to fix it ASAP and set open for review again |
|
Hello, any updates on this? 😊 |
|
Ping @KozielGPC |
|
Hey @Leatherface75 @candidexmedia , I'm so sorry about the late response. I was in some busy days finishing my graduation and adjusting some things to move to another country. I'll take a look on it this weekend and hopefully it can be ready to merge! |
|
Congrats on graduating and on your big move! Looking forward to seeing this PR come to life ✨🙂 |
|
Hey everyone, good news! It's ready for review now! |
| UNLISTED: 2, | ||
| PRIVATE: 3, | ||
| INTERNAL: 4, | ||
| PASSWORD_PROTECTED: 5 |
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.
Can you explain why you need another video privacy? Why don't you just use the scheduledUpdate attribute to know if the video has a countdown?
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.
For me it made more sense to have a different privacy type instead of moving a video from PRIVATE to the SPECIAL_SCHEDULED_PRIVACY = -1. In that way we have a better separation of responsibilities, in case we need to use scheduledUpdate for a different thing other than a video premiere
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.
Thank you for the explanation. I think we should keep PRIVATE to not have to handle another video privacy that has the same behaviour as PRIVATE. Instead, I suggest inferring video premiere UI based on the scheduleUpdate value (if current privacy is PRIVATE and scheduled privacy is PUBLIC). We may also add a checkbox in video edit form so video makers choose if they want to display that information or not.
Description
This PR adds the Video Premiere UI for Scheduled Videos
Related issues
Has this been tested?
Screenshots
Added
Scheduledprivacy type when posting a videoWhen user is not subscribed to the channel
When user is subscribed to the channel