fix(mobile): label community switching consistently (#8979)

## Summary

Rename the mobile community menu action from **Switch workspace** to
**Switch community**, matching the Switch Community page it opens and
avoiding confusion with billing workspaces.

### Related issue

N/A. No duplicate found.

### Testing

The existing home-page widget journey opens the community menu and
verifies the new label. Before/after captures show the production
Flutter menu with disposable fixture data.

## Screenshots

### Before

![Community menu
before](https://raw.githubusercontent.com/block/buzz/c587b7ce64b8e6d46604a29ff0d22d2cae3bd7ba/pr-8979--BEFORE.png)

### After

![Community menu
after](https://raw.githubusercontent.com/block/buzz/c587b7ce64b8e6d46604a29ff0d22d2cae3bd7ba/pr-8979--AFTER.png)

Signed-off-by: John Tennant <jtennant@squareup.com>
Co-authored-by: Aaron <f425b86c3b780d43f8d9cf1802429d04dd985bf92eac44fca9468b5ad3887c5e@buzz.block.builderlab.xyz>
This commit is contained in:
John Matthew Tennant
2026-11-02 21:46:42 -05:00
committed by GitHub
parent 6684f7e2f0
commit 09b21cbe63
2 changed files with 2 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ class HomePage extends HookConsumerWidget {
messagesActionsBuilder: (openSwitcher, avatarKey) {
final moreActions = [
(
label: 'Switch workspace',
label: 'Switch community',
symbol: 'arrow.left.arrow.right',
onPressed: openSwitcher,
),

View File

@@ -176,7 +176,7 @@ void main() {
expect(find.byType(MessagesNavigationBar), findsOneWidget);
await tester.tap(find.byTooltip('Community menu'));
await tester.pumpAndSettle();
expect(find.text('Switch workspace'), findsOneWidget);
expect(find.text('Switch community'), findsOneWidget);
expect(find.text('Agents'), findsOneWidget);
expect(find.text('Settings'), findsOneWidget);
await tester.tap(find.text('Settings'));