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

Hide/Show pin banner based on scroll direction #3080

Merged
merged 4 commits into from
Jul 24, 2024

Conversation

Velin92
Copy link
Member

@Velin92 Velin92 commented Jul 23, 2024

Simulator.Screen.Recording.-.iPhone.15.-.2024-07-23.at.17.47.46.mp4

@Velin92 Velin92 requested a review from a team as a code owner July 23, 2024 16:56
@Velin92 Velin92 requested review from pixlwave and removed request for a team July 23, 2024 16:56
Copy link

github-actions bot commented Jul 23, 2024

Warnings
⚠️ Some of the commits are missing ticket numbers. Please consider squashing all commits that don't have a tracking number.
⚠️ You seem to have made changes to views. Please consider adding screenshots.

Generated by 🚫 Danger Swift against b147428

Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

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

Nice!

@Velin92 Velin92 added the pr-wip for anything that isn't ready to ship and will be enabled at a later date label Jul 23, 2024
@Velin92 Velin92 enabled auto-merge (squash) July 24, 2024 09:49
Copy link

codecov bot commented Jul 24, 2024

Codecov Report

Attention: Patch coverage is 65.00000% with 28 lines in your changes missing coverage. Please review.

Project coverage is 78.00%. Comparing base (bf22250) to head (4b4cd43).
Report is 1 commits behind head on develop.

Files Patch % Lines
.../Sources/Screens/RoomScreen/RoomScreenModels.swift 30.76% 9 Missing ⚠️
...X/Sources/Screens/RoomScreen/View/RoomScreen.swift 30.76% 9 Missing ⚠️
...en/View/Timeline/TimelineTableViewController.swift 68.42% 6 Missing ⚠️
...urces/Screens/RoomScreen/RoomScreenViewModel.swift 42.85% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3080      +/-   ##
===========================================
- Coverage    78.01%   78.00%   -0.02%     
===========================================
  Files          703      703              
  Lines        54362    54420      +58     
===========================================
+ Hits         42410    42449      +39     
- Misses       11952    11971      +19     
Flag Coverage Δ
unittests 68.52% <65.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

but the transition does not work properly
and improved the hide/show behaviour based on the scroll direction
and fixed a bug with the indicator and improved the tests for it
@Velin92 Velin92 force-pushed the mauroromito/pinned_banner_show_hide branch from 4b4cd43 to b147428 Compare July 24, 2024 10:15
@Velin92 Velin92 disabled auto-merge July 24, 2024 10:15
@Velin92 Velin92 merged commit 37786b8 into develop Jul 24, 2024
4 checks passed
@Velin92 Velin92 deleted the mauroromito/pinned_banner_show_hide branch July 24, 2024 10:15
Copy link

sonarcloud bot commented Jul 24, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-wip for anything that isn't ready to ship and will be enabled at a later date
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants