Skip to content

Commit a83aa11

Browse files
committed
feat(content_management): add archived items button and update tooltips
- Add IconButton for archived items in ContentManagementPage - Update tooltip for add new item button - Replace "Consider localizing" with "TODO(you): Will be fixed in l10n phase" for both tooltips
1 parent 0db0076 commit a83aa11

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lib/content_management/view/content_management_page.dart

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,16 @@ class _ContentManagementPageState extends State<ContentManagementPage>
9292
),
9393
),
9494
actions: [
95+
IconButton(
96+
icon: const Icon(Icons.inventory_2_outlined),
97+
tooltip: 'Archived Items', // TODO(you): Will be fixed in l10n phase.
98+
onPressed: () {
99+
context.goNamed(Routes.archivedContentName);
100+
},
101+
),
95102
IconButton(
96103
icon: const Icon(Icons.add),
97-
tooltip: 'Add New Item', // Consider localizing this tooltip
104+
tooltip: 'Add New Item', // TODO(you): Will be fixed in l10n phase.
98105
onPressed: () {
99106
final currentTab = context
100107
.read<ContentManagementBloc>()

0 commit comments

Comments
 (0)