Commit graph

212 commits

Author SHA1 Message Date
SBiOSoftWhare
88ceb07ea5 Add RoomTimelineStyle that describes a room timeline style used to customize timeline appearance. 2022-01-14 09:55:00 +01:00
SBiOSoftWhare
f90f2fba0e Add cell layout updater implementation for bubbles. 2022-01-14 09:51:08 +01:00
SBiOSoftWhare
2642223430 Move RoomBubbleCellLayout. 2022-01-13 18:25:34 +01:00
SBiOSoftWhare
057ea8dba7 Add RoomCellLayoutUpdaterProtocol that enables to setup or update a room timeline cell view. 2022-01-13 18:20:57 +01:00
SBiOSoftWhare
fca3344101 Add RoomTimelineCellIdentifier that represents room timeline cell identifiers. 2022-01-13 17:36:13 +01:00
SBiOSoftWhare
cc829ecc2a Add BubbleRoomTimelineCellProvider. 2022-01-13 17:33:21 +01:00
SBiOSoftWhare
3d7a7fa9f1 Add PlainRoomTimelineCellProvider. 2022-01-13 17:31:47 +01:00
SBiOSoftWhare
f7fb4c7ca8 Add RoomTimelineCellProviderProtocol that enables to register and provide room timeline cells. 2022-01-13 17:31:03 +01:00
SBiOSoftWhare
24c8b8d79d RoomTimelineStyleIdentifier: Make it available for ObjC. 2022-01-13 16:56:10 +01:00
SBiOSoftWhare
7ae9b40708 Move MatrixKit text message cells to Riot target. 2022-01-13 16:51:51 +01:00
SBiOSoftWhare
565b1cca05
Merge pull request #5342 from vector-im/steve/5321_bubbles_lauching
Message bubbles: Add settings and build flag
2022-01-13 09:50:23 +01:00
Stefan Ceriu
e2a7df1daa Increased the BubbleCellContentView's inner content view bottom padding so it doesn't overlap the send receipt indicator. 2022-01-07 14:18:05 +02:00
SBiOSoftWhare
4d3a8a2ffa Rename RoomTimelineStyle enum to RoomTimelineStyleIdentifier. 2022-01-04 17:53:15 +01:00
Stefan Ceriu
eead770633 vector-im/element-ios/issues/5298 - Various tweaks following code review. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
2c6b286718 vector-im/element-ios/issues/5298 - Added build setting + ui and unit tests. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
592acde1c8 vector-im/element-ios/issues/5298 - Displaying a modal when tapping on a location in the timeline. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
6a46c42cfd vector-im/element-ios/issues/5298 - Implemented location sharing from the input toolbar action menu. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
01f53bd8d1 Rendering location messages in the timeline. 2022-01-04 17:33:32 +02:00
SBiOSoftWhare
ca4dc6d69f Add RoomTimelineStyle enum that represents the room timeline styles available. 2022-01-03 18:16:24 +01:00
SBiOSoftWhare
bd431fa6c9 Move timeline cells in dedicated folders. 2021-12-22 17:25:35 +01:00
ismailgulek
e3a47a59f9
Merge branch 'develop' into ismail/5068_start_thread 2021-12-09 15:25:14 +03:00
Stefan Ceriu
d5982e813b vector-im/element-ios/issues/5114 - Polls in the timeline. 2021-12-09 09:37:02 +02:00
SBiOSoftWhare
dcad18bfb4
Merge pull request #5219 from vector-im/steve/5020_matrixkit_merge
Merge MatrixKit repository into Element
2021-12-03 15:44:30 +01:00
Stefan Ceriu
ec00c52a0a vector-im/element-ios/issues/4753 - Allow audio file attachments to be played back inline by reusing the existing voice message UI. 2021-12-02 15:38:59 +02:00
SBiOSoftWhare
4081da3ebc Update all Objective-C MatrixKit imports to handle new location. 2021-11-30 16:09:53 +01:00
SBiOSoftWhare
3e6df9749c Remove MatrixKit import from Swift files. 2021-11-29 17:50:30 +01:00
ismailgulek
a319f076b1
Merge branch 'develop' into ismail/5068_start_thread 2021-11-11 21:43:16 +03:00
ismailgulek
f25c382511
Add additional height in the cell for thread summary view 2021-11-09 14:46:35 +03:00
Philippe Loriaux
c6c3eaaec1 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
Stefan Ceriu
862464108b vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods. 2021-09-30 09:40:12 +03:00
Doug
b35838e268 Merge branch 'develop' into doug/4896_url_previews_string_whitespace 2021-09-27 14:44:17 +01:00
Doug
0edf6ba7d6 Include URL previews in addVerticalWhitespaceToString:forEvent: and remove heightForCellData:withMaximumWidth: from the various TextMsgBubbleCell subclasses.
Use the bubble cell data's available width when sizing URL previews and update the defaultAvailableWidth and reducedWidthThreshold accordingly.
2021-09-23 17:30:24 +01:00
Gil Eluard
84bdf88fe1 Merge branch 'develop' into spaces 2021-09-20 10:18:01 +02:00
Doug
38db80ac6b Reduce the width of URL previews on 4" devices. 2021-09-16 16:41:21 +01:00
Gil Eluard
8ba6c55a87 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Modules/Common/Avatar/AvatarViewDataProtocol.swift
#	Riot/Modules/Common/Recents/RecentsViewController.m
#	Riot/Modules/Home/Views/RoomCollectionViewCell.m
#	Riot/Modules/TabBar/TabBarCoordinator.swift
2021-09-15 14:42:04 +02:00
Doug
26567464e4 Revert height computation for now. 2021-09-08 15:59:30 +01:00
Doug
24afc7af6c Update for PR feedback.
URLPreviewManager becomes URLPreviewService.
addVerticalWhitespaceToString used instead of heightForCellData multiple times.
All newline characters removed.
2021-09-08 15:10:13 +01:00
Doug
2e04123337 Add setting to disable URL previews.
Using a temporary position in the settings screen whilst waiting for feedback.
2021-09-03 10:19:26 +01:00
Doug
1831b61b12 Show an activity indicator until the preview has loaded. 2021-09-02 17:37:48 +01:00
Doug
59e541667e Load and store URLPreviewViewData in RoomBubbleCellData.
Implement close button and store the action in Core Data. Hide the preview image view when no image is received. Remove line breaks in description text.
2021-09-01 10:37:37 +01:00
Doug
29758d1aa7 Add PreviewManger with Core Data cache and a URLPreviewView with a view model.
Changes to RoomDataSource still to come.
2021-08-23 17:56:24 +01:00
ismailgulek
058b819daf
Use new strings for ended calls 2021-08-06 16:20:10 +03:00
ismailgulek
5c1c52842b
Add strings for incoming calls 2021-08-03 17:07:15 +03:00
ismailgulek
8c23471e2d
Adapt string changes & new icons 2021-08-03 17:02:40 +03:00
ismailgulek
1bdecc6e2d
Update icon color 2021-08-03 17:01:38 +03:00
ismailgulek
d391e0838f
Remove type and dot labels 2021-08-03 17:01:17 +03:00
Gil Eluard
43ec74b5ca Merge branch 'spaces' into element_4509 2021-07-26 10:42:49 +02:00
manuroe
671f2118cc
Merge branch 'develop' into element_4090 2021-07-22 14:16:35 +02:00
Gil Eluard
e492d2b077 #4090 - Update after review 2021-07-06 23:03:56 +02:00
Doug
080b3e94bb Fix documentation warnings. 2021-07-02 16:46:27 +01:00
SBiOSoftWhare
d0b53421ed Update avatar view and view data usage. 2021-07-01 00:07:46 +02:00
Stefan Ceriu
acebef7853 #4094 - Added voice message attachment decryption, transcoding and sampling caching layer. 2021-06-25 12:09:41 +03:00
Stefan Ceriu
7d257f5878 #4094 - Added multiple observation on media services and a mediaServiceProvider that prevents simultaneous playback from multiple player instances. 2021-06-24 11:29:07 +03:00
Stefan Ceriu
99eb2d16ac #4096 - Extracted logic from the VoiceMessagePlaybackView. Exposed power levels from audio recorder. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
ff3170e031 #4096 - Added voice message decoding, timeline cell and playback UI. 2021-06-22 09:42:37 +03:00
David Langley
5060d46348
Merge pull request #4405 from vector-im/element_4403
Fix crash when entering a DM after a call is hung-up/rejected while being answered (#4403)
2021-06-09 10:33:21 +01:00
langleyd
86a9f4f7be Fix crash when entering a DM after a call is hung-up/rejected while being answered (#4403) 2021-06-08 14:03:17 +01:00
SBiOSoftWhare
f828ce2648 RoomCreationIntroCell: Handle RoomAvatarViewData updates. 2021-06-07 18:46:16 +02:00
Stefan Ceriu
f7a8163947
Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
ismailgulek
13f485a5c3
Use new tile theme color 2021-05-04 19:25:24 +03:00
ismailgulek
cf18e1bda9
Use call tile bg color 2021-04-28 13:46:55 +03:00
ismailgulek
2ff05ee81e
Add end call button for active calls 2021-04-27 14:50:58 +03:00
ismailgulek
e7ce0e53f9
Update connecting and ringing state strings 2021-04-27 14:35:56 +03:00
ismailgulek
badbeea0e8
Add leave action to call tiles 2021-04-21 14:52:51 +03:00
ismailgulek
c8224d2c2e
Adjust join button content insets 2021-04-21 13:58:15 +03:00
ismailgulek
b56acd10bc
Change action button font size to 17 2021-04-19 11:44:52 +03:00
ismailgulek
c91f2531a5
Change body font size to 13px 2021-04-19 11:41:06 +03:00
ismailgulek
764b2bdbeb
Change some colors to secondary 2021-04-19 11:36:11 +03:00
ismailgulek
850ad21a91
Update group call icon and title 2021-04-15 16:49:04 +03:00
ismailgulek
0f1d1023b5
Fix cell height for call tiles if read receipts displayed 2021-04-12 02:36:55 +03:00
ismailgulek
55faf7bdf3
Fix read receipts on call tiles 2021-04-12 01:27:38 +03:00
ismailgulek
59cbad8d75
Center align call tiles 2021-04-09 15:59:02 +03:00
ismailgulek
62b9ba0f4c
Fix icon and text colors on tiles 2021-04-09 15:23:46 +03:00
ismailgulek
f86cd04402
Increase icon spacing in call tile 2021-04-09 15:16:07 +03:00
ismailgulek
67fa1ab3b8
Merge branch 'develop' into voip_design_updates 2021-04-09 15:12:51 +03:00
Gil Eluard
84e1b98b0c
Update Riot/Modules/Room/Views/BubbleCells/RoomTypingBubbleCell.swift
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-04-08 16:13:56 +02:00
Gil Eluard
f27363d372 Update after review 2021-04-08 15:59:53 +02:00
Gil Eluard
b41ab9f547 Update after review 2021-04-08 15:19:02 +02:00
Gil Eluard
b42bb37d99
Update Riot/Modules/Room/Views/BubbleCells/RoomTypingBubbleCell.swift
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-04-08 13:48:25 +02:00
ismailgulek
59675d667e
Fix label text color on dark mode 2021-04-07 15:24:42 +03:00
Gil Eluard
120dbaceb1 Crash in [RoomViewController refreshTypingNotification] 2021-04-07 12:26:51 +02:00
Gil Eluard
57101f3c79 Consider displaying names in typing notifications 2021-04-06 14:32:25 +02:00
ismailgulek
4086e1b0ef
Merge branch 'develop' into voip_design_updates 2021-04-02 14:39:37 +03:00
Gil Eluard
0322f3c7f4 Explore typing notifications inspired by web
- prevent timeline from going up and down by keeping the space allocated for the typing notification
2021-03-29 22:26:03 +02:00
Gil Eluard
6f499cb3cb Explore typing notifications inspired by web
- Update for dark mode
2021-03-24 23:16:27 +01:00
Gil Eluard
00a524ab88 Explore typing notifications inspired by web
- First iteration
2021-03-22 19:55:41 +01:00
ismailgulek
0cfde0fe76
Move Jitsi view controller to CallPresenter 2021-03-19 17:33:07 +03:00
ismailgulek
ec683c266c
Fix overflow issue 2021-03-19 02:52:52 +03:00
ismailgulek
2679a633f5
Show room name and avatar if declined 2021-03-18 13:46:39 +03:00
ismailgulek
bb596bf601
Implement in-memory decline cache for group calls 2021-03-18 13:32:34 +03: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
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