Commit Graph

3695 Commits

Author SHA1 Message Date
John Preston afddcbdd40 Fix build with GCC. 2026-04-01 13:24:42 +07:00
23rd aa74efdee7 [poll-create] Fixed wrong grabbed toggles state before show animation. 2026-03-31 23:06:43 +03:00
John Preston b6ae741000 Implement managed bot creation limits toasts. 2026-04-01 00:16:22 +07:00
John Preston d4ad55f006 Fix possible crash in original text crop. 2026-03-31 15:37:15 +07:00
John Preston 50cd572754 Support blockquote / pre in caption / ai tools. 2026-03-31 14:26:57 +07:00
23rd 8a1001333e [poll-create] Fixed formatting support in input fields. 2026-03-31 07:30:54 +03:00
23rd 3c8d8d9243 [poll-create] Removed forced lock on revoting when quiz mode is set. 2026-03-31 07:30:54 +03:00
John Preston 1b153ded83 Support AI Tools in media box. 2026-03-30 22:23:29 +07:00
John Preston 828eed0c34 Show select style tooltip. 2026-03-30 18:53:39 +07:00
23rd d5f4c5366c [poll-create] Changed default enabled settings. 2026-03-30 10:19:14 +03:00
23rd 48027ae66b [poll-create] Added lottie icon to toast. 2026-03-30 10:19:14 +03:00
23rd 42e5bdeca5 [poll-view] Improved support of hidden-results state with toast. 2026-03-30 10:19:14 +03:00
23rd 75632f7c86 Added stale media reupload guard before sending poll with expired files. 2026-03-30 10:19:14 +03:00
23rd b6b9edcbea Extracted poll media preview and sticker panel into single place. 2026-03-28 15:14:41 +03:00
23rd a29acd4882 Brought non-sprite shadows revolution. 2026-03-28 11:50:50 +03:00
John Preston fa8eaaff4f Fix build with MSVC. 2026-03-28 15:49:20 +07:00
John Preston de42fb83c5 Support new styles list from appConfig. 2026-03-28 14:48:58 +07:00
John Preston e974d02b44 Toast icon revolution. 2026-03-28 14:48:58 +07:00
23rd e3f2e68947 Added support for app authorization in url auth box. 2026-03-28 10:37:42 +03:00
23rd 5907145fcc Added missed phrases for polls. 2026-03-28 10:29:13 +03:00
23rd 6a187bff11 Extracted pill tabs to separated module. 2026-03-28 10:29:13 +03:00
23rd aeed2a0bcd [poll-create] Slightly improved ux. 2026-03-28 10:29:13 +03:00
23rd 3747d2d91d [poll-create] Added icon to input field for new options. 2026-03-28 10:29:13 +03:00
23rd 3ceb28cd5e [poll-create] Forced public votes on when open answers enabled. 2026-03-28 10:29:13 +03:00
23rd c22e6b7cbf [poll-create] Added audio support. 2026-03-28 10:29:13 +03:00
23rd 82ffe0f91f [poll-shared] Added floating button for new poll. 2026-03-28 10:29:13 +03:00
23rd 5080556836 [poll-create] Added location picker support to poll answer media. 2026-03-28 10:29:13 +03:00
23rd 7a5eefcc70 Deduplicated poll overlay setup into ShowAddPollOptionOverlay. 2026-03-28 10:29:12 +03:00
23rd edbdbef2eb Replaced old upload pipeline in create_poll_box with extracted pipeline. 2026-03-28 10:29:12 +03:00
23rd 4f446e0102 [view-poll] Added emoji and attach button placeholders to add-option. 2026-03-28 10:29:12 +03:00
23rd 969108381a [view-poll] Added emoji and attach button placeholders to add-option. 2026-03-28 10:29:12 +03:00
23rd 53dc6d45b9 [poll-view] Added initial inline add-option overlay with input field. 2026-03-28 10:29:12 +03:00
23rd db8878932f Replaced badge-based dialogs icons with standalone colored icons. 2026-03-28 10:29:12 +03:00
23rd 58a2c0f834 [poll-create] Fixed display of emoji button. 2026-03-28 10:29:09 +03:00
23rd bb4d4e239f [poll-create] Added reorder answers support. 2026-03-28 10:29:09 +03:00
23rd 73baa8e679 [poll-create] Added support of quiz mode with multiple correct answers. 2026-03-28 10:29:09 +03:00
23rd b28b46bdc9 [poll-create] Added poll option toggle to set deadline. 2026-03-28 10:29:09 +03:00
23rd 5515a662b8 [poll-create] Added ability to upload video. 2026-03-28 10:29:08 +03:00
23rd 66c450fc0d [poll-create] Added document file preview overlay. 2026-03-28 10:29:08 +03:00
23rd 47e1d56033 [poll-create] Added support of preview to attached photo. 2026-03-28 10:29:08 +03:00
23rd 89bee2dd51 [poll-create] Added nice overlay on hover for attach buttons. 2026-03-28 10:29:08 +03:00
23rd 26b437fcd6 [poll-create] Added support of drag'n'drop for document files. 2026-03-28 10:29:08 +03:00
23rd 64c172f590 [poll-create] Added support of preview for attached sticker. 2026-03-28 10:29:08 +03:00
23rd b8888025ec [poll-create] Added cancel support to attach button while uploading. 2026-03-28 10:29:08 +03:00
23rd ecff8e3670 [poll-create] Added ability to upload document files. 2026-03-28 10:29:08 +03:00
23rd d58ec07343 [poll-view] Slightly improved style.
Fixed #27026.
2026-03-28 10:29:08 +03:00
23rd 8e746dcfbd Replaced MTPInputMedia with domain-level PollMedia in poll data structs. 2026-03-28 10:29:08 +03:00
23rd 2411009071 [poll-view] Added preview to stickers in answers. 2026-03-28 10:29:08 +03:00
23rd 0328de897c [poll-view] Added explanation block. 2026-03-28 10:29:08 +03:00
23rd 48de6c495e Moved out all poll-related style entries to td_ui. 2026-03-28 10:29:08 +03:00