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

feat(keep-hand-raised-notification-when-the-hands-will-be-auto-lowered) #14960

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liumengyuan1997
Copy link
Contributor

Hi reviewer,

This is a GSoC task. I added a lower-hand notification before a certain participant's hands would be auto-lowered (when the dominant speaker changed). Feel free to let me know which part is inappropriate.

Thanks,
Mengyuan

@jitsi-jenkins
Copy link

Hi, thanks for your contribution!
If you haven't already done so, could you please make sure you sign our CLA (https://jitsi.org/icla for individuals and https://jitsi.org/ccla for corporations)? We would unfortunately be unable to merge your patch unless we have that piece :(.

@mihhu mihhu added the gsoc Appropriate for GSoC students to tackle label Aug 1, 2024
clearTimeout(timeoutId);
store.dispatch(hideNotification(LOWER_RAISED_HANDS_ID));
} ]
}, NOTIFICATION_TIMEOUT_TYPE.MEDIUM));
Copy link
Member

Choose a reason for hiding this comment

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

Let's make this one short.

store.dispatch(raiseHand(false));
}, NOTIFICATION_TIMEOUT.MEDIUM);

store.dispatch(showNotification({
Copy link
Member

@saghul saghul Aug 7, 2024

Choose a reason for hiding this comment

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

We should add a config flag for this, please.

@liumengyuan1997 liumengyuan1997 force-pushed the keep-hand-raised-button branch from 7d70468 to 5a75989 Compare August 9, 2024 04:37
config.js Outdated
@@ -235,6 +235,10 @@ var config = {
// Specifies whether the raised hand will hide when someone becomes a dominant speaker or not
// disableRemoveRaisedHandOnFocus: false,

// Specifies whether there is a notification before hiding the raised hand
// when someone becomes the dominant speaker.
// disableRemoveRaisedHandOnFocusNotification: false,
Copy link
Member

Choose a reason for hiding this comment

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

Let's put the option inside the new raisedHands config object. Rebase this PR after the other lands and put it in there.

Let me know if you need help with that!

@liumengyuan1997 liumengyuan1997 force-pushed the keep-hand-raised-button branch from 5a75989 to d2cdea0 Compare August 9, 2024 18:00
@@ -489,9 +489,9 @@ export interface IConfig {
prejoinPageEnabled?: boolean;
raisedHands?: {
disableLowerHandByModerator?: boolean;
disableLowerHandNotification?: boolean;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This serves the same purpose as 'disableRemoveRaisedHandOnFocusNotification'. Since I think the new name is clearer, I’ve updated it accordingly. Please let me know any advice.

@saghul saghul requested a review from mihhu August 12, 2024 09:12
Copy link

This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Nov 11, 2024
@saghul
Copy link
Member

saghul commented Nov 11, 2024

Ops, this fell through the cracks. Can you give it one last look @mihhu ?

@github-actions github-actions bot removed the stale label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gsoc Appropriate for GSoC students to tackle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants