Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supplementary Tracking Fixes #433

Merged
merged 10 commits into from
Sep 20, 2023
Merged

Supplementary Tracking Fixes #433

merged 10 commits into from
Sep 20, 2023

Conversation

kyleve
Copy link
Collaborator

@kyleve kyleve commented Sep 23, 2022

This fixes an issue where during supplementary updates, views weren't associated properly. This resulted in some updates, like light to dark mode changes being skipped in supplementary views.

https://block.atlassian.net/browse/UI-4473

Checklist

Please do the following before merging:

  • Ensure any public-facing changes are reflected in the changelog. Include them in the Main section.

* origin/main: (88 commits)
  Prep 11.0 release
  Paged list layouts now support using bounds, instead of itemInsets.
  Prep 10.3.1 release
  Update CHANGELOG
  iOS 17.0b1 first responder changes
  Update docs
  Prep 10.3.0
  Allow programmatically showing leading and trailing swipe actions
  Update docs
  Prepare 10.2.0
  PR feedback updates
  Separated out OverlayDecorationView and UnderlayDecorationView
  Updated Changelog
  Added an underlay view to item cells
  Added read-only dynamic member lookup support to ListProperties (#484)
  Release 10.1.0 (#482)
  Bump Blueprint dependency to 2.0
  Replace xcversion with xcodes
  Fix issue where first tap on a header with no pressed background would eat the tap
  Re-generate the documentation
  ...
/// has already assigned us a new supplementary view. Make sure the one
/// we're being asked to remove is the one we know about, otherwise, do nothing.

guard view === visibleContainer else {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❇️ This is the specific, actual fix.

@kyleve kyleve changed the title [WIP DNR] Supplementary Tracking Fixes Supplementary Tracking Fixes Sep 18, 2023
@kyleve kyleve requested a review from a team September 18, 2023 15:22
* origin/main:
  Release 13.0.0 (#504)
  Update KeyboardObserver (#499)
  CONV-1435: Gravity layout frame change fix - Before: Layout gravity doesn't take into account frame changes. For example, when the orientation changes the scroll position (relative to the bottom) changes - After: Layout gravity takes frame changes into account so the when the frame changes the scroll position relative to the bottom remains unchanged
  Release 12.0.0 (#501)
  CONV-1435: Add scroll indicator insets to customScrollViewInsets (#500)
  CONV-1435: Gravity layout - Adds a new Chat App demo and a new behavior called verticalLayoutGravity.  When verticalLayoutGravity is set to bottom, scrolling works the way you would expect for a messaging app.
  expose onKeyboardFrameWillChange on ListProperties
  onKeyboardFrameWillChange: Improve CHANGELOG, DocC
  CONV-1435: Custom keyboard adjustment mode - Adds a .custom KeyboardAdjustmentMode to fully customize inset behavior
  remove contentOffset from isContentScrollable calculation, improve comment
  Add ListView#isContentScrollable property - Add this property to ListView. It will be used in conjunction with upcoming so-called gravity scrolling changes to workaround an animation issue with paging
  Update CI script to reference the `xcodesorg/made/xcodes` package for installing simulator runtimes. (#494)
@kyleve kyleve marked this pull request as ready for review September 20, 2023 18:12
@kyleve kyleve merged commit 6cb7f13 into main Sep 20, 2023
4 checks passed
@kyleve kyleve deleted the kve/supplementary-fixes branch September 20, 2023 21:01
kyleve added a commit that referenced this pull request Sep 21, 2023
kyleve added a commit that referenced this pull request Nov 19, 2023
…rovements

* origin/main: (123 commits)
  Update CHANGELOG.md (#508)
  Revert "Supplementary Tracking Fixes (#433)"
  Revert "Force layout before appear, to avoid animated updates (#505)"
  Force layout before appear, to avoid animated updates (#505)
  Update workaround versions (#506)
  Fix supplementary view + contained first responder reuse issue (#507)
  Supplementary Tracking Fixes (#433)
  Release 13.0.0 (#504)
  Update KeyboardObserver (#499)
  CONV-1435: Gravity layout frame change fix - Before: Layout gravity doesn't take into account frame changes. For example, when the orientation changes the scroll position (relative to the bottom) changes - After: Layout gravity takes frame changes into account so the when the frame changes the scroll position relative to the bottom remains unchanged
  Release 12.0.0 (#501)
  CONV-1435: Add scroll indicator insets to customScrollViewInsets (#500)
  CONV-1435: Gravity layout - Adds a new Chat App demo and a new behavior called verticalLayoutGravity.  When verticalLayoutGravity is set to bottom, scrolling works the way you would expect for a messaging app.
  expose onKeyboardFrameWillChange on ListProperties
  onKeyboardFrameWillChange: Improve CHANGELOG, DocC
  CONV-1435: Custom keyboard adjustment mode - Adds a .custom KeyboardAdjustmentMode to fully customize inset behavior
  remove contentOffset from isContentScrollable calculation, improve comment
  Add ListView#isContentScrollable property - Add this property to ListView. It will be used in conjunction with upcoming so-called gravity scrolling changes to workaround an animation issue with paging
  Update CI script to reference the `xcodesorg/made/xcodes` package for installing simulator runtimes. (#494)
  Swipe Action Updates (#489)
  ...
kyleve added a commit that referenced this pull request Dec 8, 2023
…rements

* origin/main:
  Update CHANGELOG.md
  Allow other panning to work on other cells while another is open
  Remove `isTouchWithinSwipeActionView`
  Update swipe actions to more closely match iOS behavior
  Update CHANGELOG.md
  Release 13.1.0
  Only return existing view if there is a contained first responder
  Self code review
  Fixed an issue where a crash would occur when applying an external update to list content while a live reorder event was occurring.
  Remove override of performBatchUpdates, it causes warnings for consumers
  Update CHANGELOG.md (#508)
  Revert "Supplementary Tracking Fixes (#433)"
  Revert "Force layout before appear, to avoid animated updates (#505)"
kyleve added a commit that referenced this pull request Jan 10, 2024
@kyleve kyleve mentioned this pull request Jan 10, 2024
1 task
kyleve added a commit that referenced this pull request Aug 1, 2024
* origin/main:
  Prepare 14.3.0 (#540)
  Custom Update Animations (#539)
  Update version to 14.2.0
  Prepare 14.2.0 release, which contains a Blueprint update
  Bumping versions to 14.1.0 (#535)
  reorder control now proxies accessibility into a seperate element (#533)
  Prepare 14.0.3
  Fix a crash that could occur during cell reuse if a list contained different types of headers. The wrong ObjectIdentifier was being compared and stored.
  Get a repro for the reordering crash reported in #market-ios
  chore: Generated documentation now uses a static copyright notice to avoid noisy diffs (#530)
  Bumping versions to 15.0.2
  fix: Fix tap gesture swallowing touches in swipe actions view
  Bump to 14.0.1
  Fix SPM Blueprint dependency
  Release 14.0.0, update BlueprintUI to 3.0.0 (#525)
  chore: iOS 15 deployment target bump [UI-5187] (#524)
  chore: Bump CI to Xcode 15.1. Bump gems. [UI-5186] (#523)
  fix: don't cancel touches in view for tap gesture recognizer
  Revert weak change
  Revert "Revert "Supplementary Tracking Fixes (#433)""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants