Publish-to-GitHub: pick the owner with a radio list and default to an…#189
Merged
Conversation
…(#1932) * feat(open-knowledge): publish-to-GitHub owner radio with org default Render the Publish to GitHub owner picker as a radio list instead of a dropdown, and pre-select the first organization the user can publish into, falling back to the personal account when there is no org. * chore(open-knowledge): target published CLI package in changeset Address review: user-facing app UI features target the published @inkeep/open-knowledge package (not the private app package) so the change surfaces in the consumer-visible changelog. Fixed group bumps all packages in lockstep regardless. * fix(open-knowledge): label publish radios via aria-labelledby Address review: the Owner and Visibility group labels were orphaned <label> elements with their text duplicated in aria-label. Point each RadioGroup at its visible Label via aria-labelledby so screen readers get a single source of truth. * feat(open-knowledge): drop owner-kind subtext from publish radios Remove the per-owner "Your account"/"Organization" caption under each owner radio; the login alone is enough and the cards read cleaner. GitOrigin-RevId: 2468fd50c4606fc4b8fef6d5b0aacbc789c47966
Contributor
There was a problem hiding this comment.
Automated approval from agents-private public-mirror-sync (run: https://github.com/inkeep/agents-private/actions/runs/27722156663). Source of truth is the monorepo; direct edits on inkeep/open-knowledge are overwritten on next sync.
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.
Publish-to-GitHub: pick the owner with a radio list and default to an org
The "Publish to GitHub" dialog now renders the eligible owners as a radio list (one card per owner) instead of a dropdown, so every choice is visible at a glance. When you belong to one or more organizations the wizard pre-selects the first org rather than your personal account, since a knowledge base is far more likely meant for the team, and accidentally publishing it under a personal login is annoying to undo. With no org available it falls back to your own account as before.