* 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.
* I can't believe this works so well.
* code improvements
* we probably just need to change the TODO
* better naming
* done, there is only one small bug to fix
* fix
* this needs to be decided
* fixed the backpagination issue and improved the scroll to top gesture triggered by tapping on the clock (but won't work when I am at the bottom)
* fix
* Fix visibility of navigation bar when searching the forwarding screen.
- Update Introspect and replace deprecated calls with new ones.
- Remove obsoleted colours from DesignKit.
* animate only 2 seconds after the appearence
* scrolling is stable
* code improvement
* comment and removing code that is not necessary anymore
* feature flag
* comment
* better code
* the day divider ID is the timestamp itself as ISO
* Apply suggestions from code review
Co-authored-by: Alfonso Grillo <alfogrillo@gmail.com>
* format fix
---------
Co-authored-by: Alfonso Grillo <alfogrillo@gmail.com>
* 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.
* Add the add more button and change the layout to be reactions specific and account for the add more button specifics.
* Update CollapsibleReactionLayout.swift
* Rename lines to rows, to hopefully ease the incoming merge.
* Add LayoutValueKey to organise subviews by item type.
- create ReactionLayoutItemType to tag subviews with ReactionLayoutItem
- Add LayoutValueKey support to the layout mocks
- Fix some mistakes in the merge
- Make the test code a bit more DRY
- Make the animation of the addMore and collapse buttons consistent
* Fix naming of the add more button label
* Address comments and fix padding
- Fix typos
- Use pdf/svg for icon
- Fix incorrect padding from a bad merge
* Fix "Add more" button padding to match designs
* Update snapshot test reference images.
* Fix naming, add Preserves Vector Data
* Sort timetamps on timeline and show the date on the summary view
- Sort reaction aggregations on the timeline by count and then by most recent timestamp ascending(tagging new reactions on the end)
- Show the timestamp on the summary view and sort descending(newest at the top)
* Address comments.
- Fix ID case.
- Improve readability of components in body.
- Improve the comments that describe the sorting.
- Add `weak` to mock variables called `delegate`
- Delete `UserNotificationCenterSpy` and use `UserNotificationCenterMock`
- Remove Task.sleep in favour of mock closures along with expectations/fulfillment.