Skip to content

Birmingham | 26-ITP-May | Toluwalase Tiamiyu | Sprint 3 | Alarmclock App - #1321

Open
TTiamiyu wants to merge 6 commits into
CodeYourFuture:mainfrom
TTiamiyu:data-groups-sprint3-alarmclock
Open

Birmingham | 26-ITP-May | Toluwalase Tiamiyu | Sprint 3 | Alarmclock App#1321
TTiamiyu wants to merge 6 commits into
CodeYourFuture:mainfrom
TTiamiyu:data-groups-sprint3-alarmclock

Conversation

@TTiamiyu

@TTiamiyu TTiamiyu commented Jul 28, 2026

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

@TTiamiyu
TTiamiyu marked this pull request as ready for review July 29, 2026 21:40
@TTiamiyu TTiamiyu added 🏕 Priority Mandatory This work is expected Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jul 29, 2026
@Luro91 Luro91 added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Jul 30, 2026

@Luro91 Luro91 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The title of the webpage should say Alarm clock app. It says Title here at the moment

Comment thread Sprint-3/alarmclock/alarmclock.js Outdated

// If input is invalid or empty, default to 0
if (isNaN(totalSeconds) || totalSeconds < 0) {
totalSeconds = 0;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I am not sure if the expected user behaviour for invalid inputs is to set the seconds to 0. What else could you do instead?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

i see what you mean, i could make it that an invalid input does not affect the present or ongoing timer by returning nothing with "return;' rather than what is presently there.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@Luro91 the latest commits have addressed the reviews left on both the title and the behaviour of the app when an invalid input is made.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

When I try to start a negative countdown now it seems like the app is not responding. How could you provide a better user experience?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

i could add an error message, informing the user on what to do within the guidelines of the app, like "enter a number greater than 0"

Comment thread Sprint-3/alarmclock/alarmclock.js
@Luro91 Luro91 added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Jul 30, 2026
@TTiamiyu
TTiamiyu force-pushed the data-groups-sprint3-alarmclock branch from d0e8ded to f8c455e Compare July 31, 2026 02:16

@Luro91 Luro91 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please always update the labels when you are done with your changes (to "review required) so that reviewers know that they should check again

Comment thread Sprint-2/debug/address.js

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why did the files for Sprint 2 changed?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

i made a mistake in the branching for the sprint 3 but i would try to rectify it.

@TTiamiyu
TTiamiyu force-pushed the data-groups-sprint3-alarmclock branch from 5006d95 to d61207f Compare August 2, 2026 08:32
@TTiamiyu TTiamiyu added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. 🏕 Priority Mandatory This work is expected Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants