Commit Graph

1166 Commits

Author SHA1 Message Date
Christoph Settgast 22d782f61f fix(lang) update German translation 2021-12-11 12:44:09 +01:00
Jaya Allamsetty 229e65133c feat(media) Disable desktopshare when the video sender limit is reached. 2021-12-10 14:58:55 -05:00
Calinteodor bf3cc65f4c
feat(security) created SecurityOptions React Navigation screen (#10509)
* feat(security) Security Options screen
2021-12-10 18:23:27 +02:00
Payetus 661a3d34be
fix(lang) update Catalan translation
Co-authored-by: Payetus <payet91@gmail.xom>
2021-12-09 13:27:21 +01:00
Avram Tudor 51b827ebb0
fix(browser-compatibility) hide launch in web for unsupported mobile browsers (#10569) 2021-12-09 13:16:08 +02:00
robertpin 41f11e5adb feat(self-view) Added ability to hide self view
Added config option disableSelfView. This disables it on web and native

Added button on local video menu and toggle in settings on web to change the setting
2021-12-09 08:45:16 +01:00
Saúl Ibarra Corretgé 00ae2dc6a9 fix(virtual-backgrounds) make error message translatable 2021-12-08 15:12:32 +01:00
JH 340698a546
fix(lang) update sv translation 2021-12-08 14:05:45 +01:00
SiderealArt 0920bda7b8
fix(lang) update Traditional Chinese (Taiwan) translation 2021-12-08 09:14:11 +01:00
José Luís Andrade 81e9d01921
fix(lang) update Portuguese translation 2021-12-08 08:33:21 +01:00
Ali Alhaidary b890f34a53
fix(lang) update Arabic translation 2021-12-08 08:25:38 +01:00
gpatel-fr 822850d888 fix(lang) update french translation 2021-12-04 13:18:24 +01:00
Christoph Settgast 64e6c5f461 fix(lang) update German translation 2021-12-04 07:20:26 +01:00
Andrei Oltean a077043f1b feat: (moderate-reaction-sounds) enable moderator to mute reaction sounds 2021-12-03 18:36:57 +02:00
Saúl Ibarra Corretgé da0cb2b837 feat(breakout-rooms) add notification when joining rooms 2021-12-03 10:48:31 +01:00
gpatel-fr 76667066e2
fix(lang) update french translation + fix 2 existing translations 2021-12-02 15:06:21 +01:00
Tudor D. Pop c172a27f24
feat(notifications) coalesce participant left and raised hand notifications 2021-12-02 14:17:07 +01:00
Mejans 054564ab0a New strings translated
So to be up to date
2021-12-01 15:53:45 +01:00
Christoph Settgast 60b551a339 fix(lang) update German translation 2021-12-01 06:57:17 +01:00
Jaya Allamsetty c7765cc1b7
feat(conference) Implement audio/video mute disable when sender limit is reached.
* feat(conference) Impl audio/video mute disable when sender limit is reached.
Jicofo sends a presence when the audio/video sender limit is reached in the conference. The client can then proceed to disable the audio and video mute buttons when this occurs.

* squash: use a different action type and show notification.
2021-11-30 15:08:25 -05:00
Szymon Ruciński 41db8711f0
fix(lang) update Polish translation 2021-11-26 08:45:54 +01:00
Szymon Ruciński a0edf329ae
fix(lang) update Polish translation 2021-11-26 08:45:32 +01:00
Christoph Settgast 48b12b4e00 fix(lang) update German translation 2021-11-25 07:18:05 +01:00
Payetus e8cf932abb
fix(lang) update translations for Catalan 2021-11-24 16:55:02 +01:00
Saúl Ibarra Corretgé d7b581e338 feat)rn,sdk) introduce a "ready to close" event
This event is the event host applications need to listen to for knowing when to
dispose the SDK from now on.

Since the introduction of breakout rooms it's possible that we navigate from one
meeting to another, so there will be several conference join / terminations.

In addition, local track destruction is now moved to SET_ROOM when there is no
room, aka, we are going back to the welcome page or to the black page.
2021-11-24 09:58:48 +01:00
hmuresan 14a422ba83 fix(linguistics) Use 'email' instead of 'e-mail' 2021-11-23 16:00:08 +02:00
Greg Galperin 6101cd2c1a fix(lang) update Russian translation 2021-11-22 07:52:44 +01:00
Mejans 41d654b2dc
fix(lang) update Occitan translation 2021-11-22 07:52:14 +01:00
Ali Alhaidary c381a3eed4
fix(lang) update Arabic translation 2021-11-22 07:48:40 +01:00
csett86 f42fe0ce17
fix(lang) update German translation
Signed-off-by: Christoph Settgast <csett86@web.de>
2021-11-22 07:46:13 +01:00
gpatel-fr b277812e8e
fix(lang) update french translation 2021-11-20 11:51:55 +01:00
Werner Fleischer b5faf9f62a feat(breakout-rooms) add breakout-rooms
- implement breakout-rooms
- integrated into the participants panel
- managed by moderators
- moderators can send participants to breakout-rooms
- participants can join breakout rooms by themselve
- participants can leave breakout rooms anytime

Co-authored-by: Robert Pintilii <robert.pin9@gmail.com>
Co-authored-by: Saúl Ibarra Corretgé <saghul@jitsi.org>
2021-11-19 10:27:34 +01:00
Christoph Settgast 2d0a70f2ab lang: Update German translation 2021-11-18 07:57:52 +01:00
Gabriel Borlea 61684b1071
feat(facial-expressions): add the facial expression feature and display them in speakerstats (#10006)
* Initial implementation; Happy flow

* Maybe revert this

* Functional prototype

* feat(facial-expressions): get stream when changing background effect and use presenter effect with camera

* add(facial-expressions): array that stores the expressions durin the meeting

* refactor(facial-expressions): capture imagebitmap from stream with imagecapture api

* add(speaker-stats): expression label

* fix(facial-expression): expression store

* revert: expression leabel on speaker stats

* add(facial-expressions): broadcast of expression when it changes

* feat: facial expression handling on prosody

* fix(facial-expressions): get the right track when opening and closing camera

* add(speaker-stats): facial expression column

* fix(facial-expressions): allow to start facial recognition only after joining conference

* fix(mod_speakerstats_component): storing last emotion in speaker stats component and sending it

* chore(facial-expressions): change detection from 2000ms to 1000ms

* add(facial-expressions): send expression to server when there is only one participant

* feat(facial-expressions): store expresions as a timeline

* feat(mod_speakerstats_component): store facial expresions as a timeline

* fix(facial-expressions): stop facial recognition only when muting video track

* fix(facial-expressions): presenter mode get right track to detect face

* add: polyfils for image capture for firefox and safari

* refactor(facial-expressions): store expressions by counting them in a map

* chore(facial-expressions): remove manually assigning the backend for tenserflowjs

* feat(facial-expressions): move face-api from main thread to web worker

* fix(facial-expressions): make feature work on firefox and safari

* feat(facial-expressions): camera time tracker

* feat(facial-expressions): camera time tracker in prosody

* add(facial-expressions): expressions time as TimeElapsed object in speaker stats

* fix(facial-expresions): lower the frequency of detection when tf uses cpu backend

* add(facial-expressions): duration to the expression and send it with durantion when it is done

* fix(facial-expressions): prosody speaker stats covert fro string to number and bool values set by xmpp

* refactor(facial-expressions): change expressions labels from text to emoji

* refactor(facial-expressions): remove camera time tracker

* add(facial-expressions): detection time interval

* chore(facial-expressions): add docs and minor refactor of the code

* refactor(facial-expressions): put timeout in worker and remove set interval in main thread

* feat(facial-expressions): disable feature in the config

* add(facial-expressions): tooltips of labels in speaker stats

* refactor(facial-expressions): send facial expressions function and remove some unused functions and console logs

* refactor(facial-expressions): rename action type when a change is done to the track by the virtual backgrounds to be used in facial expressions middleware

* chore(facial-expressions): order imports and format some code

* fix(facial-expressions): rebase issues with newer master

* fix(facial-expressions): package-lock.json

* fix(facial-expression): add commented default value of disableFacialRecognition flag and short description

* fix(facial-expressions): change disableFacialRecognition to enableFacialRecognition flag in config

* fix: resources load-test package-lock.json

* fix(facial-expressions): set and get facial expressions only if facial recognition enabled

* add: facial recognition resources folder in .eslintignore

* chore: package-lock update

* fix: package-lock.json

* fix(facial-expressions): gpu memory leak in the web worker

* fix(facial-expressions): set cpu time interval for detection to 6000ms

* chore(speaker-stats): fix indentation

* chore(facial-expressions): remove empty lines between comments and type declarations

* fix(facial-expressions): remove camera timetracker

* fix(facial-expressions): remove facialRecognitionAllowed flag

* fix(facial-expressions): remove sending interval time to worker

* refactor(facial-expression): middleware

* fix(facial-expression): end tensor scope after setting backend

* fix(facial-expressions): sending info back to worker only on facial expression message

* fix: lint errors

* refactor(facial-expressions): bundle web worker using webpack

* fix: deploy-facial-expressions command in makefile

* chore: fix load test package-lock.json and package.json

* chore: sync package-lock.json

Co-authored-by: Mihai-Andrei Uscat <mihai.uscat@8x8.com>
2021-11-17 16:33:03 +02:00
Calinteodor 4e2fea1e12
feat(rn,welcome) React Navigation drawer 2021-11-11 15:32:56 +01:00
Christoph Wiechert 876773ca2a
fix(lang) Fix typos in german translation 2021-11-11 06:40:31 +01:00
Hristo Terezov bcb0fe919c fix(recorder): "already started" notification 2021-11-09 13:25:19 -06:00
Hristo Terezov 981fc2f410 feat: Handle recording already started error 2021-11-09 12:33:43 -06:00
Christoph Settgast b47a263e5c lang: fixes for German
Signed-off-by: Christoph Settgast <csett86@web.de>
2021-11-08 05:52:04 -07:00
José Luís Andrade bf36b22bbd
fix(lang) update portuguese translation of "highestQuality" (#10317)
Shorten text size for better viewing
2021-11-07 08:02:18 +01:00
Payetus d6253c57c9 adding lobby localization to "ca" lang 2021-11-06 05:57:24 +01:00
José Luís Andrade 978586c157
fix(lang) update Portuguese Translation 2021-11-05 19:59:16 +01:00
robertpin 21d5b7bcd6 fix(av-moderation) Fix text on stop video dialog
Show correct text on stop participant's video dialog when moderation is on
2021-11-03 12:38:12 +02:00
gpatel-fr c4cbf83208
fix(lang) update french translation 2021-11-03 10:21:32 +01:00
Alexey Matveev f1ae9a6697
fix(lang) update Russian translation
Co-authored-by: Alexey Matveev <malex@1forma.ru>
2021-11-02 16:48:39 +01:00
Vlad Piersec e51655a93a feat(Polls): Display creator name for polls 2021-11-02 15:45:46 +02:00
robertpin 7aca5e71b9 refactor(participants-pane) Refactored with reusable components
Created Reusable components for:
- ListItem - used by participants list and lobby participants list
- ContextMenu - used by participant context menu and advanced moderation context menu
- Quick action button - used by quick action buttons on participant list items

Moved participants custom theme to base/components/themes

Created reusable button component for all participants pane buttons (Invite, Mute All, More)

Moved web components to web folder

Moved all styles from Styled Components to JSS

Fixed accessibility labels for some buttons

Removed unused code

Updated all styles to use theme tokens
2021-11-01 08:54:13 +02:00
gpatel-fr ba110fbdc3 (Lang) fix french translation 2021-10-27 07:28:47 -07:00
Mejans 1dbfbb9786
Update Occitan (#10240) 2021-10-25 13:00:44 +03:00
gpatel-fr d77a3bb61e
fix(lang): update French translation (#10239) 2021-10-25 13:00:32 +03:00
csett86 2ab0d6b606
fix(lang): update German translation (#10188)
Signed-off-by: Christoph Settgast <csett86@web.de>
2021-10-25 12:55:31 +03:00
robertpin dec05917d3 fix(translation) Reverted changes to translation parameter
Reverted param name change on translation
2021-10-25 10:49:52 +03:00
robertpin 338ff43c81
feat(participants-pane) Added search in participants list (#9975)
- created `ClearableInpu`t component on web & native
- added `ClearableInput` component to participants pane and used it for search in participants list
- update `AddPeopleDialog` to use `ClearableInput`
2021-10-21 14:58:44 +03:00
Vlad Piersec 1ad8f77179 feat(dialogs): Redesign Video Quality dialog & change dialog background color 2021-10-19 10:05:59 +03:00
Vlad Piersec bad8911fe8 feat(Labels): Redo video quality label
Video quality label now becomes "performance settings".
All CSS for labels is moved to JS.
Overflow menu button is also changed to "performance settings".
2021-10-19 10:05:23 +03:00
Rafael 09efaa0d0d
fix(lang) updated pr-BR translation 2021-10-18 09:19:37 +02:00
José Luís Andrade 8bcc94fdcc
fix(lang) update Portuguese translation 2021-10-13 13:48:16 +02:00
Selyan Slimane Amiri a6ce4fe368
fix(lang) update Kabyle translation
* Update languages-kab.json

Add missed translation

* Update main-kab.json

Continue translation in kabyle

* Update main-kab.json

Finish the Kabyle translation

* Update languages-kab.json
2021-10-11 20:32:51 +02:00
Jesús Verduzco 927505ebf8
fix(lang) updated Spanish translation 2021-10-11 11:13:41 +02:00
Izak Glasenčnik f17af0ce2a
fix(lang) update Slovenian translations 2021-10-11 10:57:54 +02:00
Jaya Allamsetty 15aaf832b4 fix(notification) Edit reason for forced reload of the client.
It is triggered by both local ICE failure and because of call getting migrated to a different bridge.
2021-10-07 11:27:53 -04:00
Suleyman BİLGİN 7c86ece9fa
lang: added and translated all missing keys on turkish translation (#10050) 2021-10-04 14:12:38 -05:00
chipechop 8aa475d159
lang: Update main-it.json (#10088)
* Update main-it.json

* Update main-it.json

added a missing comma...

* Update main-it.json

added all the missing commas...

* Update main-it.json

will this be the last comma I left behind? Who knows...
2021-10-04 14:12:17 -05:00
Saúl Ibarra Corretgé b1ecd03924 fix(lang) sample run of the translations updating script 2021-09-29 13:08:59 +02:00
Saúl Ibarra Corretgé 7546db53e4 feat(lang) add helper script for manual translations
It updates the main language file for a given locale from the canonical one and
sets the empty string on the missing keys. No longer used keys are discarded.
2021-09-29 13:08:59 +02:00
robertpin ace53c880b
feat(av-moderation) Ask to Unmute and remove from Whitelist (#10043)
* feat(av-moderation) Ask to Unmute and remove from Whitelist

Make Ask to Unmute work without moderation
Add remove from moderation whitelist functionality

* chore(deps) lib-jitsi-meet@latest

* feat(av-moderation) Remove from moderation whitelist functionality (#1729)
* fix(chore) corrected typo in log message
* fix(e2ee) replace nullish coalescing with or
* fix(e2ee) restore initial key when RATCHET_WINDOW_SIZE reached

3b8baa9d3b...0646bc3403

Co-authored-by: Дамян Минков <damencho@jitsi.org>
2021-09-28 11:11:13 -05:00
Mejans b42ebf6901
fix(lang) update Occitan translation 2021-09-28 13:27:48 +02:00
Alexey Matveev a91b2c91dd
lang: minor fix in russian localization (#10027)
* - minor fix in russian localization

* - minor localization fix

Co-authored-by: Alexey Matveev <malex@1forma.ru>
2021-09-27 22:12:31 -05:00
Ali Alhaidary 344e9c8a03
lang: Update main-ar.json (#10034)
Adding missing keys and translate them
2021-09-27 22:10:22 -05:00
Damien Fetis 823cab3851 fix(lang) update french translation 2021-09-25 12:03:54 +02:00
Mejans 68de35357e
fix(lang) update occitan translation 2021-09-23 22:14:32 +02:00
robertpin 703e43ecd7
fix(av-moderation) Display Allow Video instead of Ask to Unmute (#9991)
When the user is allowed audio but not video display Allow Video button instead of Ask to Unmute
2021-09-22 16:26:55 +03:00
robertpin 5f5cac0e01
fix(config,notifications) fix rendering moderator notifications (#9986)
Move DISABLE_FOCUS_INDICATOR from interface_config.js to config.js (disableModeratorIndicator).
2021-09-21 17:38:06 +02:00
tmoldovan8x8 5ad98d193a
feat(e2ee) disable e2ee when large number of participants 2021-09-21 14:00:23 +03:00
Alexey Matveev 7ff3b669ee
fix(lang) update Russian translation
Co-authored-by: Alexey Matveev <malex@1forma.ru>
2021-09-18 11:15:13 +02:00
Avram Tudor adbb5f8ead
fix(prejoin) implement ux improvements for mobile (#9939) 2021-09-17 13:12:34 +03:00
robertpin ab366b9d94
fix(av-moderation) Advanced moderation improvements (#9935)
* Update moderation in effect notifications

Only display one notification for each media type. Display notification for keyboard shortcuts as well

* Update muted remotely notification

Display name of moderator in the notification

* Fix indentation on moderation menu

* Update text for video moderation

* Added moderator label in participant pane

* Update microphone icon in participant list

For participants that speak, or are noisy, but aren't dominant speaker, the icon in the participant list will look the same as the dominant speaker icon but will not change their position in the list

* Added sound for asked to unmute notification

* Code review changes

* Code review changes

Use simple var instead of function for audio media state

* Move constants to constants file

* Moved constants from notifications to av-moderation
2021-09-15 11:28:44 +03:00
Saúl Ibarra Corretgé b92c1f52d5 fix(shared-video) make placeholder translatable
Also fix capitalization.
2021-09-14 12:50:22 +02:00
csett86 e2443f8d01
lang: update German translation (#9921)
Signed-off-by: Christoph Settgast <csett86@web.de>
2021-09-11 10:58:15 -05:00
dimitardelchev93 11a86a9383
fix: Add different text when disablePolls is enabled/disabled (#9900)
* Add different text when disablePolls is enabled/disabled #9890

* Add different text when disablePolls is enabled/disabled v2 #9890
2021-09-10 13:57:36 -05:00
robertpin 1dc8bfa631
feat(av-moderation) Updated Advanced moderation (#9875)
Co-authored-by: Vlad Piersec <vlad.piersec@8x8.com>
2021-09-10 14:05:16 +03:00
José Luís Andrade d83d822818
lang: Complete translation to Portuguese (#9871)
* Complete translation to Portuguese

* "reactions" and "connectedThreePlusMembers" fix
2021-09-09 14:36:21 -05:00
Vlad Piersec d96246dea8 fix(config): Add separate entries for the e2ee labels 2021-09-09 16:16:08 +03:00
Vlad Piersec f5dee99131 feat(config): Add config option for e2ee label 2021-09-08 12:33:22 +03:00
Saúl Ibarra Corretgé c730676ce6 fix(lang,notifications) make join notification text more generic 2021-09-02 16:49:04 +02:00
phict 5713b381c4
lang: Update main-sv.json (#9862) 2021-09-02 09:45:20 -05:00
Mejans 1e83bdef6c
lang: Update i18n Occitan (#9853)
Some update.
Been up to line 253 at the moment
2021-09-02 09:45:01 -05:00
chagai95 531ec79e13
lang: Added and edited translations for vi (#9850)
Co-authored-by: cfriedlander <chagai.friedlander@aarenet.com>
2021-09-02 09:44:36 -05:00
José Luís Andrade 772e7b0121
lang: Update portuguese translation (#9836)
* Update portuguese translation

Translate "dialog”, "virtualBackground”, "info” and "settings" sections

* fix "you" translation

* revert "you" translation to original
2021-09-02 09:44:14 -05:00
phict 4716bdd380 Update main-sv.json
Add lobby translation and some linguistic improvments.
2021-08-27 10:03:27 -05:00
Tudor D. Pop eb4aefbca1
fix(virtual-background) upload bkg image on poor connection 2021-08-26 15:33:43 +02:00
Michał Orman b14e571d5c
fix(lang) update Polish translations 2021-08-26 14:02:09 +02:00
alittriutari cf6d6f8a12
fix(lang) update Japanese translations 2021-08-26 09:34:47 +02:00
José Luís Andrade 6537447d7c
fix(lang) update Portuguese translation 2021-08-25 14:09:23 +02:00
robertpin c7a91e1974
feat(reaction-sounds) Added sounds for reactions (#9775)
* Added sounds for reactions

* Updated reactions list

* Added reactions to sound settings

* Added support for multiple sounds

* Added feature flag for sounds

* Updated sound settings

Moved reactions toggle at the top of the list

* Added disable reaction sounds notification

* Added reaction button zoom for burst intensity

* Fixed raise hand sound

* Fixed register sounds for reactions

* Changed boo emoji

* Updated sounds

* Fixed lint errors

* Fixed reaction sounds file names

* Fix raise hand sound

Play sound only on raise hand not on lower hand

* Fixed types for sound constants

* Fixed type for raise hand sound constant
2021-08-23 12:57:56 +03:00
José Luís Andrade 229520f74f
fix(lang) update Portuguese translation 2021-08-20 14:39:57 +02:00
Avram Tudor 1ad9046a38
Improve premeeting screens ux (#9726)
* feat(prejoin) move invite to toolbar section

* feat(premeeting) redesign prejoin and lobby screens

* code review changes

* fix prejoin flicker and avatar id

* fix password error message and native lobby dialog close position
2021-08-20 11:53:11 +03:00
Saúl Ibarra Corretgé cf34b0a783 fix(e2ee) update E2EE warning message 2021-08-19 17:19:00 +02:00
José Luís Andrade 4788720edd
fix(lang) update portuguese translation 2021-08-19 09:56:20 +02:00
Jade Guiton 8c82c0f56e
feat(polls) Ability to create polls inside Jitsi (#9166)
* feat(polls) Added boilerplate code for polls feature

* feat(polls) Implemented simple poll creation and answer modals in web app

feat(polls) Added button to create a poll in toolbar
feat(polls) Added Modal to answer an incoming poll
feat(polls) Implemented basic client-side sending and reception of polls
feat(polls): linked Poll creation to poll answering
fix(polls) Linted code
feat(polls.create) Added fields for question and answers (#3)
* feat(polls.create) Added fields for question and answers + keyboard navigation
* feat(polls.create) Minor changes, added some comments
feat(PollAnswer Component): Component to display modal to answer poll #1 (#2)
* fix(polls) removing necessity of current_poll_id variable
* fix(polls) linting, polls are now updated when an answer is sent
* feat(polls answer) added translation
* fix(polls answer) remove extra comments, fixed typo
* improvement (polls answer) use useSelector instead of mapStateToProps. cleaner code
* fix (polls create) renamed sender to senderId
* fix (polls answer) turned arrow function into useCallBack
feat(PollResults Component): Component to display poll results (#1)
* feat(PollResults Component): fist version of the component
* feat(detailed votes): Display the detailed results of a poll
* feat(Poll results): Use display name instead of ids in detailed results mode
* fix(Poll): change title to question
* fix(Poll type): import Poll type from types.js
* fix(Poll): change title to question
* fix(Poll): get participants out of the map
* fix(Poll): replace filter with find
feat(polls.create) Added "+" and "x" buttons in poll creation form + improved keyboard navigation a bit
feat (polls) Answer modal now display results in real time after validation or skip
feat(polls.create) Minor improvements to poll creation form
feat(poll result) Added default message when trying to display no answer
fix (polls) result windows is now small by default
fix (polls) sanitizes imports to allow startup on react native

* feat(polls.native) Implemented native toolbar button & poll create modal

feat( poll native) added poll creation button in native toolbar
improvement(polls) only one file used for PollCreateButton
feat (polls native) added an example dialog
feat (polls native) added possibility to create and delete options in poll creation
improvement (polls) better styling for PollCreateDialog

* feat(polls) Added ability to drag&drop answers in web poll creation form

* feat(polls) Added native poll answer modal + chat integration, refactored components

Merge branch 'polls-native' of https://github.com/jade-guiton/jitsi-meet into polls-native
improvement (poll) Better styling for poll answer, now uses icons
feat(poll.PollResults): Add native version of PollResults
feat(poll.PollResults): Post results in chat in Native
fix(poll.PollResults): Fix linter error in ChatMessage
feat(polls.native) Improved styling for native poll answer dialog (required some internal changes)

* fix(polls) Heavily refactored and added bars to poll results, other minor changes

fix(poll.create): Move title to Dialog title
feat(poll.create) Minor changes to poll creation / answer dialogs
fix(poll.create) Refactored and improved translations
feat(poll) Improved CSS for modals in web version
fix(poll.pollcreate): Fix button size in native
fix(polls) Refactored poll results component and other minor changes
fix (polls) remove double import
refactor(poll) Heavily refactored poll results (native + web)
feat(polls.results) Added percentage bars and vote counts in web poll results, minor changes to mobile poll results

* fix(polls) Fixes and linting

fix(polls) Reformatted and fixed some linter and Flow errors
fix(polls.results) Fixed voter list border appearing with 0 voters

* feat(polls): Add modal with detailed votes that can be open from the result summary in the chat

* fix(polls) Fixes, refactorings, and minor design changes

feat(polls.results): Refactored poll chat message and improved design in web app
feat(polls.results) Same as last commit, but for mobile version
refactor(polls.results) Refactored PollResultsMessage and removed unnecessary prop in PollResults
fix(polls.results) Fixed all remaining linter and Flow errors
improvement(polls) removed console logs, added comments
fix (polls) linting
fix(polls.results) Fixed bug with poll chat message displaying the wrong name
feat(polls.results) Minor improvement on poll results display (web)
fix(poll.results): Use getParticipantDisplayName to get participant name and avoid empty string as name

* Feat(poll.results): Remember voters names to display after they left the conference (#10)

* feat(poll.results): Add the sender name in Poll object to remember names if participants leave the conference. Names are also updated if changed
* refactor(poll.results): Refactor the memorization of the names of voters to use the same logic as in  the chat
* refactor(poll.results): use Map instead of Array.From(
* refactor(poll.answer): change the way names are stored in poll answers to persist if participant left the call
* Update react/features/polls/components/AbstractPollAnswerDialog.js
* Update react/features/polls/components/AbstractPollCreateDialog.js
* refactor(poll.answer): use voterName instead of senderName to avoid confusion with senderId the id of the sender of the poll
* improvement(polls) Simplified poll answer voter name logic

Co-authored-by: Fabien Zucchet <fabien.zucchet@student-cs.fr>
Co-authored-by: Jade Guiton <guiton.jade@gmail.com>

* fix(poll.native): Fix UI overflow when asking long questions & long options in the mobile app (#11)

Co-authored-by: Fabien Zucchet <fabien.zucchet@student-cs.fr>

* fix(polls) Fixed close button behavior in answer and results dialog (#12)

* fix(polls) Fixed close button behavior in answer and results dialog
* fix(polls) Fixed linter error

* fix(polls) Added a poll queue to avoid overwriting open modals (#13)

* fix(polls) Added a poll queue to avoid overwriting open modals
* fix(polls) Updated documentation for action RECEIVE_POLL

* Refactor(poll.chatresults): Add message in chat with hidden results until the participant has answered (#14)

* refactor(poll.chat): Display poll results in chat when the poll is created instead of when the participant has ansered
* refactor(poll.chat): Hide results until the participant has answered, skipped or canceled a responde to the poll
* Use getParticipantDisplayName instead of only getStore()
* Hide results also in native
* fix(polls) Fixed previous merge

Co-authored-by: Fabien Zucchet <fabien.zucchet@student-cs.fr>
Co-authored-by: Jade Guiton <jade.guiton@centralesupelec.fr>

* minor improvements (polls)

refactor (polls) uniformized string for command names
refactor (polls) changed pollId type to number everywhere

* feat(polls) Added persistence to polls using sendMessage instead of sendCommandOnce (#16)

* feat(polls) Using sendMessage instead of sendCommandOnce, switched poll IDs to string, and ability to receive old polls from backend
* improvement(polls) Linted everything, fixed Flow errors, and added Prosody plugin for polls
* improvement(polls) Historic polls are now displayed in chronological order

* (polls) Minor improvements (#17)

* renaming (polls) Renaming senderId -> voterID for voters
* improvement (polls) sender's name is now provided with poll
* comments (polls) updated comments for senderName types
* fix(polls) Finished merging with json-messages feature
* fix(polls) Fixed incorrect json-message sent with 0 polls

Co-authored-by: Jade Guiton <guiton.jade@gmail.com>

* Move polls to tab (#23)

* Draft(polls): Move polls to polls-pane ; first version for web
* Draft(polls): Move polls to polls-pane ; clean styled.js and remove Participant objects
* fix missing newline at the end of file
* Change behaviour to allow answer poll later
* Fix(polls): change pollId type from number to string for consistency
* feat(polls-pane): Ability to answer to a poll in polls-pane
* feat(polls-pane): Ability to create to a poll in polls-pane
* feat (polls.pane) display a notification when a new poll arrives
* refactor(polls-pane): Update CSS to have a design closer to the mockups
* fix(poll.vote count): Fix votes counting when computing percentage
* fix(poll.vote count): Fix votes counting when computing percentage
* refresh fork with jitsi/jitsi-meet
* design (polls) Better look for poll creation
* refactor(polls pane): Move polls-pane as a chat tab
* Remove the first version of the polls-pane and the button to open it
* Fix notifications and typo
* Translate new polls tab in chat
* Change polls_pane to polls-pane
* Remove unless functions
* Remove usage of styled.js
* Improve responsiveness
* Separate web and native logic
* Remove Create a Poll button in web toolbox
* improvement (polls) added auto scrolling to bottom when a new poll arrives
* Add tabs to swicth between polls and chat in native
* Add AbstractPollsPane
* Add AbstractPollCreate
* Add AbstractPollAnswer
* Add PollAnswer, PollItem and PollList for native
* Add PollCreate for native
* Remove dialogs in web and native
* Remove dialog queue
* Remove useless files
* Move _polls.scss outside dialog folder
* Add possibility to skip answer
* Add (useless for now) see details link
* Add possibility to show detailed results for a poll
* Resize progress bar to make details display
* refactor, design (polls) better style to native design chat
* fix (polls) Removed unecessary files
* translate (polls) added french translation to empty polls
* design fix (polls.native) 'show details' now correctly switch between progress bar and voters mode
* Change See detailed results for Show details and add cursor: pointer
* Fix progress bars not aligned with text
* fix (polls.native) added autoselection of newly created option
* Remove poll answer
* improvement(polls.create) Improved web poll creation form marginally
* improvement(polls.change) Simplified answer removal by reusing poll-answer command
* fix linter
* Fix(translation): update translation

Co-authored-by: Fabien Zucchet <fabien.zucchet@student-cs.fr>
Co-authored-by: spineki <marras.antoine@gmail.com>
Co-authored-by: Fabien Zucchet <fabien.zucchet@viarezo.fr>

* Merge pull request #22 from jade-guiton/polls-with-notification

feat (polls) chat notification badge now display the sum of unread  messages and unread polls
fix(translation): Fix missing translation
Fix flow error

* Cleaned up, fixed, and uniformized translations

* Small improvements to PollAnswer and PollResult + Much refactoring

Specifically:
- "Change vote" button now says "Vote" if voting was skipped
- Clicking on "Change vote" resets the voting form to the last submitted answers instead of a blank slate

- The "answered" field of Polls was replaced by "showResults" and "lastVote"
- The "setAnsweredStatus" action was replaced by "registerVote" and "retractVote"
- Some newly unreachable/useless code was removed
- "showDetails" state is now handled by AbstractPollResults instead of PollItem

* fix(polls tab): change tab underline color to #525252

* fix(poll create): Enforce at least two options to create a poll

* fix(poll create): change 'remove option' color to #E04757

* fix(poll create): Update Poll create CSS to adapt to design

* fix(poll answer): Adapt CSS to make poll answer closer to mockup

* fix(poll result): Udpdate poll result CSS to match mockups

* fix(poll result): Udpdate poll result CSS to match mockups

* fix(poll create): Display 'remove option' only when there is at least 3 options

* fix(polls button): Add hover, active, focus and disabled state to polls buttons

* Last improvements for web

* Native design fixes

* Fix rebase issue in land/main.json

* Fix french translation after rebase

* Fixmobile behaviour

* Fixed keyboard navigation in web poll creation form

* Fixed Flow error related to "no polls" icon in PollsList

* fix(polls): Enabled polls Prosody module in Debian config files

* doc(polls) Added comments to the Prosody module code

* fix(polls): Switched from using an internal LJM event to ones from the public API

* Capitalize I of setIsPollsTabFocused

* extract the 2 button modes into a const

* remove extra new lines

* Rename CLOSE_POLL_TAB for POLL_TAB_CLOSED for clarity

* Rename answers2 for answersParsed for clarity

* use switch instead of if/else chain

* improve syntax for localId fetching

* Refactor: Use BUTTON_MODE.CONTAINED variable instead of 'contained'

* Disable send poll button if not enough data is provided in the form (#30)

* Feat: Add notification badge on chat and poll tabs (#31)

* Feat: Add notification badge on chat and poll tabs

* Add badge equivalent for native

* Update displayNameForm text to mention polls (#34)

* Disable polls UI with a config in config.js (#33)

* Change remove option text color from red to grey (#32)

Co-authored-by: spineki <marras.antoine@gmail.com>
Co-authored-by: Fabien Zucchet <fabien.zucchet@student-cs.fr>
Co-authored-by: Fabien Zucchet <80532941+fabienzucchet@users.noreply.github.com>
Co-authored-by: Fabien Zucchet <fabien.zucchet@viarezo.fr>
2021-08-14 08:29:42 -05:00