* android, desktop: throttle items moving around in chat list too often
* test
* Revert "test"
This reverts commit 82db198ed9.
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
* android: reachable toolbar card on start
* same padding for all elements
* show alert with instruction when dismissed
* reset tip, fix for variable font size
* layout, rename
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
* ios: fix chat list bottom bar background appearance
* push up bottom bar, when no home indicator is present; tapable chats
* smaller toolbar
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
* fix bottom toolbar in share one hand ui
* rename one hand ui label to reachable chat toolbar
* one hand ui to be android default
* dumb if remove
* make one hand ui always false when outside android
* override set of one hand ui for imports on desktop
* no need to override current
* always default one hand to true
* one hand ui without using mirrors
* remove unused vars
* added space on multiplication
* clean subscription to prop and param spread
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
* use UnreadCollector for new messages
* less confusing
* collect removed items to reduce unread counts
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
* 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>
* android: smaller new chat button in 1-hand UI mode, line on the correct side of the bar (wrong color in 1-hand UI mode)
* remove comment
* desktop: open new chat information buttons on start modal
* remove no longer applicable comment
* desktop, android: move to chat when accepting from chat list and snsReady
* android: keep search visible if keyboard is open on new chat sheet
* android: keep search visibile if keyboard is open on chat list
* android: scroll modal header on new chat sheet
* android: added divider between search and toolbar in one hand ui
* make one hand ui toolbar more extensible by using scafold
* android: remove tiny paddings around one hand ui toolbars
* android: hide toolbar when searching on one hand ui
* avoid passing one hand ui as param everywhere
* make paddings match in new chat sheet action buttons
* flip animation
* refactor and divider fix
* fix padding
* bigger padding
* appPrefs
---------
Co-authored-by: Diogo Cunha <diogofncunha@gmail.com>
Co-authored-by: Avently <7953703+avently@users.noreply.github.com>
* android: status bar and navigation bar colors from theme
* padding
* background on desktop
* useless code
* colors
* removed unused param
* one more place
* core: fix archive export when some filename is not compatible with zip
* update
* core, ios
* update kotlin apis, ios: add alert to migrate from device
* ios: add throttling for incoming messages
* cleanup
* throttle, update unread
* dont pop the first chat
* move chats every 3 seconds
* fix
* optimize
* better updateChats
* remove file
* diff
* restore special case for the current chat
* ios: simpler item throttler
* minor
* minor
* refactor
* sort by key
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
* android, desktop: added action buttons and delete to contact card, added toolbar
* android, desktop: added setting for one hand ui
* android: implemented one hand ui for chat list screen (#4448)
* android: implemented one hand ui for chat list screen
* android, desktop: remove extra toolbar
* android: fixed user picker positioning
* android, desktop: new chat sheet (#4479)
* (early draft) android, desktop: new chat sheet
* first draft
* android, desktop: new chat UI improvements
* android, desktop: removed group connections
not needed, missunderstanding in requirements
* android, desktop: deleted contacts and requests
* android, desktop: showing only actionable contacts
* android, desktop: made full new chat sheet scrollable
* android, desktop: handled empty lists
* refactor: fixed fn access scopes
* android, desktop: made sure contacts list refreshes on changes
* android: removed one hand ui for new chat sheet
* android, desktop: removed no longer used code
* android: moved new chat button to toolbar for one hand ui
* removed unused imports
* android, desktop: remove favorite contact set functionality from new chat sheet
* android, desktop: improved chat redirect
* android, desktop: removed padding from contact rows
* android, desktop: improved paddings
* android, desktop: started to use accent color for contact cards and requests
* android, desktop: fixed modals and improved contact stage tracking
* android, desktop: made deleted contacts contactable
* android, desktop: allowed for simplex links to be pasted in new chat sheet
* android, desktop: added interaction for contact cards
* close modal
* android, desktop: started to hide cards from chat list
* android, desktop: translations cleanup
* android, desktop: started to mark deleted chat as non deleted when open from new chat sheet
* android, desktop: fixed link pastes for existing connections
* android, desktop: redirect to groups when group links are pasted in new chat sheet
* move one hand ui toggle
* refactor
* on contact card interaction only close new chat sheet on connect
* android, desktop: removed usages of connection stage enum
* android, desktop: stopped preloading active chats on new chat sheet
* android: fixed invitation cleanup
* desktop: fixed invitation cleanup
* desktop: improved consistency on modals to close
* desktop: added small delay to focus re-position logic to avoid focus change cancelling click events
* android, desktop: made add contact learn more smaller to avoid header becoming bigger than expected
* android, desktop: redirect to chat on accept if send is ready
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
* android, desktop: hide new chat sheet action buttons when search text is not empty instead of when search is focused (#4529)
* android, desktop: contacts, groups and group member action buttons (#4523)
* android, desktop: made action buttons round
* android, desktop: updated action buttons for contacts
* android, desktop: added action buttons for groups
* android, desktop: removed context menu items
* android, desktop: cleaned up visuals and paddings for contact and group card action buttons
* android, desktop: improved modal close logic
* android, desktop: improved search
* adjust color, fix paddings
* android, desktop: avoided async calls to open chats and simplified search as result
* android, desktop: moved mute button to the end on group view to match chat view
* android, desktop: made filling of icons consistent
* android, desktop: fixed contacts sheet close and dismiss actions on contact connection
* order
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
* android, desktop: streamlined delete actions based on contact type (#4538)
* android, desktop: streamlined delete actions based on contact type
* removed unused translations
* refactor, adjust texts
* move toggle closer to buttons
* fix text
* fix accept request
* android, desktop: made sure deleted contacts update on deletes
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
* restore deleted file
* desktop: stop closing modal on message search
* android, desktop: remove scroll preservation on new chat sheet unmount
* android, desktop: add functionality to search inside deleted conversation on main new chat sheet screen
* android, desktop: fixed attachment bug when clicking contact with keyboard open inside new chat sheet
* desktop, android: set incognito contacts color to Indigo in contact list
* remove unused code
* remove openedFromChatView
* android, desktop: change icon for contact requests and added icon for contact cards
* refactor
* fix paddings
* fix padding
* refactor
* android, desktop: fix attachment issue for deleted contacts
* remove unused
* android: invert new chat sheet on one hand ui
* info buttons alerts
* info buttons paddings
* android: one hand ui for new chat sheet and deleted chats
* fix build after latest master changes on chat model and mutations in chat
* android,desktop: add menu items back
* add scrollbars to new chat sheet
* desktop: inactivate and rephrase scan since it is not supported
* android: one hand ui for forward chat list
* android, desktop: fix for no chats in one hand ui
* desktop: use left side of screen for new chat actions
* desktop: close end modal when new chat sheet is clicked
* android: fix no filtered contacts on delete contacts view
* fix scrollbar not showing
* android: few adjustmnets in one hand ui
* change icon
* increase icon size
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
Co-authored-by: Avently <7953703+avently@users.noreply.github.com>
* moving to mutablestate + snapshotstatelist from snapshotstatelist
* android, desktop: refactoring to use mutex when updating chats
* wrapped into class instead of object
* fix
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>