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
2d5bbcdd61
ios: fix merged item order ( #4682 )
2024-08-14 07:59:58 +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
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
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
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
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
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
Arturs Krumins
63393eaf0b
ios: make theme wallpaper visible on iOS15, further improve scrolling ( #4408 )
2024-07-05 13:34:03 +01:00
Arturs Krumins
5d7abf31ce
ios: make message corners rounded when selecting context menus ( #4401 )
...
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-07-04 18:37:03 +01:00
Evgeny Poberezkin
f5eea018d9
ios: chat themes and wallpapers ( #4376 )
...
* ios: wallpapers (#4304 )
* ios: wallpapers
* theme selection
* applied theme colors and preset wallpaper
* more places with background
* one more
* accent color
* defaults
* rename
* background
* no change to cell color
* unneeded
* changes
* no global tint
* defaults
* removed unneeded class
* for merging
* ios: wallpapers types (#4325 )
* types and api
* divided types per target
* creating directory for wallpapers
* creating wallpaper dir at launch
* ios: wallpapers appearance (#4335 )
* appearance
* changes
* refactor
* scale
* lambda to function
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* ios: wallpapers user/chat overrides (#4345 )
* ios: wallpapers user/chat overrides
* chat overrides
* color picker updates colors correctly
* fix state update
* labels
* background for light theme
* small optimization
* removed commented code
* ios: enhancements to wallpapers (#4361 )
* ios: enhancements to wallpapers
* colors for background
* ios: wallpapers import/export (#4362 )
* ios: wallpapers import/export
* comment
* ios: wallpapers theme updates (#4365 )
* ios: wallpapers theme updates
* group member background
* colors
* profile picture colors
* unneeded
* optimizations, images, state fixes
* fixes
* no editing of title color
* rename Menus and alerts, refactor
* tint applying fix
* fixes
* migration of accent and themes
* fix updating system theme
* migration changes
* limiting color range
* ios: wallpapers rename enum (#4384 )
* ios: wallpapers rename enum2 (#4385 )
* ios: wallpapers rename enum2
* change
* colors were commented
* fix build and look
---------
Co-authored-by: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com >
2024-07-03 22:42:13 +01:00
Evgeny Poberezkin
2585f4ecfd
ios: ChatView performance improvements ( #4353 )
...
* feat: Add synthesized hashable conformance to chat and API types (#4348 )
* UIKit ReverseList
* ReverseList - manual layout updates for external state
* Propagate ScrollModel; Disable async media width
* Filter chat items
* Remove UIKit menu wrapper
* Make chat item width calculation synchronous (#4371 )
* Fix floating button regression
* Improve filter performance
* Fix page load the merged items exceed full page
* Resolve iOS15 compabibility
* Restore build config
* Add page-up scroll; Fix same item decrementing unread counter multiple times
* Fix: Chat not loading additional pages, if newest items are all merged and exceed page size
* Minor
* Fix item loading regression
* Fix item loading regression 2
* Fix unread regression
* refactor
---------
Co-authored-by: Arturs Krumins <auth@levitatingpineapple.com >
Co-authored-by: Levitating Pineapple <noreply@levitatingpineapple.com >
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-07-03 10:24:26 +01:00
Stanislav Dmitrenko
c52e5349db
ios: more sheets will become hidden while protect screen on ( #4259 )
...
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-05-31 22:47:57 +01:00
spaced4ndy
15a226cfd1
ui: limit length of member names in chat view ( #4122 )
2024-05-03 12:34:15 +01:00
spaced4ndy
6a8a8f242a
ui: allow to delete any items ( #4082 )
...
* ios: allow to delete any items
* android
* remove button android
* remove button ios
2024-04-25 10:20:52 +01:00
Evgeny Poberezkin
cfa7e0bb28
ios: customizable profile images ( #4084 )
...
* ios: customizable profile images
* update slider
* whats new
2024-04-24 21:20:26 +01:00
spaced4ndy
1306c84938
ios: in item context menu don't show forward button if file doesn't exist, add download button ( #4048 )
2024-04-19 17:21:35 +01:00
Stanislav Dmitrenko
6484e36b82
ios: fix mute/unmute button state ( #4046 )
2024-04-19 17:20:31 +01:00
spaced4ndy
77f5c678d5
ios: forward ui ( #4024 )
...
* wip
* wip
* fixes
* improvements
* info
* fix
* dont cleanup file
* info design, text
* text
* rework with LazyVStack
* delay
* refactor
* move delay
* fix
* refactor
* refactor 2
* keep current message
* forward with quote, context icons
* info
* preserve draft
* remove newline
* improve search
* info
* layout
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-04-16 09:28:39 +01:00
spaced4ndy
e10c63dc64
ui: deletable field ( #4019 )
2024-04-12 13:10:47 +04:00
spaced4ndy
29941729d2
ui: forwarded item header ( #4017 )
2024-04-12 12:56:09 +04:00
Stanislav Dmitrenko
c234809894
ios: improvement of chat item context menu ( #3981 )
...
* ios: improvement of chat item context menu
* rename
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-04-02 17:00:24 +01:00
Evgeny Poberezkin
1410b4bd85
ios: prevent call to apiContactInfo after the app is suspended
2024-03-29 19:43:16 +00:00
spaced4ndy
d27502ec47
ios: restore reveal/hide animation ( #3933 )
...
* ios: restore reveal/hide animation
* remove comment
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-03-21 19:12:47 +00:00
Stanislav Dmitrenko
6d54c21774
ios: chatitem height with menu workaround ( #3930 )
...
* ios: chatitem height with menu workaround
* turned on animation
* disabled animation in some places again
2024-03-20 17:49:53 +00:00
Stanislav Dmitrenko
5fde879fea
ios: better layout performance for chat item ( #3911 )
...
* ios: better layout performance for chat item
* different way of disabling menu
* two fixes
---------
Co-authored-by: Avently <avently@local>
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-03-19 14:40:46 +00:00
Stanislav Dmitrenko
edc5a4c31b
ios: Picture-in-picture while in calls ( #3792 )
...
* ios: Picture-in-picture while in calls
* simplify
* improvements
* back button and lots of small issues
* layout
* padding
* back button
* animation, padding, fullscreen
* end active call button
* removed unused code
* unused line
* transition
* better
* better
* deinit PiP controller
* stop camera after call end
* formatting
* stop capture if active
---------
Co-authored-by: Avently <avently@local>
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-02-13 15:04:42 +00:00
Stanislav Dmitrenko
430dc5bd2e
ui: don't show context menu on non-sent yet live message ( #3754 )
...
* android, desktop: don't show context menu on non-sent yet live message
* ios: don't show context menu on non-sent yet live message
---------
Co-authored-by: Avently <avently@local>
2024-01-25 17:48:40 +00:00
spaced4ndy
f1ff27218c
ui: align call buttons with calls preference ( #3740 )
2024-01-24 13:43:18 +04:00
Stanislav Dmitrenko
b5fe1f8364
ios: notes to self ( #3690 )
...
* ios: notes to self
* change
* icon
* changes
* no live message
* search
* alert
* better checks
* api change
* changes for review
* changes
* ios: align notes chat color with sent chat items frame color (#3704 )
* changes
---------
Co-authored-by: Avently <avently@local>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-01-18 19:57:14 +04:00
spaced4ndy
2bacc00a06
ios: rework UX of creating new connection ( #3482 )
...
* ios: connection UI (wip)
* custom search
* rework invite
* connect paste link ui
* scan rework, process errors, other fixes
* scan layout
* clear link on cancel
* improved search
* further improve search
* animation
* connect on paste in search
* layout
* layout
* layout
* layout, add conn
* delete unused invitation, create used invitation chat
* remove old views
* regular paste button
* new chat menu
* previews
* increase spacing
* animation, fix alerts
* swipe
* change text
* less sensitive gesture
* layout
* search cancel button transition
* slow down chat list animation (uses deprecated modifiers)
* icons
* update code scanner, layout
* manage camera permissions
* ask to delete unused invitation
* comment
* remove onDismiss
* don't filter chats on link in search, allow to paste text with link
* cleanup link after connection
* filter chat by link
* revert change
* show link descr
* disabled search
* underline
* filter own group
* simplify
* no animation
* add delay, move createInvitation
* update library
* possible fix for ios 15
* add explicit frame to qr code
* update library
* Revert "add explicit frame to qr code"
This reverts commit 95c7d31e47 .
* remove comment
* fix pasteboardHasURLs, disable paste button based on it
* align help texts with changed button names
Co-authored-by: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com >
* update library
* Revert "fix pasteboardHasURLs, disable paste button based on it"
This reverts commit 46f63572e9 .
* remove unused var
* restore disabled
* export localizations
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
Co-authored-by: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com >
2023-12-29 12:29:49 +00:00
Stanislav Dmitrenko
d474cae705
ios: saving and sharing items menu item ( #3581 )
...
* ios: saving and sharing items menu item
* refactor
---------
Co-authored-by: Avently <avently@local>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-12-23 23:15:31 +00:00
Stanislav Dmitrenko
8d891005d9
ui: disable expanding one item ( #3344 )
...
* ui: disable expanding one item
* better
* when
2023-11-10 16:09:01 +00:00
spaced4ndy
f49ded5ae5
ios: connect with contact via address (for preset simplex contact) ( #3323 )
...
* ios: connect with contact via address (for preset simplex contact)
* remove diff
* remove floating button
* refactor active
* open chat
* remove disabled
* fix incognito
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-11-10 10:16:06 +04:00
Evgeny Poberezkin
9e8084874f
ios: block members ( #3248 )
...
* ios: block members (WIP)
* CIBlocked, blocking api
* show item as blocked
* show blocked and merge multiple deleted items
* update block icons
* split sent and received deleted to two categories
* merge chat feature items, refactor CIMergedRange
* merge feature items, two profile images and names on merged items
* ensure range is withing chat items range
* merge group events
* fix/refactor
* make group member changes observable
* exclude some group events from merging
* fix states not updating and other fixes
* load list of members when tapping profile
* refactor
* fix incorrect merging of sent/received marked deleted
* fix incorrect expand/hide on single moderated items without content
* load members list when opening member via item
* comments
* fix member counting in case of name collision
2023-10-31 09:44:57 +00:00