Show Time Worked on Each Ticket and What Was Sent to Redmine
I maintainer di solito rispondono entro 1 giorno
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Overview
When ticket timers are on, members track their time against tickets — TimeHuddle tickets, and tickets carrying a GitHub or Redmine address. Today they see a per-ticket summary once, at clock-out, when the time is sent to Redmine, and there is no good place to look it up afterwards. A member who wants to know "which Redmine tickets did I work on Wednesday, for how long, and what was sent?" should be able to answer that from the places TimeHuddle already has: the ticket detail page, its timer button, its Activity card, and the timesheet. This issue reuses those places rather than adding a new screen.
Current State
timers.getTicketTotalreturns the caller's total seconds on a ticket, andticketApi.getTotal/timerApi.getTicketTotalwrap it insrc/lib/api.ts, but no page shows it.- The ticket detail page's Activity card already lists the viewer's own timer sessions ("logged 1h 20m") and a carried issue's time entries from its source (
src/features/tickets/detail/activityEntries.ts). - Redmine entries TimeHuddle pushed for the viewer are recorded in
redmine_time_syncs(ticket, date, synced hours, Redmine time entry id) and are hidden from the Activity card because they already show as the viewer's own sessions. - The timesheet (
PersonalTimesheetPanel, Dashboard → Me → Timesheet) lists shifts with their tickets; it doesn't say how long each ticket took or whether its time reached Redmine. - The ticket's Start button reads the same whether or not time has been logged on it.
Proposed Changes
1. Time badge in the ticket detail header
- Show the viewer's total time on the ticket as a badge in the header row, from
timers.getTicketTotal. - It updates when the viewer's timer on the ticket starts or stops (the page already listens for that).
2. Timer button shows there's time to continue
- When the viewer has time logged on a ticket, its Start button reads as continuing that time (e.g. "Resume · 2h 10m") on the ticket detail page and in the Tickets list; starting it adds a new session to the same total, as today.
3. Activity card marks what was sent
- Each of the viewer's sessions in the Activity card shows whether its day's time was sent to Redmine, with the hours sent and a link to the Redmine time entry (from
redmine_time_syncs). - Check what's already shown here before adding to it; this may only need the "sent" marker.
4. Per-day view on the timesheet
- On the timesheet, each shift lists its tickets with the time on each and, for tickets carrying a Redmine address, what was sent (hours, entry link) or that nothing was sent yet.
- This answers "what did I work on Wednesday" from a date pick that already exists.
Acceptance Criteria
- The ticket detail header shows the viewer's total time on that ticket and updates on start / stop
- A ticket with time logged offers its timer as a continuation, showing the total, on the detail page and Tickets list
- Activity card sessions show whether their time was sent to Redmine, with hours and a link to the entry
- The timesheet shows time per ticket under each shift, and Redmine sent status for Redmine tickets
- Works for TimeHuddle tickets and tickets carrying GitHub or Redmine addresses
- Times are the viewer's own, as
getTicketSessions/getTicketTotalare today - All new strings are externalized; durations use the existing
formatDuration - Unit tests for any new builders; e2e for the header badge and the timesheet ticket rows
Out of Scope (for Now)
- Seeing teammates' time on a ticket (admins already have the admin timesheet)
- Editing or re-sending time already pushed to Redmine from these views
- A new reports page or export
- Behaviour when ticket timers are turned off for a team (#915)
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 4
- Merge medio
- 1g 16h
- PR unite (30g)
- 47
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di mieweb/timehuddle
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
mieweb/timehuddle#754 ·
I maintainer di solito rispondono entro 1 giorno
-
Release notesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
mieweb/timehuddle#634 ·
I maintainer di solito rispondono entro 1 giorno
-
bug High Priority ui web
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
mieweb/timehuddle#579 ·
I maintainer di solito rispondono entro 1 giorno
-
Minor UI Updates/FixesForse di nuovo libera @Dharp02 l’ha presa 56 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
mieweb/timehuddle#519 · 3 commenti · 2 assegnatari ·
I maintainer di solito rispondono entro 1 giorno
-
Make the Huddle Ticket Button Open the # Ticket ListForse già presa @SarkarShubhdeep l’ha presa oggi. Aperta
mieweb/timehuddle#917 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di mieweb/timehuddle
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
simstudioai/sim#10710 ·
I maintainer di solito rispondono entro 1 giorno
-
bug:new
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
callstackincubator/simlock#2088 ·
I maintainer di solito rispondono entro 1 giorno
-
Make the HTTP server's keep-alive and headers timeouts configurableForse già presa @mattgodbolt l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
compiler-explorer/compiler-explorer#9902 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno