Skip to content

Add XS through XXL task sizes for bar thickness and duration - #13

Merged
snktshrma merged 4 commits into
mainfrom
cursor/expand-size-range-0037
Jun 19, 2026
Merged

Add XS through XXL task sizes for bar thickness and duration#13
snktshrma merged 4 commits into
mainfrom
cursor/expand-size-range-0037

Conversation

@Tanops

@Tanops Tanops commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Recalculates sizing so tasks and subtasks use the same S–XXL scale:

Size Points
S 1
M 2
L 4
XL 6
XXL 8

Changes

  • Added shared helpers (normalizeSize, sizePts, barHeight) in constants.js
  • Gantt bars now use the same height scale for tasks and subtasks (removed the 0.62 subtask shrink)
  • Removed CSS overrides that forced subtask avatars/titles to a fixed small size
  • Subtask size selectors now show point values like tasks
  • All point rollups, progress weighting, and sorting use sizePts()
  • Legacy xs sizes migrate to s on load

Testing

  • npm test — 41 tests passing
Open in Web Open in Cursor 

@github-actions

github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-06-19 10:48 UTC

cursoragent and others added 4 commits June 19, 2026 10:47
Add xs and xxl to the size scale (XS through XXL), with matching bar
heights, lead times, weight points, UI selectors, and voice parsing.
Existing S/M/L/XL values are unchanged.

Co-authored-by: Tanops <Tanops@users.noreply.github.com>
Drop XS and set points to S=1, M=2, L=4, XL=6, XXL=8. Map legacy xs
sizes to S on board load and in voice parsing.

Co-authored-by: Tanops <Tanops@users.noreply.github.com>
- Add normalizeSize, sizePts, and barHeight helpers for one sizing scale
- Use the same bar height and point weights in Gantt for tasks and subtasks
- Remove CSS overrides that forced subtask bars to a fixed small size
- Show point values in subtask size selectors and normalize persisted sizes

Co-authored-by: Tanops <Tanops@users.noreply.github.com>
Co-authored-by: Sanket Sharma <sharma.sanket272@gmail.com>
@cursor
cursor Bot force-pushed the cursor/expand-size-range-0037 branch from 0419d1b to 5ab8244 Compare June 19, 2026 10:48
@snktshrma
snktshrma merged commit 307d28d into main Jun 19, 2026
2 checks passed
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.

3 participants