Repository navigation
Organization settings page; setup steps can be shown again once complete - #172
Merged
Merged
Conversation
VisualCIdocspring/visualci · build #492 · 14 added, 400 unchanged · approved by visualci features agent for Nathan Broadbent
This PR vs base: 6 changed, 8 added since #388, across 6 builds
docspring/visualci · journeys · build #490 · 1 changed, 7 added, 34 unchanged · approved by visualci features agent for Nathan Broadbent
This PR vs base: 5 added since #386, across 8 builds Updated as builds change. Agents can review with VisualCI's MCP tools. |
ndbroadbent
force-pushed
the
org-settings
branch
from
December 4, 2026 06:40
4c68705 to
544a6ad
Compare
…g…, until the importer shows
…r alone on a phone; Leave's reason on its own line
…so the table fits a phone
…t's shown state
ndbroadbent
force-pushed
the
org-settings
branch
from
December 4, 2026 06:58
544a6ad to
1bc6904
Compare
This was referenced Dec 4, 2026
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.
Setup steps can be shown again once complete
https://app.visualci.com/docspring showed no setup steps and nobody could get them back: the org page hid the checklist once
setup.completewas true, and "Show setup steps" only appeared for a checklist that was dismissed but not complete.Now there's one stored show/hide choice that an admin can switch either way, complete or not:
organizations.setup_shown(nullable boolean) replacessetup_dismissed_at.NULLmeans nobody has chosen yet, and the checklist shows until it's complete.trueorfalseis an admin's choice. The migration carries a dismissed checklist over asfalse.setup_dismissed_atbecause the default ("shown until complete") needs a third state, and a timestamp can't hold "shown after completion" cleanly.POST /api/ui/orgs/{org}/setupnow takes{shown}. The state returnsshown(the admin's choice, else!complete) in place ofdismissed. The MCP'sget_organizationandwhoamigoldens change to match.STEPSon main is alreadyinstall_github_app, connect_agent, add_to_ci, review_changes, andnextfollows it. No change needed.Organization settings page (
/<org>/settings)Reached from a "Settings" button next to "+ New project" on the org page, and from a "Settings" item next to Billing in the account menu. Admins edit; other members see it read-only.
/settings/installations/<id>for users,/organizations/<login>/settings/installations/<id>for orgs). Admins also get "Add a GitHub organization" (/github/install). The checklist's install step links here ("Manage installations").organizations.project_threshold/project_comment_when_unchangedcolumns and copied when a project is made. Existing projects keep their own values.Left out:
org:deleteconsole command. It refuses an organization with projects or Stripe history, and nothing cleans up blobs, builds and billing for a self-serve delete. The page says to email support.New endpoints:
PATCH /api/ui/orgs/{org}: name,project_threshold,project_comment_when_unchanged. Admins only: a member gets 403, an outsider 404.POST /api/ui/orgs/{org}/leave: any member. An outsider gets 404.GET /api/ui/orgs/{org}also returnspersonal,source(where your own access comes from),project_defaultsandgithub_installations.Migration:
2026_12_06_000000_organization_settings.rs.Also:
settingsorrepositories(onlybillingwas reserved). Both are the organization's own pages, and a project with either slug would be hidden behind them./on every page except the app's home. On the home page it links to the site (siteUrl('/')).Tests
org_settings.rs(new): admin vs member vs outsider, defaults applied to new projects, reserved slugs, the leave rules.setup.rs: the tri-state, complete-but-shown, permissions.org-settings.test.ts(manage URLs, why you can't leave, threshold parsing). The menu test now expects Settings.app/org/settings(light and dark, 1440 and 390 px wide) andapp/org/settings/member(Grace, a GitHub-derived member, read-only).organization-settings: rename; hide the steps and show them again; invite; can't leave your own organization; the invitee's read-only view; light and dark./<org>and on/.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.