Doug
2986f85bcb
Revert "Add redaction menu (disabled)."
...
This reverts commit bd4a698f8b .
2022-09-14 09:44:15 +01:00
Doug
bd4a698f8b
Add redaction menu (disabled).
2022-09-14 09:40:00 +01:00
Stefan Ceriu
4660f096f8
Fixes vector-im/element-x-ios/issues/117 - Event permalink timeline action
...
* moved NSRegularExpression outside of the AttributedString builder into the MatrixEntityRegex
* fixed eventId v3 regex
* added permalink builders for users, room identifiers and aliases, and events
* added timeline item permalink contextual menu actions and error alerts
* added an app wide ServiceLocator and moved the top level userIndicatorPresenter to it.
* added URL constructor that takes a StaticString and returns an non-optional
* Include Unit and UI tests in the swiftlint search paths
2022-09-12 21:34:53 +03:00
ismailgulek
2cb6dc1cd9
Screenshot tests ( #130 )
...
* #9 Add snapshot testing library
* #9 Create script to boot test simulators
* #9 Create the UI test plan
* #9 Create shared schemes for test targets
* #9 Disable split view for UI tests
* #9 Fix fastlane dependencies
* #9 Add snapshot testing to the application
* #9 assert screenshots
* #9 fix swipe gestures on iPad
* #9 Fix accessing items in session verification screen
* #9 Workaround for flaky unit test
* #9 Specify scheme for alpha build
* #9 Add reference screenshots
* Update python script path and check assets for png check
* Update script path
* Use static timezone for simulator time
* Fix build after SwiftFormat
* Add changelog
* Upload failed screenshots artifact
* Always upload artifacts
* Update boot simulator script
* Update simulator overridden time
* Install pytz before tests
* Get time from Ruby script
* Disable SwiftUI animation when running UI tests
* Update screenshots after animation setting
* Include reference images in the artifact
* Update matching precision
* Update image matching precision & revert artifact content
* Include Xcode result in the artifact
* Update test output directory
* Disable gradient on splash screen for tests
* Tap next button explicitly
* Wait a bit before checking alert
* Wait 1 second
* Run SwiftFormat on project
* Ignore temporary screenshots
* Fix most of the PR remarks
* Fix conflicts
* Bump Python version to 3
* Update reference screenshots for authentication screens
* Update SwiftFormat
* Fix flakey session verification test.
* Update scheme.
Co-authored-by: Doug <douglase@element.io >
2022-08-11 15:02:47 +03:00
Doug
4349b8fc03
#150 : Use standard file headers everywhere.
...
* Add default header in IDETemplateMacros.plist.
* Use the standard header everywhere.
2022-08-11 08:54:24 +01:00
Stefan Ceriu
7400f89f9f
Remove view background colors as they cause glitches on the navigation bar background
2022-07-28 18:16:43 +03:00
Doug
1878a16496
#40 : Use the Rust AuthenticationService.
...
* Update SDK package to 1.0.12-alpha.
* Use an app group for storage and stop stripping the http from the homeserver when configuring the service.
* Rename access token to restore token.
* Remove matrix.org server description inline with latest FTUE changes.
2022-07-27 10:57:16 +01:00
Stefan Ceriu
7d97257514
Fix SwiftFormat errors
2022-07-22 14:48:15 +03:00
Doug
25d7ba55ad
Enable blank line rules. ( #132 )
2022-07-06 16:01:50 +01:00
Doug
02eb4b35e2
Add SwiftFormat to the project. ( #129 )
...
* Run swiftformat for whitespace.
* Run swiftformat with some rules.
2022-07-06 14:49:05 +01:00
Doug
266ca656fc
Add Screen suffix to all screens. ( #125 )
2022-06-30 16:48:46 +01:00
ismailgulek
36c34503fc
Plain timeline styler ( #94 )
...
* #92 Create `TimelineStyle` and store it in user defaults
* #92 Create `TimelineStyler` observable environment object
* #92 Use timeline list row insets from the styler
* #92 remove sender view, move header into the styler views
* #92 Add timeline style option in settings
* #92 Add changelog
* #92 refactor some code duplications
* #92 Fix `TimelineStyle`targets
* #92 Fix `TimelineStyle` targets
* #92 Fix PR remarks
* #92 Fix inline PR comments
* #92 Fix UI tests
* #92 Rename bubbled to bubbles
2022-06-27 13:27:09 +03:00
ismailgulek
b6b8b4be26
Room screen: timeline message bubbles ( #91 )
...
* #34 Create `TimelineItemStylerView`
* #34 Add styler view into different type of cells
* #34 Use placeholder avatar image on room list
* #34 Add `isOutgoing` param to event based timeline item
* #34 Compute `isOutgoing` for timeline items
* #34 Update sender info view in timeline
* #34 Update mock timeline items
* #34 Rename `EventBasedTimelineView` to `EventBasedTimelineSenderView`
* #34 Change padding on timeline cells
* #34 Create `TimelineItemStylerView` to move content into a bubble if needed
* #34 Use styler view in all of the timeline item views
* #34 Make timestamp more readable on images
* #34 Little layout tweaks
* #34 Add changelog
* #34 Fix code smells
* #34 Set text colors on timeline items
* #34 Fix background color of the timeline
* #34 Fix PR remarks
* #34 Set background colors explicitly on remaining screens
* #34 Reduce min bubble width and make it a scaled metric
* #34 Refactor `PlaceholderAvatarImage` to accept a text only
* #34 Fix code smell
* #34 Fix further comments
2022-06-23 14:54:29 +03:00
Doug
5df1411a7e
Update DesignTokens to 0.0.2
2022-06-22 14:13:54 +01:00
ismailgulek
7dcd494de8
Room screen header ( #86 )
...
* #35 Create `ElementNavigationController` subclass
* #35 Add encryption icons
* #35 Add avatar and encryption badge image to the room screen view model
* #35 Create `RoomHeaderView` class
* #35 Replace room title with a RoomHeaderView instance in the toolbar
* #35 Add changelog
* #35 Introduce `UITestScreenIdentifier` and refactor ui tests
* #35 Fix old tests
* #35 add some tests for room screen
* #35 Use svgs instead of pngs
* #35 Fix PR remarks
2022-06-21 20:28:42 +03:00
Doug
272fc5000b
Use .element.accent instead of elementGreen colour asset. ( #79 )
...
Remove local copy of Element Green
2022-06-13 08:38:28 +01:00
Stefan Ceriu
7881ddc4c3
Fixes #22 - Prevent timeline jumps while animating the composer keyboard
2022-05-31 16:16:01 +03:00
Stefan Ceriu
e11b09de3d
Cleanup various animations
2022-05-31 16:16:01 +03:00
Stefan Ceriu
d7ef0cdc30
Fix copyright file headers and project template
2022-05-31 16:16:01 +03:00
Stefan Ceriu
1b4d3a650e
#53 - Refactored various components:
...
- updated the authentication coordinator to use async await
- replaced the UserSession with a ClientProxy (similar to the RoomProxy)
- renamed `completion` to `callback` on the coordinators and view models
- renamed `viewModelResult` to `viewModelAction`
- introduced back UserSession as a user specific service container
2022-05-30 16:06:11 +03:00
Stefan Ceriu
8fec97217f
vector-im/element-x-ios/issues/53 - Various tweaks following code review
2022-05-26 11:42:57 +03:00
Stefan Ceriu
f5890b68a2
vector-im/element-x-ios/issues/53 - Adopt MainActors, dispatch heavy operations do detached tasks and ensure combine publisher call back on the right queue
2022-05-26 11:42:57 +03:00
Stefan Ceriu
dde7786152
vector-im/element-x-ios/issues/53 - Converted most callback based methods to async/await
2022-05-26 11:42:57 +03:00
Stefan Ceriu
f2fe39eca7
Update templates: remove iOS 14 availability checks and stateActions + reducer.
2022-05-26 11:42:57 +03:00
Stefan Ceriu
2f6015b97b
Add template to xcodegen, fix build and tests
2022-05-12 14:06:58 +03:00
Stefan Ceriu
cd77a7e265
Rewrite timeline top and bottom detection on top of CurrentValueSubjects
2022-05-02 13:00:55 +03:00
Stefan Ceriu
1e76faa1c8
Add quote and copy context menu actions.
2022-04-18 15:13:30 +03:00
Stefan Ceriu
7f1c24059f
Implement message sending. Refactor the timeline. Fix various UI/UX issues and add scroll to bottom timeline button.
2022-04-18 10:54:48 +03:00
Stefan Ceriu
6c7dd6f6b0
Add swiftgen build script for generating image and color assets.
2022-04-14 09:25:26 +03:00
Stefan Ceriu
865b931c80
Initial setup.
2022-04-13 13:57:27 +03:00
Gil Eluard
def0683328
Fix build issues for xcode 13.3
2022-04-13 13:54:01 +03:00
Stefan Ceriu
6b42f7cc3d
Stop stealing away the timeline List's internal UITableViewDelegate. Fix context menus not working.
2022-04-08 14:05:21 +03:00
Stefan Ceriu
e20c699298
Enable encryption and add support for loading encrypted images.
2022-04-07 17:07:42 +03:00
Stefan Ceriu
8d50d4fd25
Added blurhash and correct sizes to timeline images and animations throughout the app.
2022-04-05 15:09:04 +03:00
Stefan Ceriu
49f7678ce8
Caching the room proxies and their messages. Improved performance throughout.
2022-03-31 17:45:41 +03:00
Stefan Ceriu
6243973e36
Added more timeline view SwiftUI previews.
2022-03-31 11:22:26 +03:00
Stefan Ceriu
d330950ed3
Removed extra trailing new line from the generated string builder components. Fixed blockquote rendering.
2022-03-30 16:34:43 +03:00
Stefan Ceriu
1bbc38c03e
Moved timeline views to the room screen folder. Extracted timeline code into its own component. Added more preview providers.
2022-03-30 16:33:57 +03:00
Stefan Ceriu
c4e5689272
Increased back pagination did reach top trigger offset.
2022-03-29 16:08:46 +03:00
Stefan Ceriu
ff7c8f6128
Added link detection in plain text (not available ootb in SwiftUI) and support for user, room, event and group identifiers + room aliases.
2022-03-24 16:26:58 +02:00
Stefan Ceriu
2eae0f0573
Introduced MemberDetailsProvider, caching user avatar urls and images. Various other tweaks and improvements.
2022-03-18 13:40:25 +02:00
Stefan Ceriu
120bcaf012
Loading images and user avatars.
2022-03-17 18:09:29 +02:00
Stefan Ceriu
30378ae6a9
Correctly building image items for the timeline. Missing URL and way to load image.
2022-03-16 18:02:19 +02:00
Stefan Ceriu
1ca3448ca3
Rewrote timeline back pagination on top of direct access to the underlying UITableView.
2022-03-15 13:06:50 +02:00
Stefan Ceriu
3d7b3d3d63
Introduced the RoomTimelineViewProvider with different timeline items/views. Added timeline date separators (currently breaks back pagination)
2022-03-11 14:49:09 +02:00
Stefan Ceriu
d413a67329
Switched to discrete timeline items that directly expose view builders.
2022-03-11 11:27:08 +02:00
Stefan Ceriu
8d4f6f301b
Better timeline handling, based on improved rust APIs.
2022-03-10 16:45:34 +02:00
Stefan Ceriu
d0f88356d2
Temporary - prevent backwards pagination from scrolling the timline all the way back to the begining of time.
2022-03-08 14:59:27 +02:00
Stefan Ceriu
c22d9689d4
Added room timeline screen with live events listening and back pagination. Rearranged project files.
2022-03-08 14:24:33 +02:00