Skip to content

Let product team size be cleared and saved as zero - #114

Merged
VolodymyrLinuxovich merged 1 commit into
mainfrom
fix/profile-team-size
Nov 13, 2026
Merged

VolodymyrLinuxovich merged 1 commit into
mainfrom
fix/profile-team-size

Conversation

@VolodymyrLinuxovich

Copy link
Copy Markdown
Owner

Fixes #113

Summary

teamSize in profile.ts now uses the clearable helper like the other product fields. Null or blank gives null and clears the stored size. productData passes the parsed value through, so 0 is kept. The editor sends null only when the field is empty, so a typed 0 reaches the server.

Validation

  • New tests in profile-team-size.test.ts. Two of the four fail on main.
  • npm test passes.
  • npm run typecheck and lint pass.

@vercel

vercel Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
largevcmodel Ready Ready Preview Nov 12, 2026 9:00am UTC

@VolodymyrLinuxovich
VolodymyrLinuxovich merged commit e979f52 into main Nov 13, 2026
6 checks passed
@VolodymyrLinuxovich
VolodymyrLinuxovich deleted the fix/profile-team-size branch November 13, 2026 14:59

This branch was successfully deployed

1 active deployment
Preview — a7cda456 Deployed Nov 12, 2026 by vercel[bot]
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.

Product team size cannot be cleared and drops zero

1 participant