Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

feat(app): clicking the HPI logo opens hpi.de #92

Closed
wants to merge 3 commits into from

Conversation

ctiedt
Copy link
Member

@ctiedt ctiedt commented Oct 14, 2019

Fixes: #88

Checklist

  • Commit messages follow conventionalcommits.org
  • Tested on actual devices
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Changes
The HPI logos on the dashboard and in the bottom drawer are now buttons that lead to hpi.de.
This branch also includes minor changes to the layout of the bottom drawer to make the HPI logo and settings button more centered.

@ctiedt ctiedt added P: 3 Priority: 3 (Medium) T: feat C: app labels Oct 14, 2019
@ctiedt ctiedt requested a review from MarcelGarus October 14, 2019 15:02
@ctiedt ctiedt self-assigned this Oct 14, 2019
@JonasWanke JonasWanke changed the title fix: Clicking on HPI logo could open browser with hpi.de feat(app): clicking the HPI logo opens hpi.de Oct 15, 2019
lib/app/widgets/dashboard_page.dart Outdated Show resolved Hide resolved
lib/app/widgets/dashboard_page.dart Outdated Show resolved Hide resolved
lib/app/widgets/dashboard_page.dart Outdated Show resolved Hide resolved
lib/app/widgets/main_scaffold.dart Outdated Show resolved Hide resolved
lib/app/widgets/main_scaffold.dart Outdated Show resolved Hide resolved
Copy link
Member

@MarcelGarus MarcelGarus left a comment

Choose a reason for hiding this comment

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

  • We shouldn't display Material ink wells when clicking on the logo. So, instead of using an InkWell, a GestureDetector might be sufficient.
  • On the dashboard, we shouldn't detect taps on the whole header, just on the logo.
  • On the dashboard, the logo should align with the carousel thingies below.

@phpfs
Copy link
Member

phpfs commented Oct 16, 2019

This feature might be confusing if one accidentally activates the button. Maybe an alert with confirmation helps :)

@MarcelGarus
Copy link
Member

@ctiedt An AlertDialog for confirmation would indeed be a great solution.

@JonasWanke JonasWanke closed this May 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C: app P: 3 Priority: 3 (Medium) T: feat
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clicking on HPI logo could open browser with hpi.de
4 participants