Skip to content

Connect an app in one press everywhere, with no separate turn-on step - #2153

Merged
davidmckayv merged 3 commits into
mainfrom
fix/one-press-connect-everywhere
Nov 25, 2026
Merged

davidmckayv merged 3 commits into
mainfrom
fix/one-press-connect-everywhere

Conversation

@davidmckayv

Copy link
Copy Markdown
Contributor

What changes

Connecting an app is one press everywhere, for every kind of app. "Turn on, then connect" was two steps, and turning an app on is not a step a person thinks of.

  • Admin, Apps, Browse apps. The row said Add, then "Added, not connected" with a second Connect. Now its one button is Connect: it adds the app for everyone and goes straight on to the admin's own sign-in, or to the key form for an app that takes a key. "Add with a key instead" is now "Connect with a key instead", and it opens the key form too.
  • An app's own page under Admin. An app not added yet showed an "Enable for this organization" switch before any Connect. It now shows Connect, which adds the app and goes on to the sign-in, or opens the token, instance or client form that has to be filled in first. Once the app is added, the switch stays for turning it off for everyone, worded "On for everyone".
  • Explore apps. Rows say "Not connected" and "Open one to connect it", not "Not added" and "add it".
  • Connections. A tile for an app with no account says Connect, not Add. An admin on an app's page under Connections can now connect an app nobody has added in one press. Before, they saw "An admin has to turn this on first" over a Connect they couldn't press.
  • The chat card and a Bot's Apps rows. An admin's button says "Connect and give it to …", not "Turn on and give it to …". While it works, it says "Connecting…", not "Turning on…". The Bot's Apps section and the new-Bot sheet drop "turn on" for giving and connecting.

A member's step stays Request. "Added, not connected" stays wherever it is still true. Nothing changes in the API, the approval path or the layout: the same components, with different words and behaviour.

The one press goes through the paths that already existed: Browse apps uses the directory's own connect press, which Connections already used. The app's page uses its existing one-press Connect, which only the personal edition had before.

Tests

  • app/tests/one-press-connect-everywhere.test.tsx, new:
    • Admin's Browse apps with a sign-in app: one press adds it and opens the sign-in.
    • With a key app: one press adds it and opens the key form.
    • The app's page has no enable step, and Connect adds the app and starts the sign-in. Once the app is added, the switch turns it off for everyone.
    • Explore apps lists apps to connect.
    • All five tests fail on main (Browse shows Add, the page shows the enable switch) and pass with this change.
  • Existing tests now expect the new words and the one press, including the earlier test that kept Admin's Add as a step of its own.

Checked in the real app

A local team-edition stack, with Admin, Apps and Browse apps open in Chrome and in WebKit (Safari's engine):

  • Before: Add, then "Added, not connected" with a separate Connect, and the "Enable for this organization" switch.
  • After: Connect on every row. One press opened the sign-in tab and the row read "Added, not connected" with "Waiting for …". A key app opened its key form. The added app's page showed "On for everyone".

@davidmckayv
davidmckayv force-pushed the fix/one-press-connect-everywhere branch 10 times, most recently from e733c31 to 883dbac Compare November 25, 2026 01:50
Admin's Browse apps said Add and then needed a second press to Connect, and an app's page under Admin had an Enable for this organization switch before its Connect. Every place now has one Connect that adds the app for everyone and carries straight on to the admin's own sign-in or key form, the press a Bot's card and Connections already make. The switch stays once the app is added, worded as turning it off for everyone. Tiles, cards, the catalogue and the Bot's Apps rows drop turn on and add as words for a step.
@davidmckayv
davidmckayv force-pushed the fix/one-press-connect-everywhere branch from 883dbac to d97b60f Compare November 25, 2026 02:23
@davidmckayv
davidmckayv merged commit 4570eb2 into main Nov 25, 2026
23 checks passed
@davidmckayv
davidmckayv deleted the fix/one-press-connect-everywhere branch November 25, 2026 03:00
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