Commit Graph

51 Commits

Author SHA1 Message Date
Anton Georgiev
25bb9468ab refactor: rename Songs to Music in BBB Timer 2023-11-20 11:37:04 -03:00
Ramón Souza
1c636c4cce
Merge pull request #19004 from gabriellpr/test-timer
test: Timer and stopwatch
2023-11-15 10:03:15 -03:00
Guilherme Pereira Leme
93b8705af2
feature(html5): Change return type of the graphql data hook (#19103) 2023-11-13 15:10:41 -03:00
Ramón Souza
10d9a94901
Merge pull request #18838 from Tainan404/migrate-time-indicator
Refactor: Migrate timer indicator
2023-11-02 08:06:19 -03:00
Gabriel Porfirio
e274cb595b few improvements on the test 2023-10-25 17:29:52 -03:00
Gabriel Porfirio
c14cb70f7d data-test for testing 2023-10-24 09:57:08 -03:00
Tainan Felipe
7761871d0c Fix: timer not getting right time 2023-10-10 14:03:08 -03:00
Tainan Felipe
de4dd08c3c Fix: Reset not working 2023-10-10 11:18:01 -03:00
Tainan Felipe
35f4d759fa Refactor: Migrate timer indicator 2023-09-25 10:04:28 -03:00
imdt
e235258a58 Requested changes 2023-09-19 12:49:43 -03:00
imdt
f50b12e6c0 Client: Tooltip added to timer 2023-09-15 14:35:25 -03:00
Gustavo Trott
baba92cb0f Merge 2.7 into Develop 2023-08-04 16:47:23 -03:00
André Castro
163e18b8a3
Adjustments to the timer 2023-08-03 16:15:46 -03:00
imdt
44a0c2d10c Client: Margin of timer adjusted to better fitting size 2023-08-03 11:48:00 -03:00
Scroody
86f4e372f8 Fix: Warnings when creating a new meeting 2023-07-19 13:22:50 -03:00
Ramón Souza
5d209c2932 adjust timer styles 2023-07-14 10:43:32 -03: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
33878f6224 fix(timer): tab title indicator flag
Adds a flag to the settings.yml file to enable and disable the timer
indicator in the tab title.
2023-05-18 15:29:43 -03:00
Arthurk12
b3c12153c3 feat(timer): add indicator to the tab title
Adds the current time string to the tab title, enclosed by opening and
closing brackets.
2023-05-18 15:29:43 -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
Carlos
da156b7486 fix(timer) presentation blocking the buttons
Add scroll to timer menu.
2023-05-18 15:29:41 -03:00
Átila
a23e19adde fix(timer): Item alignment
* fix(timer): Item alignment

Co-authored-by: Arthur B. Grossi <32987232+Arthurk12@users.noreply.github.com>
2023-05-18 15:29:40 -03:00
AtilaU19
f0b1a755cb fix(timer): timer song list centering 2023-05-18 15:29:40 -03:00
Arthurk12
a671d45739 fix(layout): adjusts the timer tab height
Changes the timer's tab height to be relative, so it does not cover the
presentation when it is under the content panel.
2023-05-18 15:29:40 -03:00
Arthurk12
0d06241a68 feat(timer): port to 2.5
Port timer feature to 2.5 which includes 3 components:
	- Timer component
	- Timer indicator component
	- Timer sidebar button component
2023-05-18 15:29:39 -03:00
Arthurk12
10e1b70bf9 chore(timer): adds log message to beep 2023-05-18 15:29:38 -03:00
Arthurk12
df9b0a2655 refactor(timer): audio tag and play/stop conditions
Sets conditions for calling play and stop music to avoid being called
repeatedly.
Groups all stop calls into a point to make the code cleaner.
Avoid recreating new audio tag whenever the timer song changes.
2023-05-18 15:29:37 -03:00
Arthurk12
857389e295 fix(timer): music selectors
Disables track radio selectors when timer feature is in stopwatch mode.
2023-05-18 15:29:37 -03:00
Arthurk12
cc2387a7dd fix(timer): stop music on unmount
Stops music when timer indicator component is unmounted.
2023-05-18 15:29:37 -03:00
Arthurk12
3895d86823 fix(timer): indicator not showing on mobile
Due to the new layout manager, open panels' checking needed tweaking.
2023-05-18 15:29:36 -03:00
Pedro Beschorner Marin
a8e7f9c896 fix(timer): add key prop to tracks list 2023-05-18 15:29:36 -03:00
Pedro Beschorner Marin
2b4d40d6e8 refactor(timer): functions order 2023-05-18 15:29:36 -03:00
Pedro Beschorner Marin
47cecbfea2 refactor(timer): add parseInt radix 2023-05-18 15:29:35 -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
Arthurk12
529a5a6b10 fix(timer): music stop
Forces timer music to stop when timer is deactivated while running.
2023-05-18 15:29:35 -03:00
Arthur B. Grossi
17aa3d7177 Requested changes
Filters users collection by 'online' connection status and describes when/how
server detects that the timer has ended to automatically stop it.
Also, fixed a corner case that when timer alarm was disabled, clients didn't
notify that the timer ended.
2023-05-18 15:29:35 -03:00
Arthur B. Grossi
737b5e6b3a fix(timer): music toggle alignment
Music label and toggle are closer and centralized.
2023-05-18 15:29:34 -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
Arthurk12
3952112f49 fix(timer): start/stop button color 2023-05-18 15:29:33 -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