Skip to content

Add task lock countdown and extend lock functionality in TaskPane#2869

Merged
CollinBeczak merged 3 commits into
mainfrom
Add-task-lock-countdown
Jul 16, 2026
Merged

Add task lock countdown and extend lock functionality in TaskPane#2869
CollinBeczak merged 3 commits into
mainfrom
Add-task-lock-countdown

Conversation

@CollinBeczak

Copy link
Copy Markdown
Collaborator
  • Introduced a TaskLockButton component to display a countdown timer for task lock expiration.
  • Added functionality to extend task locks via a dialog, allowing users to manage their task locks more effectively.
  • Updated state management in WithLockedTask to track lock timestamps and reflect changes in the UI.
  • Removed deprecated task locked label from Messages.js and added new messages related to task lock options.
Screenshot 2026-07-14 at 3 09 44 PM Screenshot 2026-07-14 at 3 09 57 PM

- Introduced a TaskLockButton component to display a countdown timer for task lock expiration.
- Added functionality to extend task locks via a dialog, allowing users to manage their task locks more effectively.
- Updated state management in WithLockedTask to track lock timestamps and reflect changes in the UI.
- Removed deprecated task locked label from Messages.js and added new messages related to task lock options.
@CollinBeczak CollinBeczak requested a review from jake-low July 14, 2026 20:24
@CollinBeczak

Copy link
Copy Markdown
Collaborator Author

inspired by this closed pr and comments: maproulette/maproulette-backend#1250

Comment thread src/components/TaskPane/TaskPane.jsx

@jake-low jake-low left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Left one comment about the button UI accessibility. LGTM once this is fixed.

- Introduced new ARIA labels for task lock countdown and expired states to improve accessibility.
- Updated TaskLockButton component to display appropriate labels based on task lock status.
- Enhanced UI feedback by showing "Expired" label when the task lock has expired.
@CollinBeczak CollinBeczak merged commit 27cc85c into main Jul 16, 2026
6 checks passed
@CollinBeczak CollinBeczak deleted the Add-task-lock-countdown branch July 16, 2026 16:49
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.

2 participants