Skip to content

Conversation

tyb-talks
Copy link
Contributor

This PR does a setting migration for deprecated icon names. For more detail, refer to the announcement at https://meta.discourse.org/t/-/325349.

@tyb-talks tyb-talks force-pushed the dev-update-deprecated-icons-in-settings branch from 1d4454c to 7f0f65d Compare March 11, 2025 03:55
Comment on lines +24 to +26
if (parts[1].toLowerCase() === "divider") {
return item;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

early return here to mirror the same setting parsing logic at

if (text.toLowerCase() === "divider") {
const divider = {
parent,
divider: true,
};
return SubmenuItemsArray.push(divider);
}
.

@tyb-talks tyb-talks merged commit aa03aac into main Mar 11, 2025
4 checks passed
@tyb-talks tyb-talks deleted the dev-update-deprecated-icons-in-settings branch March 11, 2025 23:37
tyb-talks added a commit that referenced this pull request Mar 24, 2025
…tion (#45) This is almost exactly the same as #43, except for changes to the setting defaults. I missed this out in the last PR, so any new setting updates that took their cue from the default values could have resulted in deprecated icon names making it into the persisted values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants