Commit graph

286 commits

Author SHA1 Message Date
MaximeE
83a718b38d 5720: Update UI in location sharing View 2022-03-17 16:52:22 +01:00
SBiOSoftWhare
0f8d5045d2
Merge pull request #5828 from vector-im/steve/5827_map_multiple_annot
Location sharing: Support multiple user annotation views on the map
2022-03-16 15:22:04 +01:00
SBiOSoftWhare
2dcd713199 LocationSharingViewModelTests: Fix issues. 2022-03-16 14:39:51 +01:00
SBiOSoftWhare
d9ac23b4a3 LocationSharingView: Update with updated map view and model. 2022-03-16 11:35:15 +01:00
SBiOSoftWhare
9dda19bc8a LocationSharingView: Update state and view model. 2022-03-16 11:33:36 +01:00
SBiOSoftWhare
42d4e4afd4 Create reusable MapCreditsView. 2022-03-16 11:04:58 +01:00
SBiOSoftWhare
27fc574b9c UserLocationAnnotatonView: Handle init with UserLocationAnnotation. 2022-03-16 10:57:00 +01:00
SBiOSoftWhare
8a42d65559 Create custom map annotation UserLocationAnnotation. 2022-03-16 10:50:18 +01:00
SBiOSoftWhare
ae191f1549 LocationSharingMapView: Support displaying multiple annotation views. 2022-03-16 10:49:24 +01:00
Gil Eluard
996ef72498 Merge branch 'develop' into gil/SP1_space_creation
# Conflicts:
#	Riot/Modules/Room/Members/RoomParticipantsViewController.m
#	Riot/Modules/Room/RoomViewController.m
#	Riot/Modules/Room/Settings/RoomSettingsViewController.h
#	Riot/Modules/Spaces/SpaceMembers/MemberList/SpaceMemberListViewController.swift
2022-03-08 11:23:55 +01:00
Gil Eluard
9ebd8a4802
Instrument missing screen metrics (#5764)
* Instrument missing screen metrics

- Done
2022-03-08 10:13:46 +01:00
Doug
e8f0696e23 Rename ErrorAlertInfo to AlertInfo. 2022-03-07 13:34:39 +00:00
Doug
37bff41d45 Add alert property to ErrorAlertInfo. 2022-03-07 13:34:39 +00:00
Doug
b85c4570dc Add a generic ErrorAlertInfo type.
Adopt it in Location Sharing and Polls.
2022-03-07 13:34:39 +00:00
Gil Eluard
5fef457fd6
selection impossible when filtering in add room screen #5757 (#5758)
- Fixed
- Other minor code / UI tweaks
2022-03-07 12:25:50 +01:00
Gil Eluard
cd742d972a Merge branch 'gil/SP1_space_creation' of github.com:vector-im/element-ios into gil/SP1_space_creation 2022-03-04 13:06:27 +01:00
Gil Eluard
1fcf96865c
SP4: space settings (#5730)
* SP4: Space Settings

- Space settings screen implemented
- No space upgrade available as per Element web
- Need more insights for the space address field
- Added settings live update
- Added local alias implementation
2022-03-04 12:53:42 +01:00
Gil Eluard
89a16a72c2 Merge branch 'develop' into gil/SP1_space_creation 2022-03-01 10:15:13 +01:00
Gil Eluard
512bac7586 SP3.1: Update room settings for Spaces #5231
- Update after review
2022-02-28 19:55:02 +01:00
Gil Eluard
bae3ede4c8 SP3.1: Update room settings for Spaces #5231
- Fixed CI build issues
2022-02-28 16:29:49 +01:00
Gil Eluard
ace8613162 SP3.1: Update room settings for Spaces #5231
- Update after review
2022-02-28 16:07:09 +01:00
Gil Eluard
8bd67bdc52 Merge branch 'gil/SP1_space_creation' into gil/5231_SP3-1_Update_room_settings_for_Spaces
# Conflicts:
#	Podfile.lock
2022-02-21 17:57:58 +01:00
Gil Eluard
fa1fc3d2b0 SP3.1: Update room settings for Spaces #5231
- Fixed SwiftUnitTests issues
2022-02-21 15:58:27 +01:00
Stefan Ceriu
f655bc3ae6 vector-im/element-ios/issues/5114 - Fixed arithmetical exception errors when changing poll responses. 2022-02-21 14:04:00 +02:00
Stefan Ceriu
e003b66129 vector-im/element-ios/issues/5114 - Enabled poll editing and undisclosed polls. 2022-02-21 13:20:02 +02:00
Stefan Ceriu
26c98bbabe vector-im/element-ios/issues/5609 - Add open in OSM location sharing option. 2022-02-17 19:11:08 +02:00
Stefan Ceriu
898869061d vector-im/element-ios/issues/5609 - Add attribution to location sharing maps. 2022-02-17 19:11:08 +02:00
Stefan Ceriu
01e8b4189c Fix introspect not being able to theme the SwiftUI navigation bars. 2022-02-11 14:39:05 +02:00
Stefan Ceriu
790ad83d77 vector-im/element-ios/issues/5114 - Added support for unstable poll prefixes. 2022-02-11 13:35:22 +02:00
Gil Eluard
c41e541e1d SP3.1: Update room settings for Spaces #5231
- Added list bottom padding to MatrixItemChooser view
2022-02-06 16:08:26 +01:00
Gil Eluard
96cf359703 Merge branch gil/5230_SP2-Adding_Rooms_to_Spaces into gil/5231_SP3-1_Update_room_settings_for_Spaces 2022-02-05 21:43:29 +01:00
Stefan Ceriu
cab5be20cd vector-im/element-ios/issues/5298 - Tweaks following code review. 2022-02-04 11:33:55 +02:00
Stefan Ceriu
9ac722dcad vector-im/element-ios/issues/5298 - Add .well-known configuration support for tile server and map styles. 2022-02-04 11:33:55 +02:00
Stefan Ceriu
c92c46fc99 vector-im/element-ios/issues/5298 - Reusing location sharing coordinator external sharing logic in the timeline. 2022-02-04 11:33:55 +02:00
Stefan Ceriu
351c18cfc6 Fixed location sharing and poll edit form navigation and navigation bar styles. 2022-02-03 18:30:39 +00:00
Doug
50de0dc36c Add context menu to HomeViewController cells. 2022-02-03 18:30:39 +00:00
Stefan Ceriu
7c54bf763c Made StateStoreViewModel state mutable and removed the reducer for all the features using it. 2022-02-02 10:02:12 +02:00
ismailgulek
8cc82cf7e1
Merge branch 'develop' into ismail/5068_start_thread 2022-01-25 14:30:52 +03:00
Stefan Ceriu
13cfcef9a2 vector-im/element-ios/issues/5298 - Small tweaks following code review. 2022-01-19 16:11:35 +02:00
Stefan Ceriu
821d6066cd vector-im/element-ios/issues/5298 - Removed cocoapods-keys and moved the MapTiler key to the buildSettings. 2022-01-19 16:11:35 +02:00
Stefan Ceriu
a0b683058e vector-im/element-ios/issues/5298 - Added bottom padding on location markers so they point to the location instead of being centered on it. 2022-01-19 16:11:35 +02:00
ismailgulek
fe9eeeadd5
Merge branch 'develop' into ismail/5068_start_thread 2022-01-19 00:07:52 +03:00
Stefan Ceriu
6eb0f6c9ef vector-im/element-ios/issues/5114 - De-labs-ed polls, disabled editing and undisclosed polls until platform parity. 2022-01-18 20:05:10 +02:00
Stefan Ceriu
e10b200ef8 vector-im/element-ios/issues/5114 - Small answer option count limit code tweak. 2022-01-18 20:05:10 +02:00
Stefan Ceriu
83893acfd8 vector-im/element-ios/issues/5114 - Various tweaks following PR review. 2022-01-18 20:05:10 +02:00
Stefan Ceriu
84c01c2735 vector-im/element-ios/issues/5114 - Cleanup + rename PollTimeline to TimelinePoll. 2022-01-18 20:05:10 +02:00
Stefan Ceriu
2dfbe69a88 vector-im/element-ios/issues/5114 - Added UI for creating undisclosed polls and logic for displaying them in the timeline. 2022-01-18 20:05:10 +02:00
Stefan Ceriu
cc7175f4b8 vector-im/element-ios/issues/5114 - Allow seeing whether a poll has been edited. 2022-01-18 20:05:10 +02:00
Stefan Ceriu
a23bd0da99 vector-im/element-ios/issues/5114 - Allow editing poll start events. 2022-01-18 20:05:10 +02:00
Gil Eluard
4ef27fabf3 SP2: Adding Rooms to Spaces element-ios#5230
- Wait for the entire room upgrade before building the space graph
2022-01-17 22:42:01 +01:00
Gil Eluard
962abb6e79 SP2: Adding Rooms to Spaces element-ios#5230
- Added room ID to cancel callback as the room may have been upgraded
2022-01-17 22:11:12 +01:00
ismailgulek
aeccbc0dac
Merge branch 'develop' into ismail/5068_start_thread 2022-01-17 11:35:10 +03:00
Gil Eluard
be4cd455f1 Merge branch 'develop' into gil/5231_SP3-1_Update_room_settings_for_Spaces
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
#	Riot/Generated/Strings.swift
#	Riot/Modules/Spaces/SpaceMembers/MemberList/SpaceMemberListViewController.swift
#	Riot/Modules/Spaces/SpaceRoomList/ExploreRoom/SpaceExploreRoomViewController.swift
2022-01-13 16:30:55 +01:00
Gil Eluard
cdb4cc131e SP3.1: Update room settings for Spaces element-ios#5231
- Changed the Room Settings screen according to the new design
- Implemented the room access flow
- Added room upgrade support
- Implemented the room suggestion screen
2022-01-13 15:53:45 +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
a27dd1a230 vector-im/element-ios/issues/5298 - Allow sharing locations to other system apps. 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
352d56726e vector-im/element-ios/issues/5298 - Improved error messages and moved map configuration to the BuildSettings 2022-01-04 17:33:32 +02:00
Stefan Ceriu
f0cdbe5a7c vector-im/element-ios/issues/5298 - Attempting to set up cocoapods-keys. 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
ismailgulek
ca36f99a08
Merge branch 'develop' into ismail/5068_start_thread 2022-01-04 15:28:19 +03:00
Doug
8eab27ab8e Add AnalyticsPrompt to SwiftUI target and replace old UIAlertController. 2021-12-16 17:01:22 +00:00
Stefan Ceriu
b9efd87ef7 Fixed SwiftUI UI tests not finding the right state to tap if not already displayed on screen. 2021-12-16 16:47:35 +02:00
ismailgulek
d7b18bb223
Apply MatrixKit PR changes 2021-12-09 16:57:43 +03:00
Stefan Ceriu
d5982e813b vector-im/element-ios/issues/5114 - Polls in the timeline. 2021-12-09 09:37:02 +02:00
Stefan Ceriu
30ff8a65fb vector-im/element-ios/issues/5114 - Poll creation screen
- added input toolbar poll creation action.
- reordered input toolbar actions as per designs.
- added multiline text field and extracted common components.
2021-11-11 11:24:28 +02:00
Stefan Ceriu
37adc8ae4d Fixes vector-im/element-ios/issues/5063 - Fixed retain cycles between the user suggestion coordinator and the suggestion service, and in the suggestion service currentTextTrigger subject sink. 2021-10-29 17:05:17 +03:00
Doug
4b5630a83f Update fonts, add attributed strings and add tap gestures back.
Footers use subheadline. Headers use footnote.
2021-10-20 17:40:39 +01:00
Stefan Ceriu
2e0aab11ea #1098 - Added extra top padding on first list item. Fixed various merge problems. 2021-10-13 11:46:43 +03:00
Stefan Ceriu
af24a81ab6 #1098 - Switched to dynamically calculated row heights. 2021-10-13 11:26:27 +03:00
Stefan Ceriu
8f57eb8719 #1098 - Various small tweaks. 2021-10-13 11:26:27 +03:00
Stefan Ceriu
51105b4c2e #1098 - Add debouncer to suggestion service text processing. Stop returning cached member results from the coordinator, rely on the room directly for up to date results. 2021-10-13 11:26:27 +03:00
Stefan Ceriu
0f0acc89d6 #1098 - Various changes following code review. 2021-10-13 11:26:27 +03:00
Stefan Ceriu
cf03af3629 #1098 - Fix performance issues on item list change. Rebuild the whole list instead of comparing changed items. 2021-10-13 11:26:27 +03:00
Stefan Ceriu
56a7da7759 #1098 - Fixed iOS 15 issues. 2021-10-13 11:26:27 +03:00
Stefan Ceriu
3de15b914c #1098 - Stopped relying on the SDK in the suggestionService and added unit and ui tests. 2021-10-13 11:26:27 +03:00
Stefan Ceriu
9b3e68a3db #1098 - Working real user suggestion inside the main application. 2021-10-13 11:26:22 +03:00
Stefan Ceriu
109a4e7157 #1098 - Added user suggestions to the main app timeline. 2021-10-13 11:25:36 +03:00
Stefan Ceriu
7de24ab628 #1098 - Generated UserSuggestion from template, got initial UI working and automatically updating. 2021-10-13 11:24:46 +03:00
David Langley
89bf79df7d CoordinatorParamters, Type -> Protocol, remove MX Prefix. 2021-09-08 15:47:24 +01:00
David Langley
2b2275d0d7 Add Simple Template Example
- Add a simple Template example that shows a user profile with avatar, displayName and presence.
- ScreenCoordinator: closure based with less protocols and delegates.
- Reducer: Reducer function that manages all state modifications.
- SwiftUI View: Decomposes UI into appropriate sub components.
- Uses Theme and Dependency Management Infrastructure
2021-09-06 17:12:31 +01:00
David Langley
e984457941 Move complete room notification settings module to RiotSwiftUI and fix naming/directory structure. 2021-09-02 14:09:29 +01:00
David Langley
43ad395e8d move full module and reorganize folders 2021-09-02 10:00:59 +01:00
David Langley
aacbb799a5 Fix filename typo 2021-09-02 09:43:54 +01:00
David Langley
790301ccb6 Finish extraction
- Moves SwiftUI code out of Riot and into RiotSwiftUI which has no dependency on Matrix SDK.
- Git wasn't smart enough to see the file moves. Most feature function has remain unchanged. 1 change I did make was remove NotificationSettingsViewModel's dependence on MxPushRule, so that the view model could be moved into RiotSwiftUI.
- Add LocaleProvider to abstract VectorL10n's use of Matrix SDK language so it can be used in RiotSwiftUI.
- Split Theme into UKit/SwiftUI version to remove RiotSwiftUI's dependence on ThemeService and ThemeV1.
- Migrated from ThemeObserver to ThemePublisher. We push updates to ThemePublisher so that we can remove ThemeService as dependency.
- Add .DS_Store to .gitignore
2021-09-01 12:34:38 +01:00