Commit graph

107 commits

Author SHA1 Message Date
Slava Monich
3fdfd8d7d2 Fixed long tap on an image
MouseArea filling the image was eating mouse events which should be
handled by the list item. Handle them all at the list item level and
forward the "clicked" event to the extra content items which declare
the clicked() function.
2020-12-04 05:12:00 +02:00
Sebastian Wolf
5d0398b071
Merge pull request #221 from monich/verified
Add verification badge to verified chats
2020-12-03 22:01:48 +01:00
Slava Monich
2638c3837d Improve preview of wide images
Avoid clipping. Also, handling file updates on C++ side should be good
for performance.
2020-12-03 04:54:19 +02:00
Slava Monich
38165c4f67 Add verification badge to verified chats 2020-12-03 02:13:35 +02:00
Sebastian Wolf
98d07c86c4 Show some love to the editing functionality 2020-12-01 21:17:13 +01:00
Sebastian Wolf
782599f905 Simplify remorse popups, see #206 2020-11-29 13:33:14 +01:00
Sebastian Wolf
965f6db84e
Merge pull request #205 from Wunderfitz/new-chat-from-contacts-7
New chat from contacts, initial secret chat support
2020-11-29 12:41:25 +01:00
Slava Monich
dff9b1668e Animate opening and closing of attachment picker row
And slightly tweaked the process of closing the sticker picker.
2020-11-29 06:48:55 +02:00
Sebastian Wolf
48b5e14335 Improvements after feedback round 2020-11-28 19:11:51 +01:00
Sebastian Wolf
90f7535fda Secret chats begin to work properly... 2020-11-26 00:25:15 +01:00
Sebastian Wolf
a6d8328b10 I can see secret chats... ;) 2020-11-25 00:23:38 +01:00
John Gibbon
9e405918f7 fix functions scope; make appNotification global
I've left some instances of AppNotification items where they're supposed to be centered inside a component, not the whole page.
2020-11-23 20:15:28 +01:00
John Gibbon
aec4666721 Fix copy paste artifacts 2020-11-23 08:27:56 +01:00
John Gibbon
7017818acb Add switchable Debug output (JS) 2020-11-23 00:08:04 +01:00
John Gibbon
b4a520ed93 Remove elide 2020-11-22 21:10:36 +01:00
John Gibbon
352493f100 Use TruncationMode.Fade 2020-11-22 20:19:14 +01:00
John Gibbon
07b8d35fb3 Remove obsolete emoji basePath workaround 2020-11-22 20:19:14 +01:00
Sebastian Wolf
b26c6e81c2 Avoid strange layout if user name is veeeeeeeery long 2020-11-22 19:16:11 +01:00
Slava Monich
42ebec4503 Do not animate tab item width
It looks weird when they are moving around the screen after page
orientation changes.
2020-11-22 13:31:04 +02:00
Sebastian Wolf
82d0058746
Merge pull request #179 from jgibbon/bugfix/#20_translation_plurals
Bugfix/#20 translation plurals
2020-11-19 21:01:19 +01:00
Sebastian Wolf
e4dbb63a92 Properly encode HTML entities for chat's last message 2020-11-19 11:41:32 +01:00
John Gibbon
8181e17fa2 remove unnecessary .arg (+warnings) 2020-11-19 11:27:10 +01:00
John Gibbon
b48ca728d2 change/enable plural handling 2020-11-19 11:27:10 +01:00
John Gibbon
cf1c25f156 [%n1|%L1] → %Ln 2020-11-19 11:27:10 +01:00
Sebastian Wolf
af47ae2c72 Some improvements as suggested by @jgibbon, add unpin feature 2020-11-18 15:01:16 +01:00
Sebastian Wolf
b35d268b12 Now able to pin messages and show in-reply-to messages in overlay 2020-11-18 15:00:05 +01:00
Sebastian Wolf
541036d796 Display extra content in message overlay 2020-11-18 14:59:51 +01:00
Sebastian Wolf
2830f50a35 React properly on pinned message changes, nice message overlay ;) 2020-11-18 14:59:35 +01:00
Sebastian Wolf
15be3862f6 Display pinned message in chat 2020-11-18 14:59:15 +01:00
John Gibbon
77efd43bde fix channel handling 2020-11-18 10:34:46 +01:00
John Gibbon
13fbd8e7a6 fix pulley menu 2020-11-18 10:34:13 +01:00
John Gibbon
95b0ddef8e align page header image; use space for text when image is further down 2020-11-18 10:27:48 +01:00
John Gibbon
b2f46b54f4 fix online member count 2020-11-18 10:08:37 +01:00
John Gibbon
813c7912fe chat info: review optimizations 2020-11-17 10:09:11 +01:00
John Gibbon
78cc3fbac4 chat info: fix imports 2020-11-17 10:09:11 +01:00
John Gibbon
182a2d1344 ChatInfoPage as attached page
fixes #150: Now basically everything is inside a loader; ChatInformationPage is added to ChatPage with pageStack.pushAttached

fixes #166: Replaces the clunky VisualItemModel in tab view and doesn't initialize multiple times.
2020-11-17 10:09:11 +01:00
Sebastian Wolf
6e6396eac4 Fix erroneous display for some web page previews 2020-11-16 15:12:18 +01:00
Sebastian Wolf
85d1bebc3a Load last read messages, enable lazy-loading the future, might fix #136 2020-11-15 23:05:22 +01:00
John Gibbon
a8ca33fa3d multiple message selection 2020-11-14 23:50:12 +01:00
Sebastian Wolf
6666cf494a More progress bars & fix some web page previews 2020-11-14 22:53:51 +01:00
Sebastian Wolf
fa470f73ba Progress bar for video downloads 2020-11-14 21:01:52 +01:00
Sebastian Wolf
d994f8f102 Fix UI glitches in forward info, support video notes 2020-11-14 20:02:34 +01:00
Sebastian Wolf
fcf1bb2118 Display state of last message if it was sent by the user, fixes #152 2020-11-14 14:10:24 +01:00
Sebastian Wolf
63ce0f92d2 Fix 'mute chat' for chats that have never been muted, fixes #144 2020-11-13 22:43:50 +01:00
Sebastian Wolf
f93f62e88c Fix sticker width/height on smaller devices 2020-11-11 13:33:20 +01:00
Slava Monich
8ca5956722 Made sticker animation configurable 2020-11-11 13:22:43 +02:00
Slava Monich
449784883e Support for animated stickers
TGS are gzipped Lottie-Animations.
2020-11-11 13:22:31 +02:00
Sebastian Wolf
3607ca98a0 Fix flickering image during resize on chat information page 2020-11-10 21:11:25 +01:00
John Gibbon
ac9d761742 add sourceSize to ProfileThumbnail 2020-11-08 20:37:52 +01:00
John Gibbon
68e2dab715 set some properties readonly 2020-11-08 20:37:17 +01:00