Repository navigation
The Clock Page's Pulse Card, a Pending Change and an Upload's Progress Fit Every Screen - #747
Merged
Merged
Conversation
… size Squashed from: * fix(clock): the Pulse card lays out by its own width, not the window's With the sidebar open, a ~780px window leaves the card ~500px: the window-based sm: row put the 288px pill and the logo beside the words and squeezed them into a ~80px column. The card is now an @container and goes side by side only from @2XL (~670px of its own); below that it stacks like the phone layout (words full width, pill under them). The plain Clock in / out pill keeps its window-based sizing (PULSE_ACTION_PILL vs MAIN_ACTION_PILL). Found by hand at ~780px; the responsive audit now sweeps 320-1460px in 60px steps (and the sidebar collapsed) and flags long text squeezed under 180px, which catches this card on the old code and passes on the new. * fix(clock): the Pulse card shows its logo at every size, the pill only its words The red Pulse logo was hidden whenever the card stacked (phones, and tablets with the sidebar open), and a second white logo sat inside the pill. Now the card's logo is always beside the words, vertically centred on them, and the "Clock in with Pulse" / "Clock out with Pulse" pill is text only (kept "with Pulse": the plain Clock in button is further down the same page). PulseLogo's `inverse` variant had no other use and is removed. * fix(clock): Clock in / out with Pulse is a plain primary button, like Post plan and clock in It was a large, fully rounded pill with a shadow and a hover scale (the page's Clock in style). It now matches the composer's "Post plan and clock in" / "Post wrap-up and clock out" button: default size, the library's corner radius, no shadow; full width while the card is stacked, its own width beside the words. The plain Clock in / out pill keeps its style.
…n any screen
Squashed from:
* fix(timesheet): a pending change reads "Pending approval · Pulse/Video" with icon buttons, on one line
The walkthrough beside a pending change was labelled "Walkthrough" with
"Pulse" and "Upload" chips, wrapping under the badge. Now the label is
"Pulse/Video" and the chips are icon only (Pulse logo, upload arrow; their
full names stay as aria-label and tooltip), and the label and icons join the
badge's own row (display: contents), so badge, label and icons line up on one
line: timesheet rows, the Work page, the admin's "Sent to another admin" list.
The badge no longer shrinks to two lines, and a desktop timesheet cell doesn't
wrap. On the narrowest phones the Work page's two icons drop under the badge
and label.
ComposerChipButton and PulseChip / PulseButton take an icon-only form
(`iconOnly`; a chip without a label gets its aria-label as a tooltip).
* fix(videos): an upload's progress, processing and errors sit under Pulse and Upload
In a ticket's (and Redmine issue's, and a session's) Videos section, the
status line ("Uploading… 42%", "Processing your video…", "That file isn't a
video.") sat beside the chips and pushed them around. It's now on its own
line under them, right-aligned with them in the card, left in the Session
videos window (PulseButton notesBelow: 'end' | 'start'). The header is
top-aligned so the Videos heading stays level with the chips.
* fix(videos): an upload's progress is the Upload button's label; errors sit left of the buttons
In a Videos section (ticket, Redmine issue, Session videos) the Upload
button itself now reads "Uploading 42%" then "Processing…" (with its
spinner) while a file goes up, and back to "Upload". Errors and notes
("That file isn't a video.", a kept Pulse video) come before the buttons, so
they sit to their left; where there's no room beside them (a phone) they
drop onto a line under the buttons (flex-wrap-reverse, min width 10rem), and
the heading stays level with the buttons. Replaces notesBelow with
PulseButton card: 'end' | 'start'. Checked at 360, 390, 768 and 1280px:
idle, uploading, refused; no overflow.
* fix(timesheet): a pending change is "Pending approval" plus two centred icon buttons, kept together
- The "Pulse/Video" label is gone: the badge is followed by the Pulse and
Upload icon buttons (named by aria-label and tooltip).
- Icon-only chips are true 32px circles with the icon dead centre: as a
leftIcon it sat 3px left (the empty label slot kept its gap) and the
upload arrow 1.3px low (inline, on the text baseline).
- Work page: the badge and its buttons are one group that moves under the
title as a whole, so at 1280px with a long note the badge no longer
stays beside the title while its buttons wrap away from it.
* fix(timesheet): Pulse and Upload come first, labelled, with Pending approval to their right; icons only on a phone
A pending change now reads [Pulse] [Upload] [Pending approval]: the chips
show their labels again (icon and text centred, equal padding) and the badge
moves after them, on timesheet rows (and their phone line) and the Work page.
Below sm the two chips are 32px icon-only circles (ComposerChipButton
compact: the label stays for screen readers, no gap so the icon is centred),
which also keeps the Work page's row on screen at 320-390px. The earlier
icon-only mode (iconOnly) is removed; ComposerChipButton's only change from
main is the compact option.
🚀 Preview Deployment Ready
Preview auto-deletes when this PR is closed. |
This was referenced Oct 26, 2026
Merged
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The Videos header can shrink the controls below their required width, causing overlap on narrow screens during uploads.
1 open issue
What changed in this PR
This PR builds on #746 to improve responsive Pulse controls across the Clock page, pending timesheet changes, and video attachments.
Changes:
- Makes the Clock page’s Pulse card respond to its container width and use a plain primary action button.
- Adds compact mobile controls before pending-approval badges.
- Moves video upload progress into the Upload label and adjusts message placement.
| File | Description |
|---|---|
src/features/timers/WorkPage.tsx |
Groups walkthrough controls before the pending badge. |
src/features/pulse-upload/PulseLogo.tsx |
Removes the unused inverse logo variant. |
src/features/pulse-upload/PulseButton.tsx |
Adds compact controls and card-specific progress and message layouts. |
src/features/huddle/ComposerChipButton.tsx |
Adds icon-only chips below the small-screen breakpoint. |
src/features/clock/TimesheetRow.tsx |
Reorders pending controls and adjusts wrapping. |
src/features/clock/ClockPage.tsx |
Uses container queries for the Pulse card layout. |
src/features/clock/ChangeRequestWalkthrough.tsx |
Enables compact Pulse and Upload controls. |
src/features/clock/AttachmentsPanel.tsx |
Adopts the card layout and top-aligns the heading. |
release-notes/1.0.7.md |
Documents the responsive Pulse changes. |
Review effort: Balanced
…t-v2 # Conflicts: # src/features/clock/ClockPage.tsx
…t-v2 # Conflicts: # src/features/clock/ChangeRequestWalkthrough.tsx
…e messages wrap under the button Address Copilot review on PR 747: - The Videos header's Pulse · Upload group is never narrower than its buttons, so on a narrow screen (and with "Uploading 100%") they drop under "Videos" instead of being drawn over it. - Side by side, the Clock page's Pulse action column is capped at 18rem: a long error or follow-up note wraps under the button instead of widening the column into the card's words.
…t-v2 #746 is merged. Main's Clock page redesign replaced the Pulse card with a compact Pulse button beside each clock action, so this branch's change to the card is dropped and its release note no longer mentions it.
Main's Clock page no longer has a Pulse card to carry the logo; Pulse is a compact button beside each clock action. So the button shows the white Pulse mark again, as it does on main.
SarkarShubhdeep
approved these changes
Oct 27, 2026
SarkarShubhdeep
left a comment
Collaborator
There was a problem hiding this comment.
Simple fix. Looks fine. Approving.
priyamrmore
pushed a commit
that referenced
this pull request
Oct 29, 2026
Conflicts, all from #747 landing beside #748: - release-notes/1.0.7.md: main's version; 1.0.7 is tagged, so #748's note moves to 1.2.0.md - PulseButton.tsx: main's in-flight/card code, #748's comment wording - usePulseUpload.ts: main's progress/activeFile reset, #748's AbortController launch - usePulseUpload.test.ts: both sides' mocks and tests, as separate tests
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.

Summary
Three Pulse surfaces that didn't fit every screen now do:
smup, two centred icon buttons on a phone, kept together on one line.PR 2 of 5, on #746: see Stack and merge order below.
Changes
ClockPage.tsx: the Pulse card uses@container;PulseLogoat every size; the Clock in/out Pulse action is a plainButton.PulseButton.tsx: acompacticon-only mode belowsm, with the icon dead centre in a 32px circle; in a Videos card (card), the in-flight state is the Upload button's label.ComposerChipButton.tsx: the matchingcompactchip;ChangeRequestWalkthrough: Pulse and Upload before the badge, one wrapping group.AttachmentsPanel.tsx: errors and notes left of the buttons.WorkPage.tsx,TimesheetRow.tsx: the pending-change group.release-notes/1.0.7.mdsay what changed.Screenshots
Clock page Pulse card: phone · tablet with sidebar · desktop
Work page on a phone (a pending change)
Tests
typecheck,lint,formatclean; unit tests 607 / 607.Stack and merge order
This work used to ship as one PR (#678). It is now five, so each can be reviewed on its own and the universal links can wait for Pulse's store release without holding the rest back.
mainThe three PRs in step 2 are independent of each other and can merge in any order once #746 is in. #750 follows #747. When a base PR merges, retarget the next one to
main(GitHub does it when the merged branch is deleted).Expected conflicts when the step-2 PRs merge after each other, all small:
release-notes/1.0.7.md: every PR adds its own section and its own line to the PR list. Keep both sides.src/features/pulse-upload/PulseButton.tsx(Pulse Opens Through Its Universal Links in One Tap, and TimeHuddle No Longer Manages Pulse's App Store Links #748 against The Clock Page's Pulse Card, a Pending Change and an Upload's Progress Fit Every Screen #747/Timesheets as a List of Sessions, and the Work Page in One Layout, on Every Screen #711): one comment abovenote. Keep The Clock Page's Pulse Card, a Pending Change and an Upload's Progress Fit Every Screen #747's code with Pulse Opens Through Its Universal Links in One Tap, and TimeHuddle No Longer Manages Pulse's App Store Links #748's wording ("Beside the chip, the same words the window uses…").Merged together, the five come out identical to the old #678 head plus the timesheet work and the video cards (checked file by file). The old heads are tagged
backup/video-conform-2026-10-13andbackup/pulse-video-cards-2026-10-13.