Skip to content
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

feat(points): Implement empty state for points history bottom sheet #5361

Merged
merged 11 commits into from
Apr 30, 2024

Conversation

jophish
Copy link
Contributor

@jophish jophish commented Apr 29, 2024

Description

Implements the empty state for the points history bottom sheet. See designs here.

Test plan

Units and manual tested. See video below

empty-state-2024-04-29_11.02.03.mp4

Related issues

  • Fixes #[issue number here]

Backwards compatibility

Yes

Network scalability

If a new NetworkId and/or Network are added in the future, the changes in this PR will:

  • Continue to work without code changes, OR trigger a compilation error (guaranteeing we find it when a new network is added)

Copy link

codecov bot commented Apr 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.06%. Comparing base (df34e35) to head (20d134a).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #5361   +/-   ##
=======================================
  Coverage   86.05%   86.06%           
=======================================
  Files         735      735           
  Lines       29946    29952    +6     
  Branches     5122     5125    +3     
=======================================
+ Hits        25771    25778    +7     
+ Misses       3948     3947    -1     
  Partials      227      227           
Files Coverage Δ
src/analytics/Events.tsx 100.00% <100.00%> (ø)
src/analytics/Properties.tsx 100.00% <ø> (ø)
src/points/PointsHistoryBottomSheet.tsx 98.46% <100.00%> (+0.12%) ⬆️

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update df34e35...20d134a. Read the comment docs.

Copy link
Member

@jeanregisser jeanregisser left a comment

Choose a reason for hiding this comment

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

🚀

src/points/PointsHistoryBottomSheet.tsx Outdated Show resolved Hide resolved
Copy link
Collaborator

@kathaypacific kathaypacific left a comment

Choose a reason for hiding this comment

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

looks good, although the "learn more" button felt a odd to me because it feels like it should do something more than just dismissing the sheet. i wonder if it'd be better for the button text to say something like "got it"? or for us to link to a support article? just my 2c though, if you and Kayla want to leave it like this then that's also fine

@jophish jophish added this pull request to the merge queue Apr 30, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 30, 2024
@jophish jophish added this pull request to the merge queue Apr 30, 2024
Merged via the queue into main with commit 15e0dbf Apr 30, 2024
16 checks passed
@jophish jophish deleted the jophish/no-history branch April 30, 2024 22:51
shottah pushed a commit to zed-io/kolektivo that referenced this pull request May 15, 2024
…alora-inc#5361)

### Description

Implements the empty state for the points history bottom sheet. See
designs
[here](https://www.figma.com/file/rXBDplfMHHqYmuu6EkgMEo/Gamification-experiments?type=design&node-id=1486-5899&mode=design&t=gVtyIzOM0LmxJaDy-4).

### Test plan

Units and manual tested. See video below



https://github.com/valora-inc/wallet/assets/569401/b9ed634a-4784-4c6a-a7db-fdbeaf9eb395



### Related issues

- Fixes #[issue number here]

### Backwards compatibility

Yes

### Network scalability

If a new NetworkId and/or Network are added in the future, the changes
in this PR will:

- [x] Continue to work without code changes, OR trigger a compilation
error (guaranteeing we find it when a new network is added)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants