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

Don't warn when dismissing two layers of tree nav #3037

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

stephencelis
Copy link
Member

Currently, popping two layers in a nav tree will cause intermediate, invalid stores to send dismiss actions when they shouldn't. This branch avoids this by checking the store's validity before sending the action along.

Fixes #3031.

Currently, popping two layers in a nav tree will cause intermediate,
invalid stores to send `dismiss` actions when they shouldn't. This
branch avoids this by checking the store's validity before sending the
action along.

Fixes #3031.
@stephencelis stephencelis requested a review from mbrandonw April 30, 2024 18:25
@stephencelis stephencelis merged commit b5f3786 into main Apr 30, 2024
7 checks passed
@stephencelis stephencelis deleted the fix-inner-dismiss-warning branch April 30, 2024 18:31
cgrindel-self-hosted-renovate bot referenced this pull request in cgrindel/rules_swift_package_manager May 1, 2024
…ure to from: "1.10.2" (#1055)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[pointfreeco/swift-composable-architecture](https://github.com/pointfreeco/swift-composable-architecture)
| patch | `from: "1.10.1"` -> `from: "1.10.2"` |

---

### Release Notes

<details>
<summary>pointfreeco/swift-composable-architecture
(pointfreeco/swift-composable-architecture)</summary>

###
[`v1.10.2`](https://github.com/pointfreeco/swift-composable-architecture/releases/tag/1.10.2)

[Compare
Source](https://github.com/pointfreeco/swift-composable-architecture/compare/1.10.1...1.10.2)

#### What's Changed

- Fixed: `@Shared(.appStorage)` initializer with explicit `= nil` should
not crash
([https://github.com/pointfreeco/swift-composable-architecture/pull/3035](https://github.com/pointfreeco/swift-composable-architecture/pull/3035)).
- Fixed: Don't warn when dismissing two layers of tree-based navigation
([https://github.com/pointfreeco/swift-composable-architecture/pull/3037](https://github.com/pointfreeco/swift-composable-architecture/pull/3037)).
- Fixed: Don't emit perception warnings when deploying to 17.0.0
([https://github.com/pointfreeco/swift-composable-architecture/pull/3036](https://github.com/pointfreeco/swift-composable-architecture/pull/3036)).
- Infrastructure: Fix typo in Reducers article (thanks
[@&#8203;larryonoff](https://github.com/larryonoff),
[https://github.com/pointfreeco/swift-composable-architecture/pull/3034](https://github.com/pointfreeco/swift-composable-architecture/pull/3034))

#### New Contributors

- [@&#8203;larryonoff](https://github.com/larryonoff) made their first
contribution in
[https://github.com/pointfreeco/swift-composable-architecture/pull/3034](https://github.com/pointfreeco/swift-composable-architecture/pull/3034)

**Full Changelog**:
pointfreeco/swift-composable-architecture@1.10.1...1.10.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM2LjEwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
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.

Dismiss more than one feature
2 participants