Skip to content

Select organizations through ui-ex instead of GraphQL - #5186

Merged
lillianberryfly merged 1 commit into
lillian/uiex-org-idsfrom
lillian/uiex-org-selection
Sep 8, 2026
Merged

Select organizations through ui-ex instead of GraphQL#5186
lillianberryfly merged 1 commit into
lillian/uiex-org-idsfrom
lillian/uiex-org-selection

Conversation

@lillianberryfly

Copy link
Copy Markdown
Contributor

prompt.Org, prompt.SelectOrg, and the orgs package helpers now list and fetch organizations through ui-ex and return a uiex.Organization. The admin-only filter maps to the list endpoint's admin parameter, and the personal flag replaces the GraphQL type for sorting, the prompt callout, and the orgs list Type column. The ui-ex org carries the same global ID GraphQL reports, so the mutations downstream are unchanged.

The flypg cluster input, extensions core params, statics package, Redis and Postgres cluster creation, and the launch state's cached org take the ui-ex org. The WireGuard library takes an org ID and slug so the commands and the agent server call it the same way. Launch's determineOrg lists through ui-ex, and apps list lists per org through Flaps with deploy times from the ui-ex timestamps endpoint, grouping by org and mapping raw slugs back to their aliases so its output is unchanged.

Still on GraphQL: the org-token refresher in config, which needs user-token-only auth, the agent server's org fetch, and the LiteFS Cloud command slated for removal.

Claude-Session: https://claude.ai/code/session_01DMttEkUAVhL7YZFRFjhHwB

@lillianberryfly
lillianberryfly force-pushed the lillian/uiex-org-selection branch from a1597dc to 7f55f38 Compare September 8, 2026 14:55
prompt.Org, prompt.SelectOrg, and the orgs package helpers now list and
fetch organizations through ui-ex and return a uiex.Organization. The
admin-only filter maps to the list endpoint's admin parameter, and the
personal flag replaces the GraphQL type for sorting, the prompt callout,
and the orgs list Type column. The ui-ex org carries the same global ID
GraphQL reports, so the mutations downstream are unchanged.

The flypg cluster input, extensions core params, statics package, Redis
and Postgres cluster creation, and the launch state's cached org take
the ui-ex org. The WireGuard library takes an org ID and slug so the
commands and the agent server call it the same way. Launch's
determineOrg lists through ui-ex, and apps list lists per org through
Flaps with deploy times from the ui-ex timestamps endpoint, grouping by
org and mapping raw slugs back to their aliases so its output is
unchanged.

Still on GraphQL: the org-token refresher in config, which needs
user-token-only auth, the agent server's org fetch, and the LiteFS
Cloud command slated for removal.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DMttEkUAVhL7YZFRFjhHwB
@lillianberryfly
lillianberryfly force-pushed the lillian/uiex-org-selection branch from 7f55f38 to 5dd72a9 Compare September 8, 2026 16:17
@lillianberryfly
lillianberryfly merged commit d3342db into master Sep 8, 2026
19 of 32 checks passed
@lillianberryfly
lillianberryfly deleted the lillian/uiex-org-selection branch September 8, 2026 16:43
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