23538 Commits

Author SHA1 Message Date
23rd c22e6b7cbf [poll-create] Added audio support. 2026-03-28 10:29:13 +03:00
23rd bb84330289 Added ability to forward poll without description. 2026-03-28 10:29:13 +03:00
23rd ee84743fb0 Switched poll option overlay host to lazy initialization. 2026-03-28 10:29:13 +03:00
23rd da6956df3d [poll-view] Fixed vertical area for voted poll options without media. 2026-03-28 10:29:13 +03:00
23rd 0d003967e8 Added preview for media from poll option to input field reply header. 2026-03-28 10:29:13 +03:00
23rd 589e486cb8 [poll-view] Added preview for media from poll option. 2026-03-28 10:29:13 +03:00
23rd fd634164ed Hid inline add-option for polls on message selection and swipe gestures. 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 f992678e3a [poll-shared] Added ability to select polls. 2026-03-28 10:29:13 +03:00
23rd 23c6d595ff [poll-view] Fixed bottom button phrase when no votes. 2026-03-28 10:29:13 +03:00
23rd 4221ea66da [poll-view] Added geo location thumbnail to sent poll answers. 2026-03-28 10:29:13 +03:00
23rd c34f25f2bd Added geo location preview support to poll answer media menu. 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 62674467ed Added geo thumbnail with pin overlay support to dynamic thumbnails. 2026-03-28 10:29:13 +03:00
23rd 42eaddfaba Added geolocation support to poll answer media data layer. 2026-03-28 10:29:13 +03:00
23rd 5f60eb53ff Updated tg_owt to fix PipeWire 1.5.81+ compatibility.
Required for Flathub builds on newer 50 runtimes.
2026-03-28 10:29:13 +03:00
23rd b01e0b77fe Added support of unread poll votes to corner button from history widget. 2026-03-28 10:29:12 +03:00
23rd d1406f3f17 Added support of empty state to poll list widget. 2026-03-28 10:29:12 +03:00
23rd 7942a24c0c [poll-shared] Added initial search support. 2026-03-28 10:29:12 +03:00
23rd 5a2c0b1a19 [view-poll] Improved color of attach button in add-option. 2026-03-28 10:29:12 +03:00
23rd 36373574cf [view-poll] Improved color of emoji button in add-option. 2026-03-28 10:29:12 +03:00
23rd 8585e8cb0c Moved out AddPollOptionWidget from header. 2026-03-28 10:29:12 +03:00
23rd 9fe4419269 [view-poll] Improved color of placeholder for input field in add-option. 2026-03-28 10:29:12 +03:00
23rd 8b37591882 Added ability to delete added poll answer. 2026-03-28 10:29:12 +03:00
23rd 7a5eefcc70 Deduplicated poll overlay setup into ShowAddPollOptionOverlay. 2026-03-28 10:29:12 +03:00
23rd bb6a008309 Extracted ElementOverlayHost to deduplicate overlay management. 2026-03-28 10:29:12 +03:00
23rd 77529fb698 [view-poll] Connected emoji panel with tabbed selector to add-option. 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 0d93cb580d Extracted poll media upload pipeline into separated files. 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 cbf8f791bb [poll-view] Added poll option author info to context menu. 2026-03-28 10:29:09 +03:00
23rd 27e04f3e0c Added creator flag to PollData. 2026-03-28 10:29:09 +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 ab1af9371e Added poll vote badge to dialogs. 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 6e89ec538c [poll-view] Added distinct green checkbox icon for poll option replies. 2026-03-28 10:29:09 +03:00
23rd c992e883b5 [poll-view] Added toast when voting in hidden-results poll. 2026-03-28 10:29:09 +03:00
23rd 39ce6a1a0a [poll-view] Added author ability to view results without voting. 2026-03-28 10:29:09 +03:00
23rd a91c2cd0a2 [poll-view] Added countdown timer text to poll footer. 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 f055478b6e Moved out ttl icon from dialogs row to separated file. 2026-03-28 10:29:09 +03:00
23rd 7a586e680c [poll-view] Fixed cropped attached photos in views from shared polls.
Poll::countTopMediaHeight() used width() which returns 0 during
first countOptimalSize()/countCurrentSize() call (Object sets _width
only after these return).
This made photo height = max(1, negative) = 1px.
2026-03-28 10:29:09 +03:00
23rd 54da1bf21b Added ability to copy text from poll answers. 2026-03-28 10:29:09 +03:00
23rd 2b89fb9d40 [poll-shared] Added Polls section.
- Introduced SharedMediaType::Poll and registered poll messages
as shared media in data_media_types.

- Added Data::PollMessagesViewer — a producer that loaded poll
message slices for a given history/topic/monoforum peer.
(data_poll_messages.cpp/h)

- Implemented Info::Polls::ListWidget and ListMemento — a new content
widget that rendered poll messages using HistoryView::ListWidget
with a custom chat theme, similar to existing shared media sections.

- Connected the new section into info_memento, info_controller,
info_media_buttons, and info_media_widget so it appeared as a button
in the Shared Media panel.
2026-03-28 10:29:08 +03:00
23rd 07ca74ca0b Added workaround to always close media preview on window resize. 2026-03-28 10:29:08 +03:00
23rd 554ba411f6 [poll-view] Added initial support of reply to poll answers. 2026-03-28 10:29:08 +03:00