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

Chore: Aligns "Picker Input Context" class names #2209

Merged

Conversation

leekelleher
Copy link
Member

@leekelleher leekelleher commented Aug 14, 2024

Updated description

Following the Picker Search feature work, (PR #2206) and @madsrasmussen's feedback on this original PR, the Umb{entity}PickerContext class names have become confusing, so to clarify this, I've aligned the Umb{entity}PickerInputContext class names (note, added "Input") to be clearer.

With export aliases for backwards-compatibility, along with a deprecation notices.

Original description

I'd noticed that the "input-member.context.ts" and "input-member-group.context.ts" both export a type called UmbMemberPickerContext, which seems to be a copy & paste typo in the member group one.

This PR corrects the member group export and adds an alias for backwards-compatibility, along with a deprecation notice.

Types of changes

  • Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

@leekelleher leekelleher enabled auto-merge (squash) August 14, 2024 10:26
Adds an export alias for backwards-compatibility, with a deprecation notice.
Following the conversation: #2209 (comment)
and the Picker Search feature: #2206
the `Umb{entity}PickerContext` class names will become confusing,
renaming to `Umb{entity}PickerInputContext` (note "Input") should be clearer.
@leekelleher leekelleher force-pushed the v14/chore/corrects-member-group-picker-context-export branch from 70fc0cf to 05310d3 Compare August 19, 2024 12:42
@leekelleher leekelleher changed the title Chore: Corrects UmbMemberPickerContext to UmbMemberGroupPickerContext Chore: Aligns "Picker **Input** Context" class names Aug 19, 2024
@leekelleher leekelleher changed the title Chore: Aligns "Picker **Input** Context" class names Chore: Aligns "Picker Input Context" class names Aug 19, 2024
@madsrasmussen madsrasmussen self-assigned this Aug 26, 2024
Copy link

@leekelleher leekelleher merged commit 3c0d3c3 into main Aug 26, 2024
8 checks passed
@leekelleher leekelleher deleted the v14/chore/corrects-member-group-picker-context-export branch August 26, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants