Repository navigation
Start a Timer From the Redmine Issue Page - #595
Merged
SarkarShubhdeep merged 2 commits intoSep 29, 2026
Merged
SarkarShubhdeep merged 2 commits into
SarkarShubhdeep merged 2 commits into
Conversation
The issue page gets a Start timer / Stop timer button in its header. A start pins the issue into the Tickets table and puts it on My Board when it isn't there yet, then times it, with the same toast as a start from the search suggestions. Clocked out, the server's refusal shows "Clock in to start a ticket timer."; the clock-in prompt is left to #586. The pin -> My Board -> start steps move out of TicketsPage into startTicketTimer, so both pages share them instead of copying. Refs #594 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🗑️ Preview Environment Cleaned UpThe preview container for this PR has been deleted. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 tasks
SarkarShubhdeep
merged commit Sep 29, 2026
8c39449
into
fix/redmine-pin-limit-message
4 of 5 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #594
What
The Redmine issue page (
/app/tickets/redmine/:id) gets a Start timer / Stop timer button in its header.useRunningTicket).How
TicketsPageintosrc/features/tickets/startTicketTimer.ts, along withtimerErrorMessage, the outcome type (wasSuggestionTimerOutcome) and the outcome toast.TicketsPage, the suggestions and the issue page all call it; nothing is copied.TimerToggleButtontakes an optional visiblelabelfor roomier spots like a page header. Existing icon-only uses are unchanged.Stacked
Based on #588 (
fix/redmine-pin-limit-message), which adds the pin-limit outcome this uses. Retarget toredmine-mvp2-part-bonce #588 merges.Testing
startTicketTimer.test.ts(13 tests): every outcome, pin cap, non-cap pin failure, board-add failure, refused start.redmine/issue-detail.spec.ts): start and stop from the header; an issue not in the table gets pinned and added to My Board; pin limit; clocked out.redmine/search-suggestionsandtickets/my-boardto confirm the extraction changed nothing: 38 passed, 2 pre-existing tests flaky on page-load timeouts.npm run lint,typecheck,formatclean; release note added to1.0.3.md.🤖 Generated with Claude Code