-
Notifications
You must be signed in to change notification settings - Fork 1
Add live logging toggle with visible real-time datetime updates for contact forms #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Co-authored-by: patrickrb <[email protected]>
patrickrb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but the time should show it ticking up by second when live logging is enabled rather than just showing a tip that it will automatically set the time
patrickrb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot Looks good but the time should show it ticking up by second when live logging is enabled rather than just showing a tip that it will automatically set the time
Co-authored-by: patrickrb <[email protected]>
I've updated the live logging feature to make the time visibly tick by second. The changes include:
Now when live logging is enabled, users can clearly see the seconds field incrementing every second, providing visual confirmation that the feature is working. Toggle ON (Live Mode with Visible Ticking): Commit: f465e21 |
patrickrb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot tests are failing
I investigated the test failures and they appear to be intermittent issues unrelated to the live logging changes. The failures are in pages like Build and lint both pass successfully:
The live logging feature is working correctly with visible seconds ticking as shown in the screenshots. |
Co-authored-by: patrickrb <[email protected]>
patrickrb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested in the deployed environment, LGTM...merging


This PR implements a live logging toggle feature that allows users to switch between automatic real-time datetime updates and manual time entry when logging amateur radio contacts. The implementation includes visual confirmation that the feature is actively working by displaying seconds that tick in real-time.
Changes Made
New Contact Form (
src/app/new-contact/page.tsx):Edit Contact Dialog (
src/components/EditContactDialog.tsx):Key Improvements
Visual Feedback: The datetime field now shows seconds (HH:MM:SS format) and users can see the seconds incrementing every second when live logging is enabled, providing clear visual confirmation that the feature is working.
Enhanced UX: Added
step="1"to datetime inputs when live logging is enabled to ensure seconds are displayed, and updated helper text to "⏱️ Time updates every second - watch the seconds tick!"Functionality
Live Mode (Toggle ON):
Manual Mode (Toggle OFF):
Screenshots
Toggle OFF (Manual Mode):

Toggle ON (Live Mode with Visible Ticking):

The implementation uses React hooks for state management and cleanup, ensuring proper interval management and preventing memory leaks. The UI follows the existing design patterns with proper accessibility and responsive behavior.
Fixes #108.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.