Commit Graph
961 Commits
Author SHA1 Message Date
isaacandisaac 68a95f53f2 Various improvements 2026-04-24 23:21:05 +04:00
isaacandisaac 524c29cbe3 Various improvements 2026-04-22 00:32:34 +04:00
isaacandisaac a053909b87 Fix crash 2026-04-20 21:06:20 +02:00
IsaacandIsaac 8edaa79eda Merge commit '23c4d9474868a4a694a44fd11f84f914c13fb259' 2026-04-19 23:54:22 +02:00
IsaacIsaacClaude Opus 4.7
791bb62148 Display/ListView: snap-scroll to pinned item + synchronous history transactions
Adds an experimentalSnapScrollToPinnedItem path that resnaps scroll to
the first pinToEdgeWithInset item after inset/visible-size updates and
on empty itemNodes. Promotes ListViewItem to AnyObject and adds a
pinToEdgeWithInset protocol requirement with a default of false.

Also runs chat history transactions synchronously when updating scroll
around correlated messages, and tightens beganInteractiveDragging weak-
self handling.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 23:45:18 +02:00
IsaacIsaacClaude Opus 4.7
4bd54b9771 Display/ListView: pin first pinToEdgeWithInset item to bottom edge
Introduces a pin-to-edge mode for list items: items whose
pinToEdgeWithInset flag is true are pinned to the bottom edge of the
visible area, with the list geometry (pin inset, scrollToItem,
inset-transition offsetFix, visible-size updates) adjusted to handle
this new mode consistently.

Collected from spec, plan, and 12 iterative fixes during
implementation that refined pin-inset helpers, scroll landings, and
transition math. Pin-inset computation uses frame.size.height;
scrollToItem lands on the item's pinned position via apparentBounds.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 23:45:13 +02:00
Ilya Laktyushin c9b76c9294 Various fixes 2026-04-19 14:17:48 +02:00
Ilya Laktyushin 8f1e024aef Various fixes 2026-04-15 23:12:53 +02:00
IsaacandIsaac 976c2de599 Temp 2026-04-14 15:33:19 +02:00
IsaacIsaacClaude Opus 4.6
430ea53ed8 Add per-character glyph rects to InteractiveTextNodeLine and implement reveal animation
- Replace characterToGlyphMapping with characterRects ([CGRect]?) on InteractiveTextNodeLine
- Add computeCharacterRects flag to InteractiveTextNodeLayoutArguments
- Compute actual glyph bounding boxes via CTFontGetBoundingRectsForGlyphs during layout
- Implement computeRevealedLines, layoutForCharacterCount, sizeForCharacterCount
- Implement updateRevealCharacterCount to distribute character budget across content item layers
- Update snippet layers to animate per-character rects with SnippetLayer tracking character index
- Mask limit driven by lowest animating snippet index for correct reveal ordering
- Fix listViewAnimationCurveEaseIn to match iOS default ease-in curve (0.42, 0.0, 1.0, 1.0)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 15:31:49 +02:00
IsaacandIsaac d575824ab4 Various improvements 2026-04-10 14:30:23 +02:00
IsaacandIsaac d89a4a79cf Various improvements 2026-04-07 16:48:11 +02:00
IsaacandIsaac 34477605b1 Various improvements 2026-03-31 20:24:24 +08:00
IsaacandIsaac fe791128d6 Various improvements 2026-03-27 00:46:53 +08:00
IsaacandIsaac 93bf472472 Text selection 2026-03-24 22:51:44 +08:00
IsaacandIsaac bc7858ad2b AI editing 2026-03-20 18:23:45 +01:00
IsaacandIsaac a2d5c530a5 Various improvements 2026-03-18 00:27:13 +01:00
IsaacandIsaac 72fbe5d7a7 Various improvements 2026-03-13 14:54:44 +01:00
IsaacandIsaac 18201ca830 Refactor 2026-03-10 08:54:43 +01:00
IsaacandIsaac 9a4327116d Refactor 2026-03-10 00:38:36 +01:00
IsaacandIsaac bb23c6f653 Various improvements 2026-03-06 18:13:48 +01:00
Ilya Laktyushin d9d1210c1d Various improvements 2026-02-19 21:53:26 +04:00
IsaacandIsaac 26cc304ca0 Fix bg 2026-02-17 10:19:02 +04:00
IsaacandIsaac 157a7a978d Glass 2026-02-13 17:08:48 +04:00
IsaacandIsaac 2a317d87d2 Upgrade SpaceWarpNode 2026-02-13 12:23:53 +04:00
IsaacandIsaac dde740bfe8 Various improvements 2026-02-11 22:04:54 +04:00
IsaacandIsaac 1bb139ff32 Various improvements 2026-02-03 20:17:44 +08:00
Ilya Laktyushin 226200c8c9 Various improvements 2026-02-02 04:11:51 +04:00
Ilya Laktyushin 8be8491b84 Various improvements 2026-01-26 02:16:22 +04:00
Ilya Laktyushin 0d12dd29ad Various improvements 2026-01-25 22:17:49 +04:00
IsaacandIsaac ca6fdc1629 Glass 2026-01-25 00:31:18 +08:00
IsaacandIsaac 6ad2622b30 Various updates 2026-01-24 00:35:42 +08:00
IsaacandIsaac 2db08cde89 Glass 2026-01-13 19:21:49 +04:00
IsaacandIsaac 0f5a019f04 Glass updates 2026-01-11 21:01:45 +04:00
IsaacandIsaac 4e45d5f27c Built time 2025-12-30 15:16:10 +08:00
IsaacandIsaac 9d6518a738 Temp fixes 2025-12-27 16:34:51 +08:00
IsaacandIsaac 4a13c3830a Glass 2025-12-26 20:29:30 +08:00
IsaacandIsaac 4c6b273fe1 Merge commit 'ef5b8537e02f66a33dbdace5d5e30f8d69077f5f'
# Conflicts:
#	submodules/TelegramUI/Components/LiquidLens/Sources/LiquidLensView.swift
#	submodules/TelegramUI/Components/TabBarComponent/Sources/TabBarComponent.swift
2025-12-20 03:05:26 +08:00
IsaacandIsaac 3486393f99 Glass 2025-12-20 03:02:08 +08:00
Ilya Laktyushin 1a1f08de64 Various improvements 2025-12-17 14:31:54 +04:00
IsaacandIsaac 0ccec4b6b6 WIP 2025-12-16 20:55:47 +08:00
IsaacandIsaac 0c3530d8a8 Glass 2025-12-10 00:16:36 +08:00
IsaacandIsaac 1ee7268488 Glass 2025-12-06 01:28:06 +08:00
IsaacandIsaac f6ba92766b Glass 2025-12-03 04:21:09 +08:00
IsaacandIsaac cd436e8210 Glass 2025-12-01 22:13:33 +08:00
IsaacandIsaac 0055396d4d Update 2025-11-26 23:05:30 +08:00
IsaacandIsaac 5e26b246bd [WIP] Tab bar and search 2025-11-22 03:17:19 +08:00
IsaacandIsaac 5bc61d614c Update animation 2025-11-03 14:15:49 +04:00
IsaacandIsaac 9397ece5a8 Update 2025-10-31 18:23:12 +04:00
IsaacandIsaac 5145b9e605 Stories 2025-10-31 17:51:37 +04:00