feat: open-source vs proprietary product marker + optional repo link#5
Merged
Merged
Conversation
…link Lets closed-source product docs be hosted and found on the landing page alongside open-source ones while being clearly distinguished. - ProductConfig gains Openness (ProductOpenness: Unspecified/OpenSource/ Proprietary, default Unspecified) and an optional RepositoryUrl. Both are display-only — orthogonal to Visibility and Restricted. Marten persists them with no schema change; the API projects them and Create/Update round-trip them (empty RepositoryUrl clears the link). - Product form (General tab): a Source select + Repository URL field; the product grid gains a Source column (persistColumnState v4). - Landing page: a colored openness badge (green Open Source / muted Proprietary, none when unspecified), a discreet "Source ↗" link when a repo URL is set, and Open Source / Proprietary filter chips (persisted in preferences). - Docs: CHANGELOG (2.2.0), CLAUDE.md, admin-ui / product-registration / configuration guides. Tests: 3 new round-trip tests (persist, default Unspecified, clear repo URL via empty string); full suite 128/128 green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Why
Host documentation for closed-source products on
docs.cocoar.devso they're findable, alongside the open-source ones — but clearly labeled which is which, and without forcing a repo link on the proprietary ones.What
A new display-only dimension on products (orthogonal to
VisibilityandRestricted— it does not gate access; useRestrictedto hide):ProductConfig.Openness(ProductOpenness:Unspecified/OpenSource/Proprietary, defaultUnspecified) + optionalRepositoryUrl. Marten persists both with no schema change;GET /products[/{p}]project them and Create/Update round-trip them (an emptyRepositoryUrlclears the link).persistColumnStatebumped to v4).preferences.store).Tests
Unspecifiedwith null repo URL; clears the repo URL when sent an empty string.🤖 Generated with Claude Code