* refactored the suggestion item structure
to scale with the room pill
* Implemented a way for the rooms
to appear in the suggestions view for the RTE, however I need to add the pills to the composer and the compatibility with the plain text composer
* small code correction
* fix
* fixed a bug where the suggestion wasn't returning
the right suggestion type and the suggestion text properly
* implementation done!
also updated some tests, but we need more of them
* updated toolbar view model tests
* updated tests
* updated preview tests
* renamed the Avatars case for the suggestions
* added a way to render the room and the message
pills, but is WIP
* permalinks now get converted into pills!
* fixed an issue where room address mentions
were not adding a URL properly but a string
* updated tests
* c
* Revert "c"
This reverts commit 5c80252fa23dba7e4d44f2a07fbf1e9500e37c82.
* updated tests
* more tests
* created APIs to get a specific RoomSummary
given the id or the alias
* small mention builder improvement
* pr suggestions
* Add the networkMonitor to the NSE and delete the old MockMediaLoader
* Generate a MediaLoaderMock through AutoMockable and use it in the MediaProviderTests
* Implement an ImageProvider mechanism that automatically tries reloading images when connectivity is established again and use it for LoadableImages
* Merge the ImageProvider protocol back into the MediaProvider
* Address PR review comments
* Provide a default sdk client request configuration
* Address tasks not automatically cancelling themselves when views get deallocated
* Move ComposerToolbar files to withing the RoomScreen folder (as it's not a screen on its own)
* Switch the plain composer to NSAttributedStrings
* Enable suggestions on the plain composer
* Introduce a new `MatrixUserDisplayName` attributed string attributed and use it for mention building
* Implement mention pill rendering and sending on the plain message composer
* Fix plain composer snapshot tests
* Fix broken formatting options layout
* Add clarifying comment.
* snapshot tests
* making the padding of the composer internal
* setting the max width using the line fragment
* setting the max width using the line fragment
* Update ElementX/Sources/Screens/ComposerToolbar/View/CompletionSuggestionView.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
* updated tests and pr suggestions
* better stencil
---------
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
* for now I am using a local RTE solution, need to fix one test
* fixed a test
* new rte version
* pr suggestions
* @room added to the suggestions
* removed empty space
* revert
* code improvement
* project updated
* package
* for now this can only work locally
* works
* added a test
* updated RTE
* revert package
* pr suggestion
* reverting package versions
* better naming
* Cache TimelineBubbleLayout subview sizes
* Cache MessageText sizes, avoid extra updates
* Only use the `CollapsibleReactionLayout` if there's more than 5 reactions on a particular message
* Upgrade Sentry to 8.13.0, disable various options as they're not useful and impact performance
* Address PR comments, fix unit tests
* provider can now check the current session
* More testable code
* created the test condition
* it works but not always not sure why, need to dig deeper
* sadly we need to use textkit 1 to solve this issue
* removed developer option screen test
* this experimental solution kinda works but I need a way to pill recomputation is weird
* format
* display improvement
* better and faster solution
* pilished the code
* better coloring
* swift format
* just need to solve the caching issue
* fix caching issue
* tests done!
* changelog
* pr comments addressed
* all pr comments addressed
* docs
* line lenght
* updated tests and fixed a parsing permalink issue
* MentionBuilder
* pr comments
* swiftformat
* code blocks should not have links
* Update ElementX/Sources/FlowCoordinators/RoomFlowCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
* Update ElementX/Sources/Services/Client/ClientProxy.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
* Update UnitTests/Sources/AttributedStringBuilderTests.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
* Update ElementX/Sources/UITests/UITestsAppCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
* Update ElementX/Sources/Other/Pills/PillAttachmentViewProvider.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
* Update ElementX/Sources/Other/Pills/MentionBuilder.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
* pr comments
* swiftformat
---------
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
* MessageText component
* swiftformat
* fix swift format being a bit crazy
* link tapping support
* new test + fix for font + dynamic support
* fix for blockquote issue.
* code improvement
* small code improvement and fixed tests not working due to weird swiftformat behaviour
* fix boost emoji
* updated swiftformat
* better testing
* UI tests updated
* fixing the issue with the cache overriding the size category changes
* whitespaces
* appropriate color + better info plist parsing
* cleaned the code and fixed links
* tapping link fixes
* list bug fix
* ui tests regenerated