1375 Commits

Author SHA1 Message Date
Doug 266ca656fc Add Screen suffix to all screens. (#125) 2022-06-30 16:48:46 +01:00
Doug baeffd2121 #40: Add server selection screen from EI. 2022-06-30 10:49:00 +01:00
Anderas dd739d4766 Implement new ClientBuilder pattern for login (#120)
* Implement new ClientBuilder pattern for login

* Add changelog
2022-06-30 08:10:59 +01:00
ismailgulek 7bd4763662 Add localizations to UI tests target (#118) 2022-06-29 18:32:14 +03:00
ismailgulek dbee1924eb Background execution (#100)
* #99 Implement background tasks

* #99 Add changelog

* #99 Fix some code smells

* #99 Use background tasks in room timeline controller

* #99 Move background task service into room proxy and media provider
2022-06-29 13:03:28 +03:00
Doug d74158ced1 #40: Add the login screen from EI.
- Remove SSO and replace fallback with OIDC.
2022-06-28 12:23:35 +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 9f2ed68e37 #40: Update SplashScreen to match Element iOS. 2022-06-22 09:52:55 +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
ismailgulek 591f835811 Minimal Settings screen UI (#85)
* #37 Remove sign out button from home screen

* #37 Move crash button visibility flag to BuildSettings, import BuildSettings from test targets

* #37 Add log out button into the settings screen

* #37 Add version into the settings screen

* #37 enhance bug report parameters

* #37 Remove sign out button from home screen

* #37 Move crash button visibility flag to BuildSettings, import BuildSettings from test targets

* #37 Add log out button into the settings screen

* #37 Add version into the settings screen

* #37 enhance bug report parameters

* #37 Add changelog

* #37 Fix code smells and PR remarks
2022-06-20 15:27:02 +03:00
Doug 8653f1dd6b #40: Add UserSessionStoreProtocol.
Only log out of the specific account.
Add tests for the keychain controller.
Expand test coverage.
PR comments
2022-06-16 10:58:39 +01:00
Doug abd6a9c7c0 #40: Self review for PR 2022-06-16 10:58:39 +01:00
Doug 211bc63bc8 #40: Create UserSessionStore and update state machine for session restoration. 2022-06-16 10:58:39 +01:00
Doug 8dc5359a44 #40: Add OnboardingSplashScreen from EI.
Update SplashScreen for EXI
2022-06-16 10:58:39 +01: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
Doug 596cf2df0b #43: Add the DesignKit package to the project.
* Add ElementTextFieldStyle and static style properties.
* Rename button styles, support sizes and simplify colour.
2022-06-09 14:44:46 +01:00
ismailgulek fa0721b160 Rageshake Service (#70) 2022-06-06 12:38:07 +03:00
Stefan Ceriu 1e7243fcf9 #66 - Rebuild the AppCoordinator on top of a SwiftState FSM 2022-06-02 13:23:35 +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 e9f07a98b9 Update project folllowing xcodegen changes. 2022-05-16 13:27:26 +03:00
Stefan Ceriu 2f6015b97b Add template to xcodegen, fix build and tests 2022-05-12 14:06:58 +03:00
Stefan Ceriu 4b728f3d09 Update UserIndicators with newer implementation from Element (modified to work here) 2022-05-12 14:06:58 +03:00
Stefan Ceriu 5fb981423b Gather coverage reports only for ElementX 2022-04-29 12:58:07 +03:00
Stefan Ceriu 0faac20b04 Bootstrap custom version of the app for UI tests 2022-04-29 12:58:07 +03:00
Stefan Ceriu cfd0b14c81 Setup fastlane test lane and github action 2022-04-29 12:58:07 +03:00
Stefan Ceriu 1b1b541a63 vector-im/element-x-ios/issues/14 - Initial Danger setup 2022-04-28 12:19:18 +03:00
Stefan Ceriu 0a0f41689a Setup default accent color for the whole project. 2022-04-28 11:29:18 +03:00
ismailgulek 25eea4bcf1 Localizations Setup (#6)
* Move assets into ElementX folder

* Add first version of localizer script

* Add generated strings & tests & fallback mechanism

* Rename strings file to Localizable

* Rename Assets to Resources

* Calculate preferred languages only when needed, remove share extension check

* Add comments in the localizer script

* Add GH workflow to push issues to the [ElementX board](https://github.com/orgs/vector-im/projects/43)

* Closes #16 - Add license file

* New version of localizer script, handle pluralization

* Move assets into ElementX folder

* Add first version of localizer script

* Add generated strings & tests & fallback mechanism

* Rename strings file to Localizable

* Rename Assets to Resources

* Calculate preferred languages only when needed, remove share extension check

* Add comments in the localizer script

* New version of localizer script, handle pluralization

* Revert login button text

* Add multiple dialect pluralization, fix string formatting

Co-authored-by: manuroe <manu@matrix.org>
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2022-04-26 22:48:17 +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 81646ec917 Treat warnings as errors. 2022-04-14 16:33:54 +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 3c0ca95e8f Added custom enviroment flags for unit and UI tests. 2022-04-13 17:19:11 +03:00
Stefan Ceriu c605dca245 Add the project.yml file to the generated project, switch all dependencies to update up to the next major version 2022-04-13 15:38:56 +03:00
Stefan Ceriu fc692a1ffe Enabled code coverage gathering 2022-04-13 13:57:27 +03:00
Stefan Ceriu 9c7d381f37 Correct versions and swiftlint build script. 2022-04-13 13:57:27 +03:00
Stefan Ceriu 35aad75326 Working tests, no more xcconfig files. 2022-04-13 13:57:27 +03:00
Stefan Ceriu 865b931c80 Initial setup. 2022-04-13 13:57:27 +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 88a0654d23 Added methods for tracking call durations. 2022-04-05 10:01:16 +03:00
Stefan Ceriu 711857ac9c Caching memberDetailProviders, showing sender display names in home screen last message, cleaner homescreen design. 2022-04-01 16:05:26 +03:00
Stefan Ceriu 86d85f4d2c Introduced the concepts of room summary and event brief. 2022-04-01 14:07:33 +03:00
Stefan Ceriu 6243973e36 Added more timeline view SwiftUI previews. 2022-03-31 11:22:26 +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 9db1dda718 Added AttributedStringBuilder tests. 2022-03-30 14:32:41 +03:00
Stefan Ceriu 9169a9def9 Bumped the rust components to v1.0.7-alpha. 2022-03-29 18:14:33 +03:00