Commit Graph

24132 Commits

Author SHA1 Message Date
23rd ffeb5d41cd Allowed live animations over cached dialogs list rows. 2026-07-02 18:46:44 +03:00
23rd b3a2434abb Cached dialogs list rows into opaque images while scrolling. 2026-07-02 18:46:44 +03:00
23rd 7c2725ff73 Moved peer list rows scroll cache to separate module. 2026-07-02 18:46:44 +03:00
23rd 9766019a58 Removed redundant background fill under opaque peer list rows. 2026-07-02 18:46:44 +03:00
23rd 7c2795da4d Fixed dangling image reference in peer list rows scroll cache. 2026-07-02 18:46:44 +03:00
John Preston b2f324c74b Nudge editor toolbar premium stars inward 2026-07-02 18:21:37 +04:00
John Preston ea0ba76035 Add a skip above rich messages. 2026-07-02 17:49:09 +04:00
John Preston 7b2754fbbb Extract reusable top bar suggestion bubble mount.
Factor the floating cloud bubble's painting and scroll-mount wiring into shared helpers so the bubble content can be mounted standalone over any scrollable surface.
2026-07-02 17:49:09 +04:00
John Preston 802beabc9e Show loading dots for thinking-only rich drafts 2026-07-02 17:49:09 +04:00
John Preston 8d26202965 Fix Escape in sections with compose controls.
Regression from f362c16106: moving the key event filter from the
InputField to its raw QTextEdit made the Escape branch consume the key
before InputField::keyPressEventInner could fire cancelled(), so
sections like scheduled messages no longer went back on Escape with a
focused field. Keep the Cmd+Up/Down handling on the raw text edit and
suppress the propagated Escape in a separate filter on the field.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 17:49:09 +04:00
John Preston eeef96eb05 Request IV media images at zoomed pixel size 2026-07-02 17:49:08 +04:00
John Preston 8099f5de6b Zoom the IV article on Ctrl+wheel 2026-07-02 17:49:08 +04:00
John Preston 13b61fc5c8 Add IV triple-click paragraph selection 2026-07-02 17:49:08 +04:00
John Preston 86b9b426e5 Keep IV word selection across text nodes 2026-07-02 17:49:08 +04:00
John Preston adc94bfdb3 Keep rich messages as text, not isolated emoji 2026-07-02 17:49:08 +04:00
John Preston 2b6f26c77f Use normal font size for IV quote author label 2026-07-02 17:49:08 +04:00
John Preston 8f4bd0e24a Trim the IV link/text context menu 2026-07-02 17:49:08 +04:00
John Preston dcb1fa96d6 Lock scroll axis for IV touchpad gestures 2026-07-02 17:49:08 +04:00
John Preston a0b8267043 Hide IV jump-to-top button near the very bottom 2026-07-02 17:49:08 +04:00
John Preston 6b4fdb623a Keep IV selection visible while window is inactive 2026-07-02 17:49:08 +04:00
John Preston c025334656 Stop overscroll if we have more to load. 2026-07-02 17:49:08 +04:00
John Preston 99d0cac218 Include core/version.h directly in Windows platform sources. 2026-07-02 17:49:08 +04:00
John Preston 9c226235e2 Add Rich Formatting premium-promo section 2026-07-02 17:49:08 +04:00
John Preston d499052ed1 Gate rich-message authoring on app config 2026-07-02 17:49:08 +04:00
John Preston 2779b2a68d Mark premium actions better. 2026-07-02 17:49:08 +04:00
John Preston fb6e0b9105 Attempt to fix overscroll for history up-loading. 2026-07-02 17:49:08 +04:00
John Preston fd759d9048 Fix rich message re-layout.
Fixes #30906.
2026-07-02 17:49:08 +04:00
John Preston b72f7a1603 Hide rich messages editor behind an option. 2026-07-02 17:49:08 +04:00
John Preston a3b1e8faa3 Fix possible crash in tooltip show. 2026-07-02 17:49:08 +04:00
John Preston aa66497dc4 Keep chat focus when rich-draft preview is shown 2026-07-02 17:49:08 +04:00
John Preston 2abc55e1d0 Fade the clipped rich-draft preview bottom 2026-07-02 17:49:08 +04:00
John Preston 74075ae38e Keep non-premium formatting when flattening rich sends 2026-07-02 17:49:08 +04:00
John Preston 929fbf29af Show grayed Hide-from-name for non-premium forwards 2026-07-02 17:49:08 +04:00
John Preston bcddeadc0f Show premium stars in place of style menu shortcuts 2026-07-02 17:49:08 +04:00
John Preston 102665ced6 Show premium stars on rich-only toolbar buttons 2026-07-02 17:49:08 +04:00
John Preston 7a56e1065e Offer to send a rich draft without formatting 2026-07-02 17:49:08 +04:00
John Preston 45adb8fde4 Mark rich-formatted drafts with a Send-button lock badge 2026-07-02 17:49:08 +04:00
John Preston d15a500258 Restore hover tooltips on the IV editor top toolbar 2026-07-02 17:49:08 +04:00
John Preston 6e2397c1e3 Show shortcuts and active-color marking in style menus 2026-07-02 17:49:08 +04:00
John Preston 382e173e97 Swap table title and first-cell backspace boundary 2026-07-02 17:49:08 +04:00
John Preston ae57ec48c4 Re-add the divider insert entry to the block menu 2026-07-02 17:49:08 +04:00
John Preston 0da3e55cc0 Restore the rich draft via cloud draft on send fail 2026-07-02 17:49:08 +04:00
John Preston 8584f292bc Recover cleanly when rich submit is empty or rejected 2026-07-02 17:49:08 +04:00
John Preston 71ea71b13e Drop author-only quotes that the server rejects 2026-07-02 17:49:08 +04:00
John Preston 7a2555abd9 Drop empty rich blocks and gate semi-empty on send 2026-07-02 17:49:08 +04:00
John Preston 057e8c5917 Support tg://grams to show Grams section. 2026-07-02 17:49:08 +04:00
John Preston 402cb0e668 Fix crash when removing folders with pinned chats.
ChatFilters::applyRemove() emptied the filter in the list and only then
detached its chats. Unpinning a chat re-caches its siblings' pinned
indices, which runs Session::refreshChatListEntry(); seeing the filter
still listed but emptied, it re-entered removeFromChatList() ->
setChatPinned() -> PinnedList::setPinned() on the same pinned list while
its re-cache loop iterated with a cached size, reading past the end of
the vector. This aborted on closing the Folders editor after removing
two or more folders that had pinned chats.

Detach the filter from the list before applyChange() tears down its
chats, so the re-entrant refresh no longer touches it. Also harden the
setPinned() re-cache loop to re-check the container size each iteration
as defense in depth.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 17:49:07 +04:00
John Preston c91afffd60 Fix possible crash on AdminLog teardown. 2026-07-02 17:49:07 +04:00
John Preston 4ed9642855 [ai] Ensure we continue as long as possible. 2026-07-02 17:49:07 +04:00
John Preston 69a7a3c582 [ai] Add an optional visual/design step. 2026-07-02 17:49:07 +04:00