Commit graph

34 commits

Author SHA1 Message Date
Morgan Pretty
22e5352983 Swapped a number of areas to use the built-in tintColor instead of the custom asTintedImage 2022-03-15 16:35:38 +11:00
Ryan Zhao
eb4c90b0d4 fix global search results cell UI for groups without member 2022-03-10 10:41:21 +11:00
Ryan Zhao
7e92391740 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2022-03-01 10:30:51 +11:00
Morgan Pretty
e6b941ea8a Fixed a number of tweaks and bugs with message requests
Removed the "Back" text from the back buttons
Removed the inset on the 'Path' settings button so the text remains horizontally centered
Hid the settings button from message request threads
Fixed an issue where the back button would remain visible in a conversation when the search field was visible
Fixed an issue where the tintColor of the conversation search field didn't match the global search field
Fixed an issue where sending an attachment response to a message request wouldn't approve the message request
Updated the size and positioning of the message request 'Clear All' button to match the DM 'Next' button
Updated the message request 'Clear All' button to start visible (so it's visible during the push animation) since that's the most likely state it'll be in
Updated the 'Message Requests' cell to use the pinned background colour
Updated the fallback for contact thread names to be a middle-truncated string (4 characters either side)
2022-02-28 17:23:34 +11:00
Ryan Zhao
f22672ccd7 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2022-02-25 14:58:20 +11:00
ryanzhao
d27faf551b reduce unnecessary database read 2022-02-23 15:49:19 +11:00
Morgan Pretty
cd61fb8df0 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SignalUtilitiesKit/Utilities/UIColor+Extensions.swift
2022-02-04 11:49:54 +11:00
Morgan Pretty
9db5083cc5 Built out the Message Request functionality
Added the MessageRequestsViewController
Added a 'Message Requests' button to the settings screen
Added accept/reject buttons for message requests to the ConversationVC
Added the ability to hide the message request item on the HomeVC (re-appears if you get a new message request)
Added code to handle an edge-case where the message request approval state wouldn't be returned to the sender due to the recipient running an old version of the app
Prevented contacts which aren't associated with an approved thread from appearing when creating a closed group
Disabled notifications for threads which aren't approved
Updated the app notification count to exclude unapproved messages
Updated the app to ignore closed group creation messages if the group has no admins which are approved contacts
Fixed up the keyboard avoidance behaviour in the ConversationVC
Fixed a couple of minor interaction issues which affected some devices
Fixed an issue where the database migrations would run on the 2nd launch when creating a new account (causing odd behaviours)
2022-02-02 16:59:56 +11:00
Ryan Zhao
ebb7507728 Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 2022-02-02 13:33:25 +11:00
Ryan Zhao
c81e0e517d fix ui issue after making unread message count 4 digits 2022-01-28 15:03:19 +11:00
Ryan Zhao
99022006da Make the unread message count 4 digits instead of 2 2022-01-28 14:21:54 +11:00
Ryan Zhao
124d908686 add author for group messages 2022-01-27 16:39:22 +11:00
Ryan Zhao
e4b0ca9ebc fix not to self 2022-01-27 15:29:10 +11:00
Ryan Zhao
85c4b3d745 show recent search result as default for global search screen 2022-01-27 14:19:07 +11:00
Ryan Zhao
42903d835d search for name and nickname 2022-01-20 16:21:32 +11:00
Ryan Zhao
8be5768ad2 snippet for group members 2022-01-20 15:33:31 +11:00
Ryan Zhao
675dde9b1e improve unhighlighted text colour and contrast 2022-01-19 11:25:20 +11:00
Ryan Zhao
af7dd3e82f highlight Note to Self 2022-01-19 10:59:49 +11:00
Ryan Zhao
5c112064da UI improvements on contact search results 2022-01-19 10:54:00 +11:00
ryanzhao
10abbb0552 search result view UI 2022-01-17 16:56:51 +11:00
Ryan Zhao
7e5573c96f fix cell updating and pin icon color 2021-11-30 13:52:31 +11:00
Ryan Zhao
1cc2f17469 pin conversations 2021-11-17 15:51:53 +11:00
ryanzhao
fc4fcae991 only show mention indicator for group chats 2021-09-20 10:02:59 +10:00
ryanzhao
42d4e07724 add @ symbol when there is mention in unread messages 2021-08-30 13:22:40 +10:00
Niels Andriesse
dff9f287b8 Resolve FIXME 2021-08-03 09:37:48 +10:00
Niels Andriesse
483ed4792f Fix localization & clean 2021-07-29 10:14:06 +10:00
ryanzhao
b5d1ccdbc3 add only notify mentions icon in home screen cells 2021-07-26 15:43:33 +10:00
Niels Andriesse
28ea914097 Show date break header by hour instead of by day
Also ditch relative timestamps in favor of absolute ones
2021-07-08 14:30:54 +10:00
nielsandriesse
49f3b9f7db Rename contactIdentifier → contactSessionID 2021-05-05 10:00:39 +10:00
Niels Andriesse
dfb2369ab8 Show unread count on scroll to bottom button 2021-03-02 11:46:29 +11:00
Niels Andriesse
c3f70a641a Show unread counts 2021-03-01 14:04:54 +11:00
Niels Andriesse
dd0baf0d97 Unify contacts APIs 2021-03-01 09:36:18 +11:00
Niels Andriesse
90e53e5cef Redesign conversation screen part 1 2021-02-09 15:14:18 +11:00
nielsandriesse
a915c5ddaa Re-organize files 2021-01-12 11:05:52 +11:00
Renamed from Session/Components/ConversationCell.swift (Browse further)