Skip to content

feat: funcionalidade tela cheia, botão editar e correção no código#2

Merged
gabrnunes merged 1 commit intocodecon-dev:mainfrom
Mirand43:main
Mar 17, 2025
Merged

feat: funcionalidade tela cheia, botão editar e correção no código#2
gabrnunes merged 1 commit intocodecon-dev:mainfrom
Mirand43:main

Conversation

@Mirand43
Copy link
Copy Markdown
Contributor

@Mirand43 Mirand43 commented Mar 17, 2025

Funcionalidade tela cheia, botão editar e coreção no código.

Agora vai certo @gabrnunes ?

Comment thread script.js
Comment on lines +56 to +69
if (seconds === 0) {
if (minutes > 0) {
minutes--;
seconds = 59;
} else if (hours > 0) {
hours--;
minutes = 59;
seconds = 59;
} else {
// Timer acabou
timerStarted = false;
clearInterval(intervalInstance);
intervalInstance = null;
return;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

dá para melhorar essa função sem precisar de tantos ifs, vou subir um ajuste para isso apontando para eu pr

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Vai nessa, fure a bolha 😁✌ e vai com tudo @geanfarias

Comment thread script.js
Comment on lines +128 to +130
document.getElementById("hour").value = hours;
document.getElementById("min").value = minutes;
document.getElementById("sec").value = seconds;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

o finish deveria fazer com que os inputs tenham os seguintes valores: 00:00:30

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Boa, valeu pela dica, captei mano.

Copy link
Copy Markdown
Member

@geanfarias geanfarias left a comment

Choose a reason for hiding this comment

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

@gabrnunes, as melhorias não adicionadas aqui foram feitas nos outros prs já abertos

@gabrnunes gabrnunes merged commit 26abd1d into codecon-dev:main Mar 17, 2025
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.

3 participants