mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +00:00
Merge branch 'unstable' into agents/daily/style-agent-1740615175-12694853261144843326
This commit is contained in:
30 files changed
+845
-135
No files matched your search
@@ -158,6 +158,7 @@ export class VideoModal {
|
||||
this.videoTagsResizeObserver = null;
|
||||
this.videoTagsLastObservedWidth = 0;
|
||||
this.handleVideoTagsResize = this.handleVideoTagsResize.bind(this);
|
||||
this.modalNavScrollHandler = null; // Initialize early
|
||||
this.creatorAvatar = null;
|
||||
this.creatorName = null;
|
||||
this.creatorNpub = null;
|
||||
@@ -790,9 +791,100 @@ export class VideoModal {
|
||||
this.setGlobalModalState("player", true);
|
||||
this.applyLoadingPoster();
|
||||
this.updateSourceAvailability(this.activeVideo);
|
||||
this.setShareEnabled(!!this.activeVideo);
|
||||
this.setEmbedEnabled(!!this.activeVideo);
|
||||
this.updateSourceAvailability(this.activeVideo);
|
||||
this.refreshActiveVideoModeration({ video: this.activeVideo });
|
||||
}
|
||||
|
||||
setCommentSectionCallbacks(callbacks) {
|
||||
this.commentsController.setCallbacks(callbacks);
|
||||
}
|
||||
|
||||
hideCommentsDisabledMessage() {
|
||||
this.commentsController.hideCommentsDisabledMessage();
|
||||
}
|
||||
|
||||
showCommentsDisabledMessage(message) {
|
||||
this.commentsController.showCommentsDisabledMessage(message);
|
||||
}
|
||||
|
||||
setCommentsVisibility(visible) {
|
||||
this.commentsController.setCommentsVisibility(visible);
|
||||
}
|
||||
|
||||
clearComments() {
|
||||
this.commentsController.clearComments();
|
||||
}
|
||||
|
||||
resetCommentComposer() {
|
||||
this.commentsController.resetCommentComposer();
|
||||
}
|
||||
|
||||
setCommentStatus(message, type) {
|
||||
this.commentsController.setCommentStatus(message, type);
|
||||
}
|
||||
|
||||
setCommentComposerState(state) {
|
||||
this.commentsController.setCommentComposerState(state);
|
||||
}
|
||||
|
||||
appendComment(comment) {
|
||||
this.commentsController.appendComment(comment);
|
||||
}
|
||||
|
||||
renderComments(snapshot) {
|
||||
this.commentsController.renderComments(snapshot);
|
||||
}
|
||||
|
||||
updateCommentCharCount() {
|
||||
this.commentsController.updateCommentCharCount();
|
||||
}
|
||||
|
||||
updateCommentSubmitState() {
|
||||
this.commentsController.updateCommentSubmitState();
|
||||
}
|
||||
|
||||
get commentsList() {
|
||||
return this.commentsController.commentsList;
|
||||
}
|
||||
|
||||
get commentsComposer() {
|
||||
return this.commentsController.commentsComposer;
|
||||
}
|
||||
|
||||
get commentsInput() {
|
||||
return this.commentsController.commentsInput;
|
||||
}
|
||||
|
||||
get commentsSubmitButton() {
|
||||
return this.commentsController.commentsSubmitButton;
|
||||
}
|
||||
|
||||
get commentsStatusMessage() {
|
||||
return this.commentsController.commentsStatusMessage;
|
||||
}
|
||||
|
||||
get commentRetryButton() {
|
||||
return this.commentsController.commentRetryButton;
|
||||
}
|
||||
|
||||
get commentsDisabledPlaceholder() {
|
||||
return this.commentsController.commentsDisabledPlaceholder;
|
||||
}
|
||||
|
||||
get commentComposerHint() {
|
||||
return this.commentsController.commentComposerHint;
|
||||
}
|
||||
|
||||
get commentComposerDefaultHint() {
|
||||
return this.commentsController.commentComposerDefaultHint;
|
||||
}
|
||||
|
||||
get commentComposerState() {
|
||||
return this.commentsController.commentComposerState;
|
||||
}
|
||||
|
||||
/**
|
||||
* Closes the modal, pauses playback, clears active state, and restores focus.
|
||||
* This is the primary cleanup method when dismissing the modal.
|
||||
|
||||
Reference in new issue
Block a user