Telegram-iOS/submodules/TelegramUI/Resources/Animations/TabEvents.json
akaevmikail17 29d2c08102 Events tab: TGEventAttribute, participant list, source icon, tab icon size
- TGEventAttribute: new MessageAttribute in TelegramCore/SyncCore storing
  event data invisibly (eventId, title, timestamps, location); registered
  via declareEncodable in AccountManager; replaces visible [TGE:...] JSON text

- EventCardNavigatorController: full rewrite with UIScrollView layout;
  participant sections "Идут / Не идут" with names and vote dates;
  TGVoteEntry (v2 vote storage) alongside v1 for badge compat;
  scanMessageHistory() uses TGEventAttribute with legacy text fallback;
  loadCurrentUser() reads voter name from Postbox

- EventsController: TGEvent.chatIsGroup field (nil=personal, true=group,
  false=DM); EventCell shows subtle person.2/person source icon top-right;
  tab icon scaled to 68% via Lottie JSON and PDF asset

- ChatControllerOpenAttachmentMenu: clean message text (no [TGE:...]),
  attaches TGEventAttribute; stores chatIsGroup: true in persisted event

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 17:27:33 +03:00

1 line
No EOL
1.2 KiB
JSON

{"v":"5.5.7","meta":{"g":"TabEvents","a":"","k":"","d":"","tc":""},"fr":60,"ip":0,"op":35,"w":512,"h":512,"nm":"TabEvents","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Events","sr":1,"ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":0},"p":{"a":0,"k":[256,256,0]},"a":{"a":0,"k":[0,0,0]},"s":{"a":1,"k":[{"i":{"x":[0.3,0.3,0.3],"y":[1,1,1]},"o":{"x":[0.15,0.15,0.15],"y":[0,0,0]},"t":0,"s":[68.0,68.0,100]},{"i":{"x":[0.2,0.2,0.2],"y":[1,1,1]},"o":{"x":[0.6,0.6,0.6],"y":[0,0,0]},"t":8,"s":[59.160000000000004,59.160000000000004,100]},{"t":25,"s":[68.0,68.0,100]}]}},"ao":0,"shapes":[{"ty":"gr","nm":"Calendar","it":[{"ty":"rc","nm":"Body","d":1,"p":{"a":0,"k":[0,51]},"s":{"a":0,"k":[409,341]},"r":{"a":0,"k":51}},{"ty":"rc","nm":"LeftPeg","d":1,"p":{"a":0,"k":[-85,-145]},"s":{"a":0,"k":[68,120]},"r":{"a":0,"k":26}},{"ty":"rc","nm":"RightPeg","d":1,"p":{"a":0,"k":[85,-145]},"s":{"a":0,"k":[68,120]},"r":{"a":0,"k":26}},{"ty":"fl","nm":"Fill","o":{"a":0,"k":100},"c":{"a":0,"k":[1,1,1,1]},"r":1},{"ty":"tr","p":{"a":0,"k":[0,0]},"a":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"r":{"a":0,"k":0},"o":{"a":0,"k":100},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}}]}],"ip":0,"op":35,"st":0,"bm":0}],"markers":[]}