Arturs Krumins
33895b0330
ios: show received messages using checkmark with slash ( #4816 )
...
* ios: show received messages using checkmark with slash
* update message info view
* cleanup
* remove dead arguments
* Revert "remove dead arguments"
This reverts commit 1fc07669c7 .
* remove status icon
* cleanup
* update assets
* tweak checkmark
* fix space, rename
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-09-03 07:59:40 +01:00
Arturs Krumins
23f54c1022
ios: fix crash regression ( #4800 )
2024-08-29 18:33:48 +01:00
Arturs Krumins
0b0b78293f
ios: fix inaccurate floating unread counters in chat message view ( #4781 )
...
* ios: fix inaccurate floating unread counters in chat message view
* account for inset; remove old on appear/disappear blocks
* revert id
* first visible
* remove UnreadChatItemCounts
* cleanup
* revert duplicates
* add todo
* throttle first
* cleanup
* lines
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-08-29 17:25:08 +01:00
Evgeny
700918f0ca
ios: show member role on the right ( #4783 )
...
* ios: show member role on the right
* member layout
---------
Co-authored-by: Levitating Pineapple <noreply@levitatingpineapple.com >
2024-08-28 20:55:54 +01:00
Evgeny Poberezkin
94c552ca12
Merge branch 'stable'
2024-08-28 18:04:50 +01:00
Stanislav Dmitrenko
acb372a4ce
core: call uuid ( #4777 )
...
* core: call uuid
* fix
* text
* android, desktop
* ios
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-08-28 15:31:02 +01:00
Evgeny
8cc075eda8
ios: show correct message times ( #4779 )
2024-08-27 22:13:20 +01:00
Arturs Krumins
043a4ed915
ios: add chat message tail and roundness settings; date separators ( #4764 )
...
* ios: add chat message tail and roundness settings
* cleanup
* minor
* rename
* date separator
* revert max roundness to pills
* increase default roundness to 1
* minor
* out of bounds tails, style date separator
* formatting
* hardcode tail growth
* revert
* different shape (WIP)
* tail
* rename
* square
* only show tail for the last message
* remove func
* capture less
* variable tail height
* export localizations
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-08-27 14:30:07 +01:00
Arturs Krumins
0477b1aad3
ios: time based message grouping ( #4743 )
...
* ios: time based message grouping
* cleanup
* hide timestamp
* fix chat item not getting updated
* round to minute
* separate by minute
* chat dir
* time separation struct
* add date logic
* cleanup
* fix groups
* simplify timestamp logic; remove shape
* cleanup
* cleanup
* refactor, add type
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-08-25 19:21:24 +01:00
Evgeny Poberezkin
4574198990
Merge branch 'stable'
2024-08-24 19:14:28 +01:00
Evgeny
4d18174b11
ui: fix Debug delivery ( #4757 )
2024-08-24 19:10:30 +01:00
spaced4ndy
f587179045
ios: multi send & forward api ( #4739 )
2024-08-22 21:38:22 +04:00
Arturs Krumins
fd9c080103
ios: fix last message being hidden on load ( #4733 )
2024-08-21 17:04:12 +01:00
Stanislav Dmitrenko
5f0ccb9f17
ios: fix interface color without callKit ( #4727 )
...
* ios: fix interface color without callKit
* call area
* better hiding sheet when making a call without CallKit
* invert condition
2024-08-20 17:04:00 +01:00
Arturs Krumins
b0e0b0beb8
remove text slection context menu from chat item ( #4699 )
2024-08-15 20:08:51 +01:00
Arturs Krumins
c823a4fa6c
extend chat view material behind keyboard ( #4698 )
...
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-08-15 18:43:30 +01:00
Arturs Krumins
f6ef57534f
ios: add text to share extension link preview ( #4683 )
...
* ios: add text to share extension link preview
* remove maxHeight contraint
2024-08-14 19:29:13 +01:00
Arturs Krumins
2d5bbcdd61
ios: fix merged item order ( #4682 )
2024-08-14 07:59:58 +01:00
Arturs Krumins
c3f67aff69
ios: speed up network status handling ( #4678 )
...
* move network status into a separate model
* reduce network model observation scope (#4679 )
* dont pass chat
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-08-13 21:08:04 +01:00
Arturs Krumins
7cb3a499b2
ios: optimise chat switching ( #4663 )
...
* ios: shooth chat switching
* debug button
* navigation timeout
* fix scroll crash
* fix merge
* whitespace
* wip
* add spinner; extract load and nav logic
* cleanup
* direct chat button
* cleanup
* showLoadingProgress
* reverse rename
* rename
* spinner layout
* move all programmatic navigation to `openLoadChat`
* remove access restriction
* fix scroll on item added regression
* print
* fix page load regression
* fix member sheet disappearing
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-08-13 19:37:48 +01:00
Stanislav Dmitrenko
1f8c69ec23
ios: fix applying chat theme ( #4656 )
2024-08-11 13:11:11 +01:00
Arturs Krumins
35c37263b8
ios: fix group replaced in the list of chats with direct chat ( #4655 )
...
* add viewbuilder
* fix
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-08-11 12:06:25 +01:00
Arturs Krumins
9b70599cc5
ios: scroll chat list to bottom, when items are added ( #4651 )
...
* scroll chat list to bottom
* simpler
* is really near bottom
* reduce thresholds
* comment
* itemAdded
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-08-11 10:07:45 +01:00
Evgeny
a4a11f99d2
ios: fix switching to another chat prevents marking items as unread ( #4652 )
2024-08-11 07:18:01 +01:00
Arturs Krumins
f922064f5c
iOS: fix chat list temporarily navigating to an empty view ( #4647 )
...
* add two way binding for chatList navigation
* style
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-08-10 22:23:56 +01:00
Evgeny Poberezkin
3778698a6e
ios: set default toolbar opacity to regular, show dropdown
2024-08-09 17:26:57 +01:00
Arturs Krumins
cf7a16e857
ios: translucent bars in chat view ( #4641 )
...
* extend reverse list; disable clipping
* wallpaper - ignore safe area
* minor
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-08-09 17:23:57 +01:00
Evgeny
bef1597fa1
ui: fix when moderation for multiple items is enabled ( #4642 )
...
* ios: fix when moderation for multiple items is enabled
* same on Android
* same
---------
Co-authored-by: Avently <7953703+avently@users.noreply.github.com >
2024-08-09 19:56:19 +04:00
Evgeny
e6545a1747
ui: whats new in v6.0, rename "Deleted chats" to "Archived contacts" ( #4599 )
...
* ios: whats new in v6.0
* android, rename Deleted chats to Archive contacts
2024-08-06 19:20:54 +01:00
Evgeny
a0763b3a43
ios: same size of action buttons in chat info sheets ( #4587 )
2024-08-06 08:12:42 +01:00
spaced4ndy
a8bdf1555f
ios: new chat sheet & info views action buttons improvements ( #4582 )
2024-08-05 21:22:09 +04:00
Diogo
55331289d3
ios: improve new and existing chat interactions - new chat sheet, one hand ui, info views action buttons; new modes of contact deletion (keep conversation, only delete conversation) ( #4427 )
...
* ios: added delete contacts, one hand ui, and contact action buttons
* remove unused, rework info buttons wip
* ios: moved existing buttons to new chat sheet
* ios: add basic list of contacts to new chat sheet
* ios: add deleted chats section to new chat sheet
* group chat info navigation
* fix spacing of group info buttons
* remove comment
* unify spacing logic across info views
* info button alerts wip
* calls alerts wip
* call buttons alerts
* fix call button to correctly update on preference change while in view
* refactor
* fix alert ids
* contact list wip
* more contact list actions
* open chat wip
* fix contact list elements clickability
* ios: search functionality on new chat sheet
* ios: white bg for search box on new chat sheet
* ios: don't show empty list when pasted contact is not known
* ios: add search and nav title to deleted chats
* navigation links wip
* fix refreshable
* ios: empty states for lists
* ios: hide contact cards from chat list
* ios: make search bar icon sizes consistent
* ios: fix deleted conversation dissapearing from chat list on back
* fix pending invitation cleanup in chat sheet
* rename search label from open to search
* make cleanup alert work on sheet and on dismiss
* dismiss all sheets after creation of groups
* fix double toolbar on group invite members
* fix double toolbar on group link invitation screen
* dismiss all on group creation error
* comment
* show alert in dismissAllSheets completion
* fix sheet dismissal on known group
* rework contact list with buttons (fixes dark mode)
* fix dark mode on new chat view
* fix search dark mode
* increase search padding
* improve new chat title and info button placing
* info view background
* improve create group title placement
* refactor
* fix delete dialogue in light mode
* change icon
* archivebox on contact list
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-08-05 15:58:24 +04:00
Evgeny
7a418918d6
ios: blur images of blocked group members ( #4573 )
...
* ios: blur images of blocked group members
* refactor
2024-08-04 22:24:08 +01:00
Evgeny
bf697c722a
ios: update messages in share extension alert when message sending is slow ( #4578 )
2024-08-04 20:48:54 +01:00
Arturs Krumins
cbc86cd81e
ios: disable chats in share-sheet based on preferences ( #4549 )
...
* claenup
* cleanup
* remove groupFeatureEnabled from Chat
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-08-01 07:48:17 +01:00
Stanislav Dmitrenko
6e6afdbd25
ios: multiple messages deletion ( #4535 )
...
* ios: multiple messages deletion
* changes
* layout
* fix
* changes in design and UX
* fixes
* padding
* paddings
* refactor
* changes
* gray circles, separator, optimize
* titles
* disable moderation for own single message
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-07-31 15:00:14 +01:00
Stanislav Dmitrenko
e1fb0ac0b1
ui: delete multiple messages ( #4532 )
...
* ui: delete multiple messages
* ios
* simplify, rename
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-07-30 23:56:56 +01:00
Evgeny Poberezkin
2ff4619ca4
ios: improve chat list layout ( #4537 )
2024-07-29 22:11:02 +01:00
Arturs Krumins
7f08f87ee4
ios: improve conversation scrolling (fixes hangs when messages are updated). ( #4534 )
...
* ios: fix hang while updating chat item state
* throttle item update
* fix
* remove buttons, switch back to Debug
* remove items getter/setter from ChatModel
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-07-29 21:17:14 +01:00
Evgeny Poberezkin
ce1b66cef2
ios: optimize marking messages read ( #4530 )
...
* ios: optimize marking messages read
* remove view ifs
2024-07-29 09:49:43 +01:00
Evgeny Poberezkin
41b4d7851a
ios: improve chat list layout ( #4528 )
2024-07-28 21:53:21 +01:00
Evgeny Poberezkin
6865515f43
ios: share extension ( #4466 )
...
* ios: share extension (#4414 )
* ios: add share extension target
* ios: Add UI
* ios: send file from share-sheet
* image utils
* ShareError
* error handling; ui-cleanup
* progress bar; completion for direct chat
* cleanup
* cleanup
* ios: unify filter and sort between forward and share sheets
* ios: match share sheet styling with the main app
* ios: fix text input stroke width
* ios: align compose views
* more of the same...
* ShareAPI
* remove combine
* minor
* Better error descriptions
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: enable file sending workers in share extension (#4474 )
* ios: align compose background, row height and fallback images for share-sheet (#4467 )
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: coordinate database access between share extension, the app and notifications extension (#4472 )
* ios: database management proposal
* Add SEState
* Global event loop
* minor
* reset state
* use apiCreateItem for local chats
* simplify waiting for suspension
* loading bar
* Dismiss share sheet with error
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* send image message (#4481 )
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: improve share extension completion handling (#4486 )
* improve completion handling
* minor
* show only spinner for group send
* rework event loop, errorAlert
* group chat timeout loading bar
* state machine WIP
* event loop actor
* alert
* errors text
* default
* file error
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: add remaining share types; process attachment in background on launch (#4510 )
* add remaining share types; process attachment in background on launch
* cleanup diff
* revert `makeVideoQualityLower`
* reduce diff
* reduce diff
* iOS15 support
* process events when sharing link and text
* cleanup
* remove video file on failure
* cleanup CompletionHandler
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: share extension - additional alerts and media previews (#4521 )
* add remaining share types; process attachment in background on launch
* cleanup diff
* revert `makeVideoQualityLower`
* reduce diff
* reduce diff
* iOS15 support
* process events when sharing link and text
* cleanup
* remove video file on failure
* cleanup CompletionHandler
* media previews
* network timeout alert
* revert framework compiler optimisation flag
* suspend chat after sheet dismiss
* activate chat
* update
* fix search
* sendMessageColor, file preview, chat deselect, simplify error action
* cleanup
* interupt database closing when sheet is reopened quickly
* cleanup redundant alert check
* restore package
* refactor previews, remove link preview
* show link preview when becomes available
* comment
* dont fail on invalid image
* suspend
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: descriptive database errors (#4527 )
* ios: set share extension as inactive when suspending chat
---------
Co-authored-by: Arturs Krumins <auth@levitatingpineapple.com >
2024-07-28 17:54:58 +01:00
Stanislav Dmitrenko
a966f6b19d
ios: blur for media ( #4512 )
...
* ios: blur for media
* line
* one more place
* changes for video
* using notification center
* change
* unused code
* string
* simplify
* refactor ifs
* fix
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-07-26 08:38:22 +01:00
Stanislav Dmitrenko
6fca6c22c5
ios: interactive media and link previews in the list of chats ( #4487 )
...
* ios: interactive media and link previews in the list of chats
* commented out voice preview
* voice message support and various fixes
* changes to video
* changes
* playing voice in chat list with scrolling
* revert
This reverts commit 60f57403d1 .
* prevent feedback loop
* version of dependency
* voice
* fix param
* working voice
* reacting on messages and chat deletion
* fix two videos in a row
* video item layout
* fix
---------
Co-authored-by: Levitating Pineapple <noreply@levitatingpineapple.com >
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-07-23 18:11:42 +01:00
spaced4ndy
fa73e63a79
ios: allow sending messages immediately on joinConnection, acceptContact ( #4478 )
2024-07-19 11:31:43 +04:00
Evgeny Poberezkin
0847b725b3
ios: toolbar and message entry area background color ( #4449 )
...
* ios: toolbar and message entry area background color
* remove VStack, opacity
* ios: adjust compose view background color to match top bar (#4456 )
* search
* replace BlurView with .thinMaterial
* context item background with shadow
* search
* Revert "context item background with shadow"
This reverts commit fc4ad32417 .
* rework shadow
* shadow on both sides
* Revert "shadow on both sides"
This reverts commit a07920af91 .
* Revert "rework shadow"
This reverts commit 78728263fb .
* dividers
* remove paddings
* height
* search
* focus search
* color
* search background
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-07-15 13:14:14 +01:00
Evgeny Poberezkin
99888f9d5f
ios: show admin and owner roles in the conversation ( #4451 )
2024-07-15 08:35:37 +01:00
Arturs Krumins
859fa0bc22
ios: make image utilities accessible from extensions ( #4438 )
...
* ios: move image utils in to framework
* Rename UIImage convenience init
2024-07-11 13:56:55 +01:00
Arturs Krumins
41c4f13939
ios: optimise mark-as-read performance ( #4434 )
...
* ios: optimise mark-as-read rendering performance
* merge master
* minor
* make chat observable
* make model EnvironmentObject
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-07-11 08:57:56 +01:00
spaced4ndy
f41c04735b
ios: lookup group members via map ( #4431 )
2024-07-10 16:15:14 +04:00