* created the list but I need to find a way to overlay it
* make the list able to have an intrinsic height
* best solution so far but does not work with expansion
* needs testing
* more scalable solution
* tests completed
* changelog
* injecting the media provider
* fix tests
* pr suggestions
* better testing
* just added the isThreaded property to message based events
* done but I should add a bunch of tests for images and videos and locations
* handling for image and videos, but locations might need to be double checked
* code improvement
* better tests and removed code that is not used, we need to fix first the appearence of replies
* bubble style is solved, we now need plain style
* also added plain style
* better handling for bubble style
* rounded corner only for bubbles in location
* fix for wrong aspect ratio in replies
* all changes done
* better testing
* swift format
* changelog
* PR comments and rebase.
* Simplify corner radius on location timeline view.
---------
Co-authored-by: Doug <douglase@element.io>
* Handle link opening on the top most levels and prepare for percolating them throughout the app
* Add support for a custom app scheme
* Add specific AppRoute parsers.
* Integrate custom scheme in the AppRouteURLParser
* Switch to `element://call` and cleanup route parsing
* Initial integration of RTE
* Fix `clipped`, `focused` and composer view type
* Remove horizontal padding
* Add `ComposerToolbar` mock
* Restore `composerFocusedSubject`
* Allow using HTML from RTE on message sent
* Fix new message content API
* Add feature flag for Rich Text Editor
* Extract composer toolbar to a dedicated component
* Use publisher for composer mode
* Introduce `RoomScreenComposerProvider`
* Add `ComposerToolbarViewModelTests`
* Rename protocols and add passthrough subjects for focused and composer mode
* Remove `ComposerToolbarViewActionHandler` and `ComposerToolbarCoordinatorParameters`
* Remove `RoomScreenComposerActionHandlerProtocol` and `RoomScreenComposerProviderProtocol`
* Re-arrange code a bit
* Remove composer mode being stored on `RoomScreen`
* Rename `process(viewAction: ComposerToolbarViewAction)` to `process(composerAction: ComposerToolbarViewAction)`
* Replace PassthroughSubject with direct function call
* Remove `ComposerToolbarCoordinator`
* Remove `cancelEdit` and `cancelReply` from external composer view model actions
* Use `RoomScreenComposerAction` as a sub-`RoomScreenViewModelAction`
* Move `ComposerToolbarViewModel` callback to actionsSubject
* Move `RoomScreenViewModel` callback to actionsSubject
* Fix `RoomScreenViewModelTests`
* Rename `composerAction` parameter to `roomAction`
* Fix unit tests
- Highlight selected emoji in picker
- Correct add more button in menu
- Fix the order of count/key label on outgoing messages
- Fix the size padding of emoji in reactions
* revert but also allows us to keep the existing SwiftUI implementation if we need it
* code improvement
* pr review
* FF is volatile
* message that communicates that is volatile
* swiftUI conversion + scroll to bottom
* remove unused
* back pagination implemented, however when a lot of elements are in the scroll the perfomance diminishes not sure what may be causing it
* scroll adapter solution
* way better
* works but height animation in cells are broken
* code improvement
* everything implemented
* rebase fix
* fix
* doc
* fix test compilation
* code improvement and animation improvement
* code improvement
* code improvements
* tests updated.
* pr comments
* better identifiers
* fix
* some PR comments
* pr comments
* Fix constant Create Room button animation on macOS.
* Allow right-clicking on timeline items to work again on macOS.
* Use inline media upload previews on macOS
This comes with the caveat that the previews are no longer interactive.
* Add expand/collapse UI for reactions
- Adds a CollapsibleFlowLayout for controlling the layout
- Adds tests for this layout and some mocks for testing layouts generally
- Improves the rendering of the reaction buttons which were not pixel perfect
- Adds the UI for the expand collapse buttons including the count of hidden items in the collapsed state.
* Add comment for reactionsCollapsed binding.
* Remove Flow and simplify implementation
- Remove SwiftUI-Flow
- Add strings by importing from Localyse
- Remove count on expand button as requires GeometryReader and can cause loops
- Don't use GeometryReader for hiding reactions with opacity(just put them way off screen for now)
- Fix unit and UI tests
* Address PR comments
- use synthesized inits
- use rows rather than lines for naming flow layout
- other naming improvements
- reactions were already rendered in another ui test, removing my test on favour of those and updating the screenshots for those.