3180 Commits

Author SHA1 Message Date
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 084e1fad36 Cache room display names 2022-05-16 13:28:35 +03:00
Stefan Ceriu 5fc10c26a8 Fix various warnings raised by sonarcloud 2022-05-12 14:06:58 +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 cd77a7e265 Rewrite timeline top and bottom detection on top of CurrentValueSubjects 2022-05-02 13:00:55 +03:00
Stefan Ceriu 49bf8e2dcf Fix splash screen app logo image name. 2022-04-30 09:42:11 +03:00
Stefan Ceriu 40179179a1 Small tweaks. 2022-04-30 09:41:52 +03:00
Stefan Ceriu 0faac20b04 Bootstrap custom version of the app for UI tests 2022-04-29 12:58:07 +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 2e92653c9d Fix app-logo splash screen reference 2022-04-14 17:32:39 +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 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 8d916e3692 Tweak log format and benchmark messages 2022-04-12 11:30:12 +03:00
Stefan Ceriu 916ac2dcee Stop blocking on loading the current user display name and avatar. Improve perceived app startup times. 2022-04-08 14:06:26 +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 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 77942b3dc0 Fixed media provider performance. 2022-04-01 10:14:06 +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 b50bf724a3 Resetting stored tokens on any login restoration failures. 2022-03-31 12:35:40 +03:00
Stefan Ceriu 8cefe48d36 Fixed text attributes missing from blockquote components. Added more tests. 2022-03-31 11:23:15 +03:00
Stefan Ceriu a74849b79c Showing day name on timeline separators. 2022-03-31 11:22:49 +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 9db1dda718 Added AttributedStringBuilder tests. 2022-03-30 14:32:41 +03:00
Stefan Ceriu 4053841e2f Removed manual message sorting after rust sdk fix. 2022-03-29 18:04:19 +03:00
Stefan Ceriu c4e5689272 Increased back pagination did reach top trigger offset. 2022-03-29 16:08:46 +03:00
Stefan Ceriu 88dd482be1 Reduced timeline sender details header size, removed divider. 2022-03-29 16:02:29 +03:00
Stefan Ceriu af5b75cde0 Correct dark theme support with html rendering. 2022-03-29 14:52:21 +03:00
Stefan Ceriu ab25689e38 Added support for emotes and notices. 2022-03-29 12:13:41 +03:00
Stefan Ceriu 2fcbd33158 Reimplemented ObjC attributed string handling in swift. 2022-03-28 21:16:18 +03:00
Stefan Ceriu e069aa48dd Fixed link matching regex. 2022-03-25 12:40:18 +02: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 fde8ce63eb Reload the timeline on content size category changes, dynamic type support. 2022-03-24 14:49:09 +02:00
Stefan Ceriu 762b497940 Sort incoming messages client side, workaround backward stream issues (revisit later with new Rust implementation). 2022-03-24 14:48:38 +02:00
Stefan Ceriu cf42d61d27 Initial timeline HTML support. 2022-03-24 14:47:55 +02:00
Stefan Ceriu d3588cf6f1 Filter out space and tombstoned rooms from the rooms list. 2022-03-22 10:27:26 +02:00
Stefan Ceriu 5c7761e851 Added html body to text messages and rendering through Apple's default NSAttributedString.DocumentType.html parser 2022-03-22 10:09:46 +02:00
Stefan Ceriu d201ca1ad8 Added user display names and switched to using an avatar url directly in the homeScreen viewModel for the current user. 2022-03-21 19:35:24 +02:00
Stefan Ceriu c7878d7f5b FIxed full screen loading indicators and toasts not showing up on MacOS. 2022-03-18 14:36:39 +02:00