Commit Graph

318 Commits

Author SHA1 Message Date
a3bdabca3c feat(ui): Allow tapping on the profile picture 2022-11-26 19:00:24 +01:00
f094a326ac feat(ui): Switch cropping libraries
This makes the avatar cropper much more consistent
with the background cropper. Fixes #168.
2022-11-26 18:40:46 +01:00
c7d1ecce35 feat(ui): Show whether the last received message was edited 2022-11-26 15:57:06 +01:00
ab63bc44a6 feat(service,ui): Allow correcting the last message 2022-11-26 15:17:33 +01:00
524dec0991 fix(ui): Hide the media preview if the contact is typing 2022-11-26 12:12:36 +01:00
a783aab229 feat(ui): Show a media preview if it is thumbnailable 2022-11-25 20:35:43 +01:00
eac8e3fb44 feat(ui): Show a media preview in the body line 2022-11-25 20:20:44 +01:00
035d29fabc fix(ui): Use the emoji + mime type combo for media messages 2022-11-25 20:01:54 +01:00
ad2b10972c docs(ui): Remove TODO 2022-11-25 18:11:05 +01:00
fe4c794f68 refactor(service): Conversations now point to the last message 2022-11-25 17:01:30 +01:00
6115d748e3 feat(ui): Show the last message state in the conversations list 2022-11-25 16:09:06 +01:00
8709f0bd8e refactor(ui): Move the overview code out of the chat bubble 2022-11-24 11:55:51 +01:00
13d7f33c37 refactor(ui): Move ChatBubble to OverviewMenuItem 2022-11-24 11:19:19 +01:00
eac8592536 feat(ui): Make conversations long-pressable 2022-11-23 23:16:05 +01:00
3e0feaa3e8 feat(ui): Allow quoting via the long-press menu 2022-11-23 22:16:07 +01:00
b10f7dd888 feat(i18n): Translate OMEMO errors (Fixes #162) 2022-11-22 23:14:05 +01:00
f0c6713d76 refactor(shared): isWarning and isError should just be properties 2022-11-22 22:04:05 +01:00
0eeac949ea feat(ui): Show errors 2022-11-22 21:58:55 +01:00
04c0c1c0e2 feat(ui): Show filesize for media (Fixes #129) 2022-11-22 20:39:28 +01:00
c88003bea1 feat(service): Remove shared media entry on message retraction
Also: Fix some ordering oddities with the shared media widget and page.
2022-11-22 19:51:28 +01:00
c58fca395b fix(ui): Popup messages have corners 2022-11-21 22:23:58 +01:00
0acd13f0f0 feat(ui): Use curves for bettwe animations 2022-11-21 18:37:14 +01:00
cfdb948372 feat(ui): Make the longpress vibration stronger 2022-11-21 18:24:03 +01:00
9b3130f363 feat(ui): Animate a transition between chat state and no chat state 2022-11-21 18:19:58 +01:00
91b92b2cc4 fix(ui): Make colors more readable 2022-11-21 17:23:46 +01:00
8107743af2 fix(ui): Retract messages had no padding 2022-11-21 16:02:08 +01:00
935cb1c38b feat(ui): Render all retracted messages as a text message 2022-11-21 14:05:24 +01:00
acd5b7706b fix(ui): Make showConfirmationDialog more like Flutter 2022-11-21 12:40:54 +01:00
0b111d1012 feat(ui): Indicate retracted messages in the overview 2022-11-21 12:22:44 +01:00
e2517a7786 feat(ui): Show a 'show warning' button 2022-11-21 11:13:57 +01:00
aaf5b4fecc refactor(ui): Move some functions into the message model 2022-11-21 10:56:47 +01:00
173e251e9f fix(ui): Images cannot be long pressed 2022-11-21 10:45:04 +01:00
2dc3de43d1 fix(ui): Only allow sending retractions on our own messages 2022-11-20 23:41:55 +01:00
6ef34afc6d fix(i18n): Translate the new strings 2022-11-20 22:52:49 +01:00
1cd6b63f1e feat(ui): Implement a message selection menu 2022-11-20 22:33:18 +01:00
6fd17ee70e fix(ui): Prevent quoting retracted messages 2022-11-20 17:45:27 +01:00
25ec569cd8 fix(i18n): Translate the retracted message 2022-11-20 17:33:34 +01:00
2dd9847566 feat(service): Handle message retraction 2022-11-20 17:30:32 +01:00
2ec08c7f68 refactor(ui): Use super parameters 2022-11-17 20:10:37 +01:00
1e51e8bb8b fix(ui): Always center the conversation title
Fixes #72.
2022-11-12 18:47:55 +01:00
ad48191b53 fix(ui): Make the UI more consistent colorwise
Fixes #34.
Fixes #144.

This commit makes more UI elements use the primary color. Also
adds an enabled state to the RoundedButton.
2022-11-12 17:54:54 +01:00
ab6b5eefc0 fix(ui): Prevent quoting File Upload Notifications 2022-11-12 13:23:33 +01:00
993cd5ed1c refactor(ui): Remove ThumbnailService
Closes #31.
2022-11-12 13:02:47 +01:00
32444d5a7e fix(ui): Error messages now cannot be quoted
Fixes #142.
2022-11-09 11:56:04 +01:00
b003b5e04b fix(ui): Make message draggable only in one direction
Fixes #118.
2022-11-09 11:47:55 +01:00
7fe220a630 feat(ui): Show which chats are encrypted 2022-11-04 21:52:06 +01:00
98569cff69 feat(service): Pull the filename from SFS, if given 2022-11-04 21:52:06 +01:00
0327f254a2 feat(ui): Display warnings for messages 2022-11-04 21:52:06 +01:00
031ef140f3 feat(ui): Color bubbles red if they are unencrypted when they should not 2022-11-04 21:52:06 +01:00
ab47b06fd6 tmp: Migrate OMEMO to Resultsv2 api 2022-11-04 21:51:18 +01:00
26b6abe66b ui: Make bubble icons smaller 2022-11-04 21:51:18 +01:00
2b7b7a10bc ui: Fix every sent message having an error 2022-11-04 21:51:18 +01:00
5b18b3d50d ui: Fix messages having no text 2022-11-04 21:51:18 +01:00
be24afc8bf xmpp: Fix bug with invalid affix elements 2022-11-04 21:51:18 +01:00
5332572b2e ui: Display decryption errors 2022-11-04 21:51:18 +01:00
81a47a12ec ui: Display encrypted messages as encrypted 2022-11-04 21:51:18 +01:00
2bfcd52c8e service: Store the media dimensions in a less stupid way 2022-09-08 21:28:00 +02:00
6444e9f1d5 ui: Fix text padding if message is a bit longer 2022-09-08 11:59:32 +02:00
805a701daa service: Use native_imaging to generate blurhash thumbnail
Closes #109.

This should be much faster than before but required a bump
of isar, which means that you need to delete all data of
Moxxy before running it again. This is, however, not that
big a deal as I'm going to replace isar with sqlite
soon(tm) anyway.
2022-08-30 11:52:53 +02:00
9ef0b851a9 ui: Fix quotes images looking weird 2022-08-29 21:01:22 +02:00
0021d0d84d ui: Make colors a bit better
I was too lazy to move it into its own branch (or master)
2022-08-28 00:08:26 +02:00
ec3ed96771 ui: Prevent overflows of the lastMessageBody 2022-08-27 22:44:59 +02:00
bb7adceeb7 ui: Stub out the sharing page 2022-08-26 22:59:17 +02:00
b3fcbfd4fe ui: Redirect Youtube and Twitter links 2022-08-26 13:32:47 +02:00
ae793f480c ui: Stub things out 2022-08-25 22:35:51 +02:00
03a775ef1c ui: Make URLs clickable 2022-08-25 21:12:57 +02:00
ac12d48ac0 ui: Add a stubbed audio record button 2022-08-25 15:16:34 +02:00
652fc28273 service: Replace the message sent attribute with sender 2022-08-25 13:37:44 +02:00
68983e28d4 meta: Fix showing no filename when receiving a File Upload Notification 2022-08-25 11:42:48 +02:00
054d5b0df7 service: Handle File Upload Notifications when auto-download is disabled 2022-08-23 18:23:40 +02:00
225bf126dd service: Implement receiving File Upload Notifications 2022-08-23 18:12:35 +02:00
2a8ee0772b ui: Inhibit the soft keyboard when the emoji picker is open 2022-08-20 16:08:58 +02:00
d710acc2ab ui: Move the cursor when tapping on an emoji 2022-08-20 15:06:35 +02:00
726f2ae13a ui: Print messages with only emojis in them bigger 2022-08-20 11:37:28 +02:00
42ea5f1c55 ui: Add a stubbed emoji picker 2022-08-17 23:29:07 +02:00
4a5eca49bd ui: Make ProcessWidget indeterminate by default 2022-08-17 20:20:11 +02:00
c4fb69b428 ui: Increase contrast with the cancel buttons 2022-08-17 20:15:56 +02:00
dae5933e1d ui: Fix light theme (closes #73) 2022-08-17 18:20:21 +02:00
9798609b65 ui: Fix the listview throwing away messages too early 2022-08-14 15:30:23 +02:00
1886bf7ecc ui: Remove the ThumbnailService for images 2022-08-14 13:25:17 +02:00
4c8ee4f0c7 ui: Make the backdrop transparency consistent 2022-08-14 12:38:53 +02:00
cc77135959 ui: Give the progress indicator a backdrop 2022-08-14 12:35:31 +02:00
e9123c9302 ui: Make image and video use the generic file widget
Closes #63.
2022-08-14 12:34:51 +02:00
f01081e44e ui: Make files look like images 2022-08-13 13:11:26 +02:00
9d5577cdc5 service: Add an error attribute to each message 2022-08-11 19:10:25 +02:00
9e5a368fd4 ui: Fix not calculating the correct datebuble string 2022-07-31 11:23:59 +02:00
9038523d15 ui: Fix swiping date bubbles 2022-07-31 11:05:39 +02:00
4427629841 style: Fix linter warnings 2022-07-30 22:12:33 +02:00
4ecaa3a814 ui: Remove the date bubble's shadow 2022-07-30 21:37:02 +02:00
2b65096a08 ui: Add date bubbles 2022-07-30 21:35:10 +02:00
7d27c4a7d6 ui: Fix textfields on the login page 2022-07-30 17:24:50 +02:00
2797d71e87 ui: Disable the shadow around the textfield by default 2022-07-29 22:30:16 +02:00
6fb08831d8 ui: Fix the message bar not being visible without a background image 2022-07-29 13:11:44 +02:00
74c392e6c2 ui: Fix and improve CustomTextField 2022-07-26 14:05:56 +02:00
7fc5ccfd31 ui: Keep the chat background in the thumbnail cache 2022-07-26 14:04:17 +02:00
f0958aad7c ui: Render video thumbnails in the SendFiles page 2022-07-26 13:55:40 +02:00
58c5655457 ui: Fix SendFile's previews not being square 2022-07-26 13:55:40 +02:00
9d407088b9 ui: Allow removing items from the sharing menu 2022-07-26 13:55:40 +02:00
4fbf7e32c3 ui: Add a send files page 2022-07-26 13:55:40 +02:00
6262151532 ui: Migrate SharedImage to ImageThumbnailWidget 2022-07-26 13:55:40 +02:00
1eb1dcbaa3 ui: Refactor the video widget 2022-07-26 13:55:40 +02:00
35e505a0cd ui: Make the image use the ThumbnailCache again 2022-07-26 13:55:40 +02:00
a1ad479c7c ui: Refactor the image widget 2022-07-26 13:55:40 +02:00
159d6a7937 ui: DownloadProgress -> ProgressWidget 2022-07-26 13:55:40 +02:00
634f68a745 meta: Fix linter warnings 2022-07-26 13:55:40 +02:00
c8c61486f3 meta: Generalise the download progress to facilitate upload progress 2022-07-26 13:55:40 +02:00
4ef79e99a8 ui: Small consistency fixes 2022-07-24 19:46:58 +02:00
6ae8102fae meta: Fix style issues 2022-07-23 15:27:11 +02:00
25221cba1b ui(wip): Migrate to flutter_blurhash 2022-07-22 20:38:06 +02:00
8aa9c837be ui: Use Logger inside BlurhashChatWidget 2022-07-17 22:05:51 +02:00
d01b46934f style: Add trailing commas 2022-07-17 22:02:20 +02:00
3f480574d9 style: Migrate lib/ui/ to very_good_analysis 2022-07-17 19:24:18 +02:00
689e115559 meta: Use moxplatform for platform-specific tasks 2022-04-28 21:43:01 +02:00
68f7b003fc style: Fix linter warnings 2022-04-15 23:40:44 +02:00
8654c649b2 ui: Improve the avatar cropping implementation 2022-04-14 21:08:41 +02:00
59435d8a50 ui: Add a list of all shared media 2022-04-14 15:31:54 +02:00
048c187459 ui: Implement simple hero animation between profile pictures 2022-04-14 11:57:10 +02:00
17f63de7fc ui: Use [ThumbnailCacheService] for more 2022-04-13 20:37:52 +02:00
59ce43f2d4 style: Remove imports 2022-04-13 19:20:12 +02:00
3676973dbe ui: Make [VideoChatWidget] stateless 2022-04-13 19:20:01 +02:00
da22d5a3d2 ui: Make [SharedVideoWidget] also use the [ThumbnailService] 2022-04-13 19:17:08 +02:00
2f263e1ade ui: Generate video thumbnails in a different Isolate
Also, lock the pre-start command until the services are all
initialized.
2022-04-13 15:38:05 +02:00
fcfb39618e ui: Fix sizing of alt icons in [AvatarWrapper] 2022-04-12 22:53:36 +02:00
9d935854d1 ui: Make the sizing of the alt text in the [AvatarWrapper] consistent 2022-04-12 19:00:16 +02:00
de11642746 ui: Improve [ConversationsListRow] 2022-04-12 18:42:07 +02:00
8556f61012 style: Fix a lot of linter warnings 2022-04-10 22:57:04 +02:00
3daa290d64 ui: Fix background images not appearing 2022-04-10 18:42:10 +02:00
cae8acfc71 ui: Show the typing indicator also in the conversations list 2022-04-10 16:52:28 +02:00
ae545ce26d ui: Implement a basic chat state indicator 2022-04-10 12:30:20 +02:00
9d9a488b48 ui: Refactor [BorderlessTopbar] a bit 2022-04-10 11:47:09 +02:00
f3525f8e39 ui: Add TODO 2022-04-06 21:24:09 +02:00
4c4a84e737 ui: Fix the order of shared media 2022-04-06 21:21:50 +02:00
08ccc7246e ui: Request our own avatar in case it differs from the local value 2022-04-06 17:55:23 +02:00
5cce8ee923 ui: Fix removed import 2022-04-03 14:05:20 +02:00
63c8b78ad5 ui: Fix weird padding when displaying a quoted message 2022-04-03 13:54:25 +02:00
05a5d265f1 ui: Prevent too large a right padding if the quote is inside a message 2022-04-03 13:49:56 +02:00
c1a30976a9 ui: Add a video shared media widget 2022-04-03 13:43:40 +02:00
3e91c30b45 ui: Make images and files appear in the shared media list 2022-04-03 13:31:07 +02:00
3ce67cd1bc service: Track received files with their mime type 2022-04-03 13:11:32 +02:00
2cc6dfba1b ui: Factor-out the gradient 2022-04-02 14:52:49 +02:00
4022f958c0 ui: Implement a quote widget for files 2022-04-02 13:42:09 +02:00
8386caaab1 ui: Handle video quotes 2022-04-01 23:12:26 +02:00
9d6f67cb9c ui: Display image quotes 2022-04-01 22:37:39 +02:00
19e7bf4faa ui: Let [MessageBubbleBottom] handle the timer 2022-04-01 13:54:11 +02:00
c79216c9fd ui: Guard [VideoChatWidget] against null when generating the thumbnail 2022-04-01 13:43:54 +02:00
69f8f1b365 ui: Add a basic implementation of the video inline widget 2022-04-01 13:37:38 +02:00
b4411ab4fb ui: Remove another debug statement 2022-03-31 14:56:11 +02:00
f5f0251431 ui: Use the base image widget 2022-03-31 14:49:43 +02:00
134a537a3a ui: Remove debug statement 2022-03-31 14:48:56 +02:00
7274fe1e74 ui: "Finish" the ImageChatWidget 2022-03-31 12:25:44 +02:00