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

Rename FluentAppBar/FluentAppBarItem to AspireAppBar/AspireAppBarItem #2683

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

tlmii
Copy link
Member

@tlmii tlmii commented Mar 6, 2024

The official FluentAppBar component is coming in a future version of FluentUI Blazor library. It is already showing up in preview builds on nuget.org.

We will eventually move to using the official component once it is released. But in the interim we don't want there to be conflicts when it is released. As it stands right now, updating our references to a package version that includes the official component causes errors in the Aspire dashboard because of naming conflicts (both our component and the official one are FluentAppBar/FluentAppBarItem).

To ease that a little bit, we'll go ahead and rename our component to AspireAppBar/AspireAppBarItem. Then we can update to the latest versions of the component library for other purposes (e.g. #2568) without needing to make further, unrelated changes.

Note that there's no functional changes in this PR. Its just a rename of the component.

Microsoft Reviewers: Open in CodeFlow

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-integrations Issues pertaining to Aspire Integrations packages label Mar 6, 2024
@vnbaaij
Copy link
Contributor

vnbaaij commented Mar 6, 2024

Couple of other changes needed when going to the Fluent version of these components:

  • Icon has been renamed to IconRest
  • IconSecondary has been renamed to IconActive
  • In NavMenu.razor.cs in static methods secondary parameter has been renamed to active

But once you have done that, you'll get this:
FluentAppBar 4

@JamesNK
Copy link
Member

JamesNK commented Mar 6, 2024

@vnbaaij nice

@JamesNK JamesNK merged commit 05916c1 into dotnet:main Mar 6, 2024
8 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-integrations Issues pertaining to Aspire Integrations packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants