Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
During this transition to new label names, some clients may not update immediately. This PR ensures basic backwards compat for global label settings only between old/new clients.
Old clients of course behave the same. Updated clients with this new SDK (once published) will double-write new labels to old labels in an effort to keep them in sync. So changes to new label settings will be reflected in the old clients.
If a user edits a setting in an older client (without the double-write), and subsequently loads their account in an updated client, this PR remaps old values to new values. This will result in the updated client showing the correct values in label settings. If the user then updates label settings in the updated, client, the double write will take effect, and the old setting will in turn be updated. Subsequent reloads of the updated client will remap old to new, but the values will be the same.