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

Implement Raise Your Hand Feature #367

Merged
merged 52 commits into from
Jan 7, 2025
Merged

Implement Raise Your Hand Feature #367

merged 52 commits into from
Jan 7, 2025

Conversation

mustafaboleken
Copy link
Contributor

@mustafaboleken mustafaboleken marked this pull request as draft October 17, 2024 11:15
Copy link

codecov bot commented Oct 17, 2024

Codecov Report

Attention: Patch coverage is 91.17647% with 9 lines in your changes missing coverage. Please review.

Project coverage is 73.90%. Comparing base (1f3cd13) to head (00ed391).
Report is 62 commits behind head on main.

Files with missing lines Patch % Lines
react/src/pages/AntMedia.js 93.33% 6 Missing ⚠️
react/src/pages/WaitingRoom.js 40.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #367      +/-   ##
==========================================
+ Coverage   73.28%   73.90%   +0.61%     
==========================================
  Files          67       67              
  Lines        3070     3161      +91     
  Branches      692      710      +18     
==========================================
+ Hits         2250     2336      +86     
- Misses        737      746       +9     
+ Partials       83       79       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mustafaboleken mustafaboleken linked an issue Oct 21, 2024 that may be closed by this pull request
@mustafaboleken mustafaboleken marked this pull request as ready for review October 28, 2024 08:18
@@ -22,6 +22,7 @@ const PinBtn = styled(Button)(({ theme }) => ({

function PublisherRequestTab(props) {
const conference = useContext(ConferenceContext);
const theme = useTheme();

const getPublisherRequestItem = (videoId) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use stream id.

sx={{ minWidth: "unset", pt: 1, pb: 1 }}
onClick={() => {conference?.approveBecomeSpeakerRequest(videoId); conference?.setRequestSpeakerList(conference?.requestSpeakerList.filter((item) => item.streamId !== videoId))}}
onClick={() => {conference?.approveBecomeSpeakerRequest(videoId); conference?.setRequestSpeakerList(conference?.requestSpeakerList.filter((item) => item !== videoId))}}
>
Copy link
Contributor

Choose a reason for hiding this comment

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

Do removal in approveBecomeSpeakerRequest method in Antmedia.js

sx={{ minWidth: "unset", pt: 1, pb: 1 }}
onClick={() => {conference?.rejectSpeakerRequest(videoId); conference?.setRequestSpeakerList(conference?.requestSpeakerList.filter((item) => item.streamId !== videoId))}}
onClick={() => {conference?.rejectBecomeSpeakerRequest(videoId); conference?.setRequestSpeakerList(conference?.requestSpeakerList.filter((item) => item !== videoId))}}
Copy link
Contributor

Choose a reason for hiding this comment

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

Do removal in approveBecomeSpeakerRequest method in Antmedia.js

setIsPlayOnly(false);
setInitialized(false);
setWaitingOrMeetingRoom("waiting");
joinRoom(roomName, publishStreamId);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why we call join room directly. Wait in waiting room.

@@ -690,97 +690,7 @@ def test_multiple_player(self):

self.chrome.close_all()

def test_request_to_speak(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

refactor and add this in to webinar tests

@burak-58 burak-58 merged commit fa471f1 into main Jan 7, 2025
8 checks passed
@burak-58 burak-58 deleted the addRaiseYourHand branch January 7, 2025 17:57
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.

Request becoming publisher issue
2 participants