Skip to content

Hide OSS contributor checkbox unless 'Just me' team size is selected#773

Merged
backnotprop merged 1 commit into
mainfrom
fix/workspaces-contributor-disclosure
May 23, 2026
Merged

Hide OSS contributor checkbox unless 'Just me' team size is selected#773
backnotprop merged 1 commit into
mainfrom
fix/workspaces-contributor-disclosure

Conversation

@backnotprop
Copy link
Copy Markdown
Owner

Summary

Progressive disclosure for the OSS contributor checkbox on /workspaces/. The checkbox + lifetime-free-access note are now hidden until the visitor selects Just me for team size, and the state is reset on switch to any other size.

Why

The OSS contributor claim is a personal-scope attestation (one human saying they contributed to the OSS core). It doesn't make sense for team-level signups, and showing it there created two awkward edge cases: (1) team accounts ticking it on behalf of an individual, and (2) the visual noise of a clearly-individual-scope field on a team form.

Behavior

  • Default: hidden.
  • Visitor picks Just me: block fades in with a small slide.
  • Visitor picks any other size: block hides; if the box was checked, state silently resets to false so is_contributor can't accidentally land in D1 as true for a team signup.

Test plan

  • Pick Just me → checkbox appears
  • Tick it, then switch to 2-5 → checkbox disappears, state resets
  • Submit a non-solo signup with no contributor box → is_contributor=0 in D1
  • Submit a solo signup with the box ticked → is_contributor=1 in D1

Generated with Devin

The OSS-contributor claim is personal-scope (one human attesting they
contributed), so it only makes sense for individual signups. Hide the
checkbox + helper note until the user picks "Just me" on team size.
Switching to any non-solo size hides it again and resets the state to
false so team signups can't accidentally carry is_contributor=true.

Small fade-in animation on reveal so the layout shift doesn't feel
abrupt.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@backnotprop backnotprop merged commit 35e572a into main May 23, 2026
3 checks passed
@backnotprop backnotprop deleted the fix/workspaces-contributor-disclosure branch May 23, 2026 00:35
backnotprop added a commit that referenced this pull request May 23, 2026
…776)

Removes the "show only when team-size = Just me" behavior added in
PR #773. The checkbox + lifetime-free-access note are now visible to
every visitor regardless of team size.

Reverts the wrapper div, the setContributorVisibility() helper + its
call site in the pill picker, and the .ws-contrib-block CSS.

Generated with [Devin](https://cli.devin.ai/docs)

Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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.

1 participant