mirror of
https://github.com/block/buzz.git
synced 2026-11-04 00:12:02 +00:00
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  ### After  Signed-off-by: John Tennant <jtennant@squareup.com> Co-authored-by: Aaron <f425b86c3b780d43f8d9cf1802429d04dd985bf92eac44fca9468b5ad3887c5e@buzz.block.builderlab.xyz>
This commit is contained in:
committed by
GitHub
parent
6684f7e2f0
commit
09b21cbe63
@@ -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,
|
||||
),
|
||||
|
||||
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user