Commit graph

300 commits

Author SHA1 Message Date
Gil Eluard
4c16754669 Composer Update - Typing and sending a message
- Updated input bar paddings according to design review
2021-03-18 07:06:59 +01:00
Gil Eluard
419f20b1a2 SR sizing is inconsistent with RR & Message states cosmetic changes 2021-03-17 20:09:44 +01:00
ismailgulek
a5e52c76f4
Introduce group call tiles 2021-03-17 19:39:41 +03:00
ismailgulek
c228f8859d
Refactor cell rendering, move most of the controls to the subclass, refactor user actions, add you started call state 2021-03-17 18:17:54 +03:00
ismailgulek
00d9dcd114
Move tile action button to common 2021-03-17 18:09:10 +03:00
ismailgulek
8531b6d9a6
Refactor buttons container view to include a stack view 2021-03-17 18:08:25 +03:00
ismailgulek
384032759d
Fix #4125 2021-03-17 00:49:07 +03:00
Gil Eluard
a31f6666f6 Composer Update - Typing and sending a message
- Updated typing animation after UI review
2021-03-15 15:57:36 +01:00
Gil Eluard
95b2e4c296 Composer Update - Typing and sending a message 2021-03-15 14:27:59 +01:00
ismailgulek
6076efb64c
Refactor bubble cell, introduce viewState and implement statusText 2021-03-12 04:05:10 +03:00
ismailgulek
fc00a14f03
Introduce HorizontalButtonsContainerView 2021-03-12 03:40:55 +03:00
ismailgulek
996629ce87
IntroduceCallTileActionButton 2021-03-12 03:40:44 +03:00
ismailgulek
22d1697f16
Layout fixes 2021-03-12 03:39:35 +03:00
ismailgulek
3fd33ba8ab
Layout fixes 2021-03-12 03:37:46 +03:00
ismailgulek
9fdb5c7fd2
Adapt new transitive properties 2021-03-12 02:26:51 +03:00
ismailgulek
40512fed8f
Create new labels for inner content view 2021-03-12 02:26:03 +03:00
Gil Eluard
877356138b Retrying & deleting failed messages
- Update after code review
2021-03-10 22:19:04 +01:00
Gil Eluard
1e67bad138 Retrying & deleting failed messages
- If users press on Retry, send again the message and display a loading wheel
- code and UI tweaks
2021-03-03 10:27:08 +01:00
Gil Eluard
bfccb32b22 merged element_4014 into element_4013 2021-03-02 22:06:24 +01:00
Gil Eluard
9a41f0d4b8 Retrying & deleting failed messages
- Display an exclamation mark (on a red background). In case of a multi-line message
- When a message with an error is selected, show a bottom bar with the 4 following actions: Retry - Delete - Edit - Copy
- If users press on Delete, a confirmation dialog is displayed
- When error messages occur, a general error message appears above the composer. Selecting Delete will delete all error messages. Pressing on Retry will attempt to resend error messages
- If users press on Delete, a confirmation dialog is displayed
- In room lists, decorate rooms with errored messages with the error icon. Rooms with errors should be sorted first
2021-03-02 21:56:50 +01:00
Gil Eluard
419efd886a Merge branch 'develop' into element_4014
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2021-02-25 15:49:53 +01:00
Gil Eluard
0a931cef6e Improve the status of send messages (sending, sent, received, failed)
- tweaks and new L&F for download progress
2021-02-25 11:07:21 +01:00
SBiOSoftWhare
a250f4db44 RoomCreationIntroCellContentView: Improve add topic case. 2021-02-23 15:46:20 +01:00
SBiOSoftWhare
e12db6b592 RoomCreationIntroCell: Remove unused method. 2021-02-23 08:48:17 +01:00
Gil Eluard
2f774022e2 Improve the status of send messages (sending, sent, received, failed)
- First implementation
2021-02-22 13:51:25 +01:00
SBiOSoftWhare
435063ad96 RoomAvatarView: Add view data. 2021-02-22 00:12:00 +01:00
SBiOSoftWhare
2a9103c9b5 Room creation intro: Create RoomCreationIntroCell. 2021-02-22 00:12:00 +01:00
SBiOSoftWhare
7d62f363b6 Room creation intro: Create cell content view. 2021-02-22 00:12:00 +01:00
SBiOSoftWhare
e134633cf4 Create room avatar view. 2021-02-22 00:12:00 +01:00
ismailgulek
b3d5ae0fa0 Get rid of redundant _theme 2021-02-10 00:35:34 +03:00
ismailgulek
8c2a043752 Do not show tile for incoming call 2021-01-21 13:52:14 +03:00
ismailgulek
58243aa7de Implement call cells, introduce allLinkedEvents on bubble cell data 2021-01-20 13:26:28 +03:00
Gil Eluard
49eea8f04a Show user id in the room invite preview screen 2020-12-21 16:31:02 +01:00
SBiOSoftWhare
0cda13233d RoomInputToolBar: Prevent placeholder to be display on two lines on small devices. 2020-11-05 11:14:42 +01:00
ismailgulek
ce8b7434e2 Remove expanded header from room screen 2020-09-18 14:11:45 +03:00
ismailgulek
bb74eab6e6
Update Riot/Modules/Room/Views/BubbleCells/RoomCreationWithPaginationCollapsedBubbleCell.m
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-09-15 16:36:09 +03:00
ismailgulek
91392c5a7c
Update Riot/Modules/Room/Views/BubbleCells/RoomCreationCollapsedBubbleCell.m
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-09-15 16:36:02 +03:00
ismailgulek
5b1b691b7d
Update Riot/Modules/Room/Views/BubbleCells/RoomCreationCollapsedBubbleCell.m
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-09-15 16:35:55 +03:00
ismailgulek
0a7ba6d213
Update Riot/Modules/Room/Views/BubbleCells/RoomCreationCollapsedBubbleCell.h
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-09-15 16:35:47 +03:00
ismailgulek
92972aa80a Fix multiline layout 2020-09-15 14:17:33 +03:00
ismailgulek
fed588090f New bubble cells for the timeline 2020-09-14 15:39:08 +03:00
SBiOSoftWhare
0274143ddf Remove code used before iOS 11. 2020-09-01 14:19:21 +02:00
ismailgulek
54172503d6 Update room input toolbar on theme change 2020-08-27 12:29:39 +03:00
manuroe
a151bf4a91 Code Quality: Make sonar happier
by removing some code smells
2020-08-25 18:54:47 +02:00
SBiOSoftWhare
cd51bf15cb Add comments. 2020-08-03 19:43:45 +02:00
SBiOSoftWhare
2ebd0cb336 Create SizableBubbleCell that enables to self size a cell using Auto Layout. 2020-07-31 19:01:50 +02:00
SBiOSoftWhare
4200561da1 Create SizingViewHeightStore to store a view height relative to a width. 2020-07-31 18:58:53 +02:00
SBiOSoftWhare
4ae99ea4be Create BaseBubbleCell that embed the base UI structure of timeline cells (BubbleCellContentView). 2020-07-31 18:56:33 +02:00
SBiOSoftWhare
5a3f506e14 BubbleCellContentView: Handle display of new UI elements: sender info, encryption status and reactions. 2020-07-31 18:26:09 +02:00
SBiOSoftWhare
c461de1fa8 Add BubbleCellReactionsDisplayable protocol indicating that a cell support displaying reactions. 2020-07-31 18:24:07 +02:00
ismailgulek
a8ad34969f
All new settings moved to BuildSettings 2020-07-30 16:13:08 +03:00
ismailgulek
f4372d1951 Integrate allowSendingStickers 2020-07-30 16:11:30 +03:00
SBiOSoftWhare
68d403c3fe
Merge pull request #3404 from vector-im/rebranding
Rebranding
2020-07-15 18:30:21 +02:00
SBiOSoftWhare
a2062a1001 RoomActivities: Update typing icon. 2020-07-11 01:27:25 +02:00
SBiOSoftWhare
b411b5e9a1 RoomActivities: Update error icon. 2020-07-11 01:18:08 +02:00
SBiOSoftWhare
247be2aeda RoomActivities: Update scroll down icon. 2020-07-11 01:10:02 +02:00
SBiOSoftWhare
48ae391ec0 Update add participant asset. 2020-07-11 00:28:11 +02:00
SBiOSoftWhare
61d5fbf967 Room input toolbars: Revert separators. 2020-07-10 16:43:20 +02:00
SBiOSoftWhare
3f407215be RoomTitleView: Update details icon color. 2020-07-10 14:35:16 +02:00
SBiOSoftWhare
912e7d4c28 ExpandedRoomTitleView: Update members list icon. 2020-07-09 20:06:35 +02:00
SBiOSoftWhare
15bedd3479 RoomVC: Update input tool bar icons. 2020-07-09 19:28:51 +02:00
SBiOSoftWhare
9bca7796fa RoomInputToolBar: Fix hardcoded colors. 2020-07-09 18:08:11 +02:00
SBiOSoftWhare
28de91089a RoomActivitiesView: Remove separator and change default background color. 2020-07-06 20:54:02 +02:00
SBiOSoftWhare
46a691d618 Room input toolbars: Hide separator. 2020-07-06 20:51:04 +02:00
SBiOSoftWhare
6c3be2f5a2 RoomTitleView: Update theme colors. 2020-07-02 19:06:14 +02:00
ismailgulek
b2dd2bf8cb
Fix leading constraint, fixes #3226 2020-07-02 16:12:44 +03:00
ismailgulek
a0bd6db5e8
Check user in session before using userId 2020-06-12 15:07:26 +03:00
ismailgulek
f815db4246
Get inviter from invite event instead of looping members 2020-06-12 14:36:58 +03:00
SBiOSoftWhare
4b70a9c5ef Integrate RoundedButton where needed. 2020-04-28 16:34:39 +02:00
SBiOSoftWhare
ffa560dc81 RoomTitleView: Add badge image view. 2020-04-08 15:06:59 +02:00
SBiOSoftWhare
b8f82a6bef ExpandedRoomTitleView: Reduce trust level badge size. 2020-04-08 12:42:12 +02:00
SBiOSoftWhare
97dc906553 RoomVC: Use cells with encryption badge only if needed in order to recover horizontal white space. 2020-02-06 18:46:32 +01:00
SBiOSoftWhare
17d443de42 Message decoration: Fix shield appearance behavior. 2020-02-06 11:14:13 +01:00
manuroe
589c1ca3b6 Message decoration: Do not decorate state events
#2947
2020-01-28 15:53:09 +01:00
SBiOSoftWhare
2ab9a4ae83 RoomVC: Handle encryption shields decoration for composer and expanded header. 2020-01-22 16:27:04 +01:00
SBiOSoftWhare
69a04c1af8 Room messages: Handle encryption shields decoration. 2020-01-22 16:25:39 +01:00
SBiOSoftWhare
39e841963e ExpandedRoomTitleView: Add badge image view on room avatar. 2020-01-22 16:23:39 +01:00
manuroe
75b740efe2
Merge branch 'develop' into riot_2890 2020-01-16 09:33:57 +01:00
manuroe
3d7c468936 Cross-signing: Follow API change on MXDeviceInfo.trustLevel 2020-01-16 09:24:40 +01:00
SBiOSoftWhare
3718d0fbdb
Merge pull request #2902 from vector-im/riot_2851
Notification in DMs / new Notification type
2020-01-15 18:21:05 +01:00
SBiOSoftWhare
b41343f3f6 KeyVerificationConclusionBubbleCell: Update warning title and badge image. 2020-01-15 10:50:36 +01:00
SBiOSoftWhare
d290938fb1 Add key verification cells with pagination title. 2020-01-14 20:15:28 +01:00
SBiOSoftWhare
148c0686fa Handle key verification cells data filling. 2020-01-14 20:14:17 +01:00
SBiOSoftWhare
28bd41f197 KeyVerificationBaseBubbleCell: Use BubbleCellContentView. Improve cell height caching. 2020-01-14 20:10:13 +01:00
SBiOSoftWhare
6fe6067529 Refactor BubbleCellWithoutSenderInfoContentView to BubbleCellContentView and handle pagination title. 2020-01-14 20:02:34 +01:00
Giom Foret
1d52a55d8a Code cleaning 2019-12-26 23:24:09 +01:00
SBiOSoftWhare
48db9c37a4 Create DM key verification cells. 2019-12-20 10:42:28 +01:00
SBiOSoftWhare
d4fd68e405 Create BubbleCellWithoutSenderInfoContentView a base room bubble cell content view. 2019-12-20 10:39:22 +01:00
SBiOSoftWhare
fc77865f84 Add BubbleCellReadReceiptsDisplayable protocol describing a cell able to manage read receipts display. 2019-12-20 10:37:53 +01:00
manuroe
871b9b1f6f VoiceOver: Make ScrollToBottomButton speakable 2019-09-20 17:21:00 +02:00
manuroe
1a63ece5ab VoiceOver: RoomVC: Fix some missing accessibility labels for buttons
#2722
2019-09-18 13:08:42 +02:00
SBiOSoftWhare
20a7b04743
Update Riot/Modules/Room/Views/InputToolbar/RoomInputToolbarView.m
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2019-08-02 18:12:41 +02:00
SBiOSoftWhare
b31087ec12 RoomInputToolbarView: Add separate actions for camera and media library. 2019-08-02 17:16:06 +02:00
SBiOSoftWhare
928eb0c69e RoomInputToolbarView: Add file upload action. 2019-07-11 19:03:32 +02:00
manuroe
3db1cffe28 Edits: Support edits in e2e rooms 2019-06-25 18:32:34 +02:00
SBiOSoftWhare
8e50ff08c1 Fix bubble cell height for cells with attachment view and reactions. 2019-06-18 18:36:22 +02:00
SBiOSoftWhare
3c4961af8f RoomInputToolbarView: Add editing mode. 2019-06-13 16:37:28 +02:00
SBiOSoftWhare
b0fbcde9dd Create RoomBubbleCellLayout class to handle MXKRoomBubbleTableViewCell layout constants. 2019-05-29 12:15:31 +02:00
manuroe
ef4fed1bb2 RoomVC: When replying, use a "Reply" button instead of "Send" 2019-04-30 17:27:57 +02:00
manuroe
16dc04e18d RoomInputToolbarView: Turn the boolean replyToEnabled into an enum: sendMode
because message editing (#2404) is coming
2019-04-30 17:08:52 +02:00
SBiOSoftWhare
42ddca925f Use a weak reference for mediaPicker property in RoomInputToobarView. 2019-04-24 17:56:59 +02:00
SBiOSoftWhare
64083f49df Apply new user name color generation on bubble cells where needed 2019-03-07 17:46:45 +01:00
manuroe
58e7cba5f3 RoomVC: Use accent color (green) for the ongoing conference call banner 2019-03-07 10:42:55 +01:00
SBiOSoftWhare
ad289a2685 Use MXKMessageTextView in text message bubble cells to allow link detection without text selection 2019-03-04 17:03:04 +01:00
SBiOSoftWhare
3d675245db
Merge pull request #2262 from vector-im/reskin_linebreakcolor
Reskin: Apply theme line break color
2019-02-18 13:50:06 +01:00
SBiOSoftWhare
f4aa2e66b4 Apply new lineBreakColor where needed 2019-02-18 12:53:13 +01:00
manuroe
f2424f3f2a Reskin: Fix navigation bar background after accepting an invite 2019-02-18 10:59:57 +01:00
manuroe
992ebcdbff Reskin: Fix text color in room preview 2019-02-18 10:59:36 +01:00
SBiOSoftWhare
6a175d4838 Enhance tap on room predecessor cell used to go back to the old version of the room (Fix issue #2179) 2019-02-04 15:49:49 +01:00
manuroe
9371f0e1cb reskin: kill riotColorRed & riotColorPinkRed
Merge them into Theme.warningColor

Part of #2174
2019-01-18 13:40:09 +01:00
manuroe
6eeef644d3 reskin: Kill kRiotColorXxxx 2019-01-11 11:57:02 +01:00
manuroe
744208ae25 reskin: Create ThemeService.shared 2019-01-11 11:45:27 +01:00
manuroe
b3b6e2c80c reskin: Rename RiotDesignValues -> ThemeService 2019-01-11 10:46:00 +01:00
manuroe
19ebc9317b reskin: kill headerTextSecondaryColor 2019-01-10 18:10:10 +01:00
manuroe
373be3b64c reskin: kill kRiotTopicTextColor 2019-01-10 18:08:10 +01:00
manuroe
dfecc403ec reskin: kill kRiotSecondaryTextColor 2019-01-10 18:05:21 +01:00
manuroe
52869d8c05 reskin: kill kRiotPrimaryTextColor 2019-01-10 18:00:45 +01:00
manuroe
39ffac13b1 reskin: kill kRiotSecondaryBgColor 2019-01-10 17:57:17 +01:00
manuroe
21a9a7c9f3 reskin: kill kRiotPrimaryBgColor 2019-01-10 17:50:26 +01:00
manuroe
da0b5d7d56 reskin: Kill RiotDesignValues.kRiotKeyboard and replace it by Theme.keyboardAppearance 2019-01-10 17:42:43 +01:00
manuroe
91e20b59a5 reskin: remove bar style ivars from RiotDesignValues 2019-01-10 17:08:32 +01:00
manuroe
eca85776a1 reskin: rename ColorValues to Theme 2019-01-10 15:32:59 +01:00
manuroe
6f30f88b03 reskin: ColorValues: suffix UIColor properties names with "Color" 2019-01-10 15:23:22 +01:00
manuroe
c4b6cfdaf4 Reskin: Paint icons with RiotDesignValues.colorValues.accent when possible 2018-12-03 17:14:32 +01:00
manuroe
a50c9f55b1 Reskin: Kill kRiotColorGreen and use RiotDesignValues.colorValues.accent instead 2018-11-30 17:10:28 +01:00
manuroe
d2d401ed8b Reskin: Factorise *RoomTitleViews
and apply them kRiotDesignNavigationBarBarTintColor as background color to mimic the nav bar color
2018-11-29 17:47:42 +01:00
Giom Foret
3258e3abc1 MXImageView: use the new interface [setImageURI:...] instead of the deprecated one [setImageURL:...] .
Note - DirectoryServerTableViewCell:
Presently the thirdPartyProtocolInstance.icon is not a Matrix Content URI. We could not use here MXKImageView setImageURI method
 without breaking the instance icon rendering. We use the deprecated interface until this point is fixed on the server side.
2018-11-11 15:20:32 +01:00
manuroe
d867c89c3b Server Quota Notices: Implement the blue banner
Closes #1937
2018-10-02 15:30:00 +02:00
manuroe
e129e37fa4 Make code use the "Empty room" i18n string from MatrixKit 2018-09-20 11:05:46 +02:00
manuroe
2036ec1d3c MAU: Fix text font in red banner 2018-08-24 17:05:22 +02:00
manuroe
a07d836240 RoomVC: Show a "Resource Limit Exceeded" banner if it happens in a /sync response
#1937
2018-08-21 18:25:56 +02:00
manuroe
0556ef2ee2 Merge remote-tracking branch 'origin/develop' into lazy_loading
# Conflicts:
#	CHANGES.rst
#	Riot/Modules/Room/RoomViewController.m
2018-08-07 18:06:58 +02:00
SBiOSoftWhare
0ab7da2539 Create RoomPredecessorBubbleCell in order to display room predecessor info when needed 2018-08-07 11:26:35 +02:00
manuroe
805869eb4d Lazy-loading server side: Use MXRoomSummary.membersCount when possible 2018-08-02 11:36:40 +02:00
manuroe
0e2fde84f9 Lazy-loading server side: Use new async [MXRoom members:lazyLoadedMembers:] 2018-08-01 17:25:38 +02:00
SBiOSoftWhare
24deeb6516 [RoomActivities] Improve display room replacement 2018-07-27 18:33:46 +02:00
SBiOSoftWhare
9ed03a49e6 [RoomActivitiesView] Add room replacement display 2018-07-27 11:48:38 +02:00
SBiOSoftWhare
2a67f5fb36 Fix boolean condition when updating placholder in RoomInputToolbarView 2018-07-24 16:53:07 +02:00
SBiOSoftWhare
2ec5d88d75 Add send reply mode in RoomInputToolbarView in order to update text input placeholder when sending a reply. 2018-07-24 16:53:06 +02:00
manuroe
75c0393701 New async [MXRoom state:]: Fix issue reported in Steve's review 2018-07-24 16:30:48 +02:00
SBiOSoftWhare
3a7a5c93a2 Fix boolean condition when updating placholder in RoomInputToolbarView 2018-07-24 13:32:40 +02:00
SBiOSoftWhare
1e42fc5b81 Add send reply mode in RoomInputToolbarView in order to update text input placeholder when sending a reply. 2018-07-23 16:54:23 +02:00
manuroe
ee419fb1a0 New async [MXRoom state:]: Use [MXRoom members:] 2018-07-23 15:38:50 +02:00
manuroe
2f90842345 New async [MXRoom state:]: Make Riot build 2018-07-20 10:40:42 +02:00
manuroe
e7deec57a5 Fix regression with new MXRoomMembers 2018-07-17 18:41:28 +02:00
manuroe
b79b1b0c38 MXRoomState: Apply new membership property 2018-07-17 18:00:56 +02:00
manuroe
b64b5767fb Make use of MXRoom.roomId and MXRoom.summary instead of MXRooms.state 2018-07-16 22:30:55 +02:00
manuroe
7af86d9f9d MXRoomState: Apply new MXRoomMembers property 2018-07-12 00:19:48 +02:00
SBiOSoftWhare
0e3ee5a5c8 Fix image references in xib and storyboards by removing .png suffix 2018-07-10 17:16:26 +02:00
SBiOSoftWhare
421e8bc84b Organize views by feature 2018-07-10 10:21:20 +02:00