Commit Graph

24 Commits

Author SHA1 Message Date
Ramón Souza
318f7b141b migrate setTimer action 2024-01-17 11:41:33 -03:00
Ramón Souza
08c3b9b393 migrate setTrack action 2024-01-17 09:22:50 -03:00
Ramón Souza
a344fe0c2d migrate switchTimer action 2024-01-17 09:12:27 -03:00
Ramón Souza
825424df1a migrate startTimer/stopTimer actions 2024-01-17 08:29:19 -03:00
Ramón Souza
645c3c3193 migrate resetTimer action 2024-01-16 13:55:31 -03:00
Ramón Souza
0120548528 migrate deactivateTimer action 2024-01-16 13:51:36 -03:00
Ramón Souza
05225427a2 migrate activateTimer action 2024-01-16 11:19:11 -03:00
Ramón Souza
5b2731275f replace isModerator checks with useCurrentUser 2023-11-30 14:24:25 +01:00
Arthurk12
104550d46f fix(timer): sidebar content when activated
Changes the behavior of activating the timer. The behavior set by this commit
is: when the timer is activated, only the moderator who triggered it will see
the sidebar content switch to the timer. This change required hanging an
observer to catch the timer activation and dispatch the sidebar content
change since timer messages are passing through akka.
2023-06-29 18:24:40 -03:00
GuiLeme
2cf46e4d05 [port-timer-with-events-suggestions] - made review suggestions 2023-06-08 16:37:32 -03:00
Arthurk12
f13217607e feat(timer): add model and messages to akka apps
This commit makes the messages of the timer feature to be proxied by
akka-apps and also adds a timer model that is updated based on these
messages.
Moving the timer panel opening logic to the timer button component in
the navigation panel was a consequence of these changes.
2023-05-18 15:29:42 -03:00
Arthurk12
215fe73542 fix(timer): update time offset edge case
Prevents the client from updating its time offset when the time returned
from the server is zero, which is the default returned value when there
is no userId.
This would make the client to calculate a gigantic negative time offset
leading the timer to reach the end prematurely/instantaneously.
2023-05-18 15:29:42 -03:00
Arthurk12
f5a5a960ba feat(timer): adds more songs
Adds 2 more songs to the timer, which can be switched using the radio
buttons inside timer panel.
Changed the music loop logic to make it gapless.
2023-05-18 15:29:35 -03:00
Arthur B. Grossi
dbbef569a9 fix(timer): autoplay
When user enters meeting with music already playing, an event listener is set
to play the music only after user interaction.
Also, to keep timer more cohesive and reduce complexity of the condition for
playing music, timer automatically stops after 90% of users notify that the
timer has expired.
2023-05-18 15:29:34 -03:00
Arthur B. Grossi
cc61652aa3 feat(timer): ambient music
Adds a music player for ambient sound which can be turned on and off using a
toggle located inside timer panel. When stopwatch is selected, this toggle is
automattically turned off.
2023-05-18 15:29:34 -03:00
Pedro Beschorner Marin
ea30525cb4 Timer design extra tweaks 2023-05-18 15:29:33 -03:00
Arthurk12
cc2f509c7c Refactored timer design 2023-05-18 15:29:33 -03:00
Pedro Beschorner Marin
585dbef43d Time offset refactor 2023-05-18 15:29:33 -03:00
Pedro Beschorner Marin
c040db8f58 Fix alarm when deactivated 2023-05-18 15:29:32 -03:00
Pedro Beschorner Marin
2f104eafc8 Syncing time offset between client and server 2023-05-18 15:29:32 -03:00
Pedro Beschorner Marin
4d8f7070de Add timer alarm 2023-05-18 15:29:32 -03:00
Pedro Beschorner Marin
f4a5421843 Add timer view 2023-05-18 15:29:31 -03:00
Pedro Beschorner Marin
5463a4a423 Stopwatch handlers 2023-05-18 15:29:31 -03:00
Arthurk12
953a3d3548 Timer first commit 2023-05-18 15:29:31 -03:00