Skip to content

Commit bbcbd7c

Browse files
authored
Preview Tabler icons in the mobile app (#8109)
## Summary Preview buzz-app's Tabler icon style in the mobile app, replacing app-drawn Lucide glyphs across channels, messages, activity, search, and settings. A shared `BuzzIcons` mapping uses the bundled Tabler 3.46.0 outline font, matching buzz-app's version, with its MIT license and source documented. Native UIKit controls retain SF Symbols. The former 300/500 navigation glyphs use Tabler's standard outline; existing selection colors and labels remain. ### Related issue No matching Tabler mobile migration issue or PR found. Related native iOS controls: #8055. ### Testing - Pre-push mobile analysis, formatting, file-size checks, and the full mobile test suite passed. - 194 focused widget tests passed, including channels, home, search, settings, and message content. - Light and dark community-settings renders inspected. - Signed iPhone Release build succeeded; installed and launched as Buzz Tabler on a physical iPhone. - Full `just ci` attempted; stopped during Rust clippy compilation because the Mac ran low on disk space. Full repository validation is not claimed. Signed-off-by: kenny lopez <[email protected]>
1 parent c6340a4 commit bbcbd7c

128 files changed

Lines changed: 1220 additions & 677 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎mobile/assets/fonts/README.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,16 @@ this check. PR images may be cropped afterward for readability.
5050
artifacts in the existing Flutter test lane. Restoring either original font or
5151
changing any other font data fails CI. When upgrading Inter, verify the
5252
transformation and native rendering before updating the expected digests.
53+
54+
## Tabler mobile preview
55+
56+
`TablerIcons.ttf` is the unmodified outline webfont from
57+
`@tabler/[email protected]`, matching buzz-app's Tabler dependency version.
58+
Source: https://cdn.jsdelivr.net/npm/@tabler/[email protected]/dist/fonts/tabler-icons.ttf
59+
The upstream MIT license is bundled in `TablerIcons-LICENSE.txt`.
60+
61+
`lib/shared/theme/buzz_icons.dart` maps the existing mobile semantic names to
62+
Tabler glyphs using the package's `dist/tabler-icons.css` codepoints. Native
63+
UIKit controls retain SF Symbols. Lucide's 300/500 navigation weight variants
64+
both map to Tabler's standard outline; selection still uses the existing color
65+
and label treatment.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020-2026 Paweł Kuna
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
2.7 MB
Binary file not shown.

‎mobile/lib/features/activity/activity_page.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import 'package:flutter/material.dart';
55
import 'package:flutter/services.dart';
66
import 'package:flutter_hooks/flutter_hooks.dart';
77
import 'package:hooks_riverpod/hooks_riverpod.dart';
8-
import 'package:lucide_icons_flutter/lucide_icons.dart';
8+
import 'package:buzz/shared/theme/buzz_icons.dart';
99

1010
import '../../shared/identity_names/identity_names_provider.dart';
1111
import '../../shared/mentions/agent_identity_provider.dart';

‎mobile/lib/features/activity/activity_page/header_actions.dart‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class _FilterMenuButton extends StatelessWidget {
8989
width: Grid.sm,
9090
child: entry.key == filter
9191
? Icon(
92-
LucideIcons.check,
92+
BuzzIcons.check,
9393
size: 16,
9494
color: context.colors.primary,
9595
)
@@ -128,7 +128,7 @@ class _FilterMenuButton extends StatelessWidget {
128128
),
129129
const SizedBox(width: Grid.quarter),
130130
Icon(
131-
LucideIcons.chevronDown,
131+
BuzzIcons.chevronDown,
132132
size: 16,
133133
color: navigationPrimaryForeground(context),
134134
),
@@ -168,7 +168,7 @@ class _InboxOptionsButton extends StatelessWidget {
168168
width: Grid.xl,
169169
height: Grid.xl,
170170
),
171-
icon: const Icon(LucideIcons.ellipsis, size: 20),
171+
icon: const Icon(BuzzIcons.ellipsis, size: 20),
172172
onPressed: () async {
173173
final selected = await showAnchoredPopover<String>(
174174
context: buttonContext,
@@ -185,7 +185,7 @@ class _InboxOptionsButton extends StatelessWidget {
185185
),
186186
if (unreadOnly)
187187
Icon(
188-
LucideIcons.check,
188+
BuzzIcons.check,
189189
size: 16,
190190
color: context.colors.primary,
191191
),

‎mobile/lib/features/activity/activity_page/inbox_row.dart‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class _InboxRow extends HookConsumerWidget {
178178
key: ValueKey('inbox-swipe-read-${item.id}'),
179179
color: actionColor,
180180
foregroundColor: contrastForeground(actionColor),
181-
icon: isDone ? LucideIcons.mail : LucideIcons.mailOpen,
181+
icon: isDone ? BuzzIcons.mail : BuzzIcons.mailOpen,
182182
label: isDone ? 'Mark unread' : 'Mark as read',
183183
onTap: toggleReadState,
184184
),
@@ -386,17 +386,15 @@ class _InboxRow extends HookConsumerWidget {
386386
child: SheetActionSection(
387387
children: [
388388
ListTile(
389-
leading: Icon(
390-
isDone ? LucideIcons.mail : LucideIcons.mailOpen,
391-
),
389+
leading: Icon(isDone ? BuzzIcons.mail : BuzzIcons.mailOpen),
392390
title: Text(isDone ? 'Mark unread' : 'Mark as read'),
393391
onTap: () {
394392
Navigator.of(sheetContext).pop();
395393
isDone ? onMarkUnread() : onMarkRead();
396394
},
397395
),
398396
ListTile(
399-
leading: const Icon(LucideIcons.externalLink),
397+
leading: const Icon(BuzzIcons.externalLink),
400398
title: const Text('Open conversation'),
401399
onTap: () {
402400
Navigator.of(sheetContext).pop();

‎mobile/lib/features/activity/activity_page/lists.dart‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class _RemindersList extends ConsumerWidget {
3131
}
3232
if (reminders.isEmpty) {
3333
return const _EmptySurface(
34-
icon: LucideIcons.clock,
34+
icon: BuzzIcons.clock,
3535
message: 'No reminders',
3636
detail: 'Reminders you set will show up here.',
3737
);
@@ -53,7 +53,7 @@ class _RemindersList extends ConsumerWidget {
5353
return ListTile(
5454
key: ValueKey('reminder-row-${reminder.id}'),
5555
leading: Icon(
56-
due ? LucideIcons.bellRing : LucideIcons.clock,
56+
due ? BuzzIcons.bellRing : BuzzIcons.clock,
5757
size: 20,
5858
color: due
5959
? context.colors.primary
@@ -99,7 +99,7 @@ class _DraftsList extends ConsumerWidget {
9999
final names = ref.watch(identityNameSourcesProvider);
100100
if (drafts.isEmpty) {
101101
return const _EmptySurface(
102-
icon: LucideIcons.filePen,
102+
icon: BuzzIcons.filePen,
103103
message: 'No drafts',
104104
detail: 'Unsent messages you start composing will show up here.',
105105
);
@@ -124,7 +124,7 @@ class _DraftsList extends ConsumerWidget {
124124
return ListTile(
125125
key: ValueKey('draft-row-${draft.key}'),
126126
leading: Icon(
127-
LucideIcons.filePen,
127+
BuzzIcons.filePen,
128128
size: 20,
129129
color: context.colors.onSurfaceVariant,
130130
),
@@ -133,7 +133,7 @@ class _DraftsList extends ConsumerWidget {
133133
draft.threadHeadId != null ? 'Thread in $destination' : destination,
134134
),
135135
trailing: IconButton(
136-
icon: const Icon(LucideIcons.trash2, size: 18),
136+
icon: const Icon(BuzzIcons.trash2, size: 18),
137137
tooltip: 'Delete draft',
138138
onPressed: () => onDelete(draft),
139139
),

‎mobile/lib/features/activity/activity_page/status_views.dart‎

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -118,27 +118,24 @@ class _EmptyFilterState extends StatelessWidget {
118118
Widget build(BuildContext context) {
119119
if (unreadOnly) {
120120
return const _EmptySurface(
121-
icon: LucideIcons.mailOpen,
121+
icon: BuzzIcons.mailOpen,
122122
message: 'No unread messages',
123123
detail: 'Turn off the unread filter to see read messages.',
124124
);
125125
}
126126
final (icon, message) = switch (filter) {
127-
InboxFilter.mention => (LucideIcons.atSign, 'No mentions yet'),
128-
InboxFilter.thread => (
129-
LucideIcons.messageSquare,
130-
'No thread replies yet',
131-
),
127+
InboxFilter.mention => (BuzzIcons.atSign, 'No mentions yet'),
128+
InboxFilter.thread => (BuzzIcons.messageSquare, 'No thread replies yet'),
132129
InboxFilter.needsAction => (
133-
LucideIcons.circleAlert,
130+
BuzzIcons.circleAlert,
134131
'Nothing needs your action',
135132
),
136133
InboxFilter.activity => (
137-
LucideIcons.activity,
134+
BuzzIcons.activity,
138135
'No recent channel activity',
139136
),
140-
InboxFilter.agentActivity => (LucideIcons.bot, 'No agent updates'),
141-
_ => (LucideIcons.bell, 'No activity yet'),
137+
InboxFilter.agentActivity => (BuzzIcons.bot, 'No agent updates'),
138+
_ => (BuzzIcons.bell, 'No activity yet'),
142139
};
143140
return _EmptySurface(icon: icon, message: message);
144141
}
@@ -156,7 +153,7 @@ class _ErrorView extends StatelessWidget {
156153
mainAxisSize: MainAxisSize.min,
157154
children: [
158155
Icon(
159-
LucideIcons.triangleAlert,
156+
BuzzIcons.triangleAlert,
160157
size: Grid.lg,
161158
color: context.colors.error,
162159
),
@@ -170,7 +167,7 @@ class _ErrorView extends StatelessWidget {
170167
const SizedBox(height: Grid.xs),
171168
FilledButton.icon(
172169
onPressed: () => unawaited(onRetry()),
173-
icon: const Icon(LucideIcons.refreshCcw, size: 16),
170+
icon: const Icon(BuzzIcons.refreshCcw, size: 16),
174171
label: const Text('Retry'),
175172
),
176173
],

‎mobile/lib/features/channels/add_members_sheet.dart‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import 'dart:async';
33
import 'package:flutter/material.dart';
44
import 'package:flutter_hooks/flutter_hooks.dart';
55
import 'package:hooks_riverpod/hooks_riverpod.dart';
6-
import 'package:lucide_icons_flutter/lucide_icons.dart';
6+
import 'package:buzz/shared/theme/buzz_icons.dart';
77

88
import '../../shared/theme/theme.dart';
99
import '../../shared/widgets/app_list_card_item.dart';
@@ -155,7 +155,7 @@ class AddChannelMembersSheet extends HookConsumerWidget {
155155
onChanged: (value) => query.value = value,
156156
decoration: const InputDecoration(
157157
hintText: 'Search for people or agents',
158-
prefixIcon: Icon(LucideIcons.search),
158+
prefixIcon: Icon(BuzzIcons.search),
159159
),
160160
),
161161
if (selectedUsers.value.isNotEmpty) ...[
@@ -234,8 +234,8 @@ class AddChannelMembersSheet extends HookConsumerWidget {
234234
),
235235
trailing: Icon(
236236
selected
237-
? LucideIcons.circleCheck
238-
: LucideIcons.plus,
237+
? BuzzIcons.circleCheck
238+
: BuzzIcons.plus,
239239
color: selected
240240
? context.colors.primary
241241
: context.colors.onSurfaceVariant,

‎mobile/lib/features/channels/agent_activity/agent_activity_sheet.dart‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import 'package:flutter/material.dart';
22
import 'package:flutter_hooks/flutter_hooks.dart';
33
import 'package:hooks_riverpod/hooks_riverpod.dart';
4-
import 'package:lucide_icons_flutter/lucide_icons.dart';
4+
import 'package:buzz/shared/theme/buzz_icons.dart';
55

66
import '../../../shared/theme/theme.dart';
77
import '../../../shared/widgets/buzz_loading_indicator.dart';
@@ -84,7 +84,7 @@ class AgentActivitySheet extends HookConsumerWidget {
8484
Row(
8585
children: [
8686
Icon(
87-
LucideIcons.bot,
87+
BuzzIcons.bot,
8888
size: 18,
8989
color: context.colors.onSurface,
9090
),
@@ -157,7 +157,7 @@ class _EmptyState extends StatelessWidget {
157157
child: Column(
158158
mainAxisSize: MainAxisSize.min,
159159
children: [
160-
Icon(LucideIcons.circleX, size: 24, color: context.colors.error),
160+
Icon(BuzzIcons.circleX, size: 24, color: context.colors.error),
161161
const SizedBox(height: Grid.xxs),
162162
Text(
163163
'Error: ${errorMessage ?? 'Unknown error'}',

0 commit comments

Comments
 (0)