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

fix(web): correctly track context transitions caused by applying suggestions 🖲️ #12927

Open
wants to merge 2 commits into
base: fix/web/context-match-path-ordering
Choose a base branch
from

Conversation

jahorton
Copy link
Contributor

@jahorton jahorton commented Jan 17, 2025

To be able to properly present a reversion option after multiple edits to context, it's wise to ensure we properly track context changes caused by applying suggestions. After all, if we can't do that, it'll be hard to compare the 'before' and 'after' states in order to handle things properly.

This also adds two new unit tests targeting the specific scenario being addressed. Minor maintenance was needed to maintain the recently-added unit test from #12864, as the scenario shares much of the same control flow and logic as the newly-handled case.

@keymanapp-test-bot skip

@keymanapp-test-bot keymanapp-test-bot bot added this to the A18S19 milestone Jan 17, 2025
@jahorton jahorton force-pushed the fix/web/context-match-applied-suggestions branch from d8500ee to 5633b9c Compare January 17, 2025 03:41
@jahorton jahorton marked this pull request as ready for review January 17, 2025 03:42
@jahorton jahorton requested a review from mcdurdin as a code owner January 17, 2025 03:42
@jahorton jahorton changed the title fix(web): correctly track context transitions caused by applying suggestions fix(web): correctly track context transitions caused by applying suggestions 🖲️ Jan 17, 2025
@darcywong00 darcywong00 modified the milestones: A18S19, A18S20 Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants