Skip to content

feat(dashboard): improve quick actions visual hierarchy #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions lib/dashboard/view/dashboard_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -244,24 +244,16 @@ class _QuickActionsCard extends StatelessWidget {
onPressed: () => context.goNamed(Routes.createHeadlineName),
),
const SizedBox(height: AppSpacing.sm),
ElevatedButton.icon(
OutlinedButton.icon(
icon: const Icon(Icons.create_new_folder_outlined),
label: Text(l10n.createCategory),
onPressed: () => context.goNamed(Routes.createCategoryName),
style: ElevatedButton.styleFrom(
backgroundColor: theme.colorScheme.secondaryContainer,
foregroundColor: theme.colorScheme.onSecondaryContainer,
),
),
const SizedBox(height: AppSpacing.sm),
ElevatedButton.icon(
OutlinedButton.icon(
icon: const Icon(Icons.add_to_photos_outlined),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The add_to_photos_outlined icon might be confusing for an action to 'Create Source', as it's strongly associated with images. A source in this application's context is a news organization or publication.

Using a more representative icon like Icons.add_business_outlined would improve clarity and make the UI more intuitive.

              icon: const Icon(Icons.add_business_outlined),

label: Text(l10n.createSource),
onPressed: () => context.goNamed(Routes.createSourceName),
style: ElevatedButton.styleFrom(
backgroundColor: theme.colorScheme.secondaryContainer,
foregroundColor: theme.colorScheme.onSecondaryContainer,
),
),
],
),
Expand Down
Loading