Repository navigation
iOS: smoother photo flight, contact cards open on tap - #59
Merged
Merged
Conversation
- The frame flies back as the viewer shows it: the loaded original, not the blurry tile thumbnail that replaced it at the start of the close. - The flying frame starts and ends with the tile's own corners: album tiles have nearly square inner corners, which used to round up. - After a flick the frame keeps the finger's speed on its way to the tile, and turns around if the flick went away from it. - Under the finger the frame shrinks a little (to 0.8 at most), as the background fades. - The header and the bottom bar fade in and out instead of popping when the frame takes off, lands or is dragged. - The original fades in over the tile thumbnail once it arrives. - Without a tile on screen the viewer grows from 94 % as it fades in. - With Reduce Motion there is no flight: the viewer fades in and out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MzJkZ5fMPvUtKq76szzXkB
Tapping a shared contact did nothing: the card had no action. A contact with a MAX account now opens that person's profile, the same screen as tapping an author in a group, with Write and Call from there. A contact without an account, or one's own card, offers Call and Copy number. A card with neither stays inert. ContactCardTarget decides, with tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MzJkZ5fMPvUtKq76szzXkB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что изменилось
Полёт фото между пузырём и просмотром (
MediaViewer)MediaSourceRegistry.Corners).MediaHeroGeometry.returnVelocity).MediaDismissRule.scale).Карточка контакта в пузыре
Раньше нажатие на карточку ничего не делало. Теперь (
ContactCardTarget):Тесты
MediaViewerRulesTests: уменьшение кадра под пальцем, масштаб вокруг центра, скорость возврата.ContactCardTargetTests: профиль, номер, своя карточка, карточка без данных.Проверка
Сборка и тесты не запускались: в среде, где делалась правка, нет Xcode. Нужно посмотреть на устройстве: