Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

CheckIn cards & interaction (EXPOSUREAPP-5410) #2644

Merged
merged 8 commits into from
Mar 19, 2021

Conversation

d4rken
Copy link
Member

@d4rken d4rken commented Mar 18, 2021

This PR aims to add:

  • CheckIn list behavior
  • Cards for active CheckIns + interaction
  • Cards for old CheckIns + interaction

The list displays dummy data and the menus/clicks don't do anything yet, this will come in a different PR.

The card for old check-ins currently says 21.01.2021, 18:01 - 18:26, without the Uhr, I will add this in a different PR after it is clear how we handle check-ins spanning multiple days.

@d4rken d4rken added enhancement Improvement of an existing feature maintainers Tag pull requests created by maintainers labels Mar 18, 2021
@d4rken d4rken added this to the 2.0.0 milestone Mar 18, 2021
@d4rken d4rken marked this pull request as ready for review March 18, 2021 14:40
@d4rken d4rken requested review from a team March 18, 2021 14:40
@AlexanderAlferov AlexanderAlferov self-assigned this Mar 18, 2021
Copy link
Contributor

@AlexanderAlferov AlexanderAlferov left a comment

Choose a reason for hiding this comment

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

LGTM 🚀
Looks nice on Samsung S8:
screenshot-1616080455904

Copy link
Contributor

@janetback janetback left a comment

Choose a reason for hiding this comment

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

UA reviewed.

@ralfgehrer ralfgehrer self-assigned this Mar 19, 2021
@sonarcloud
Copy link

sonarcloud bot commented Mar 19, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 5 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

val confirmationEvent = SingleLiveEvent<TraceLocationVerifyResult>()

val checkins = FAKE_CHECKIN_SOURCE
.map { checkins -> checkins.sortedBy { it.checkInEnd } }
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need 2nd level sort order - e.g. checkInStart - to have a stable sorting for active events?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point, by title would make sense, will add in follow up PRs.

@ralfgehrer
Copy link
Contributor

It seems that the padding of the floating button on the right side slightly too big.

Screenshot_20210319-104127

Screenshot_20210319-104140

Copy link
Contributor

@ralfgehrer ralfgehrer left a comment

Choose a reason for hiding this comment

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

LGTM. Minor comments - also fine to be fixed with upcoming PRs.
Tested on Pixel (Android 10). Also Talkback works nicely IMHO.

@d4rken d4rken merged commit 5c6dfba into release/2.0.x Mar 19, 2021
@d4rken d4rken deleted the feature/5410-checkin-cards branch March 19, 2021 10:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Improvement of an existing feature maintainers Tag pull requests created by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants