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

[Layout] Add Id to the container div #2123

Merged
merged 4 commits into from
May 30, 2024

Conversation

StevenTCramer
Copy link
Contributor

@StevenTCramer StevenTCramer commented May 29, 2024

Pull Request

πŸ“– Description

The Id property was not being set on FluentLayout

🎫 Issues

Was trying to scope css using Id and noticed it was missing on this component.

πŸ‘©β€πŸ’» Reviewer Notes

Oh yea I fixed the version warning.

microsoft\fluentui-blazor\tests\Core\Microsoft.FluentUI.AspNetCore.Components.Tests.csproj : warning NU1603: Microsoft.FluentUI.AspNetCore.Components.Tests depends on FluentAssertions (>= 7.0.0-
tags-7.0.0-tags-7-0-0-alpha-3.1) but FluentAssertions 7.0.0-tags-7.0.0-tags-7-0-0-alpha-3.1 was not found. An approximate best match of FluentAssertions 7.0.0-tags-7-0-0-alpha-3.1 was resolved.

πŸ“‘ Test Plan

Added FluentLayout_Id Test to ensure Id attribute renders

βœ… Checklist

General

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

Component-specific

  • I have added a new component
  • I have added Unit Tests for my new compontent
  • I have modified an existing component
  • I have validated the Unit Tests for an existing component

⏭ Next Steps

microsoft\fluentui-blazor\tests\Core\Microsoft.FluentUI.AspNetCore.Components.Tests.csproj : warning NU1603: Microsoft.FluentUI.AspNetCore.Components.Tests depends on FluentAssertions (>= 7.0.0-
tags-7.0.0-tags-7-0-0-alpha-3.1) but FluentAssertions 7.0.0-tags-7.0.0-tags-7-0-0-alpha-3.1 was not found. An approximate best match of FluentAssertions 7.0.0-tags-7-0-0-alpha-3.1 was resolved.
Directory.Packages.props Show resolved Hide resolved
@vnbaaij vnbaaij changed the title Add Id to the container div in FluentLayout.razor [Layout] Add Id to the container div May 29, 2024
@vnbaaij vnbaaij enabled auto-merge (squash) May 29, 2024 21:20
@vnbaaij vnbaaij merged commit 581ca02 into microsoft:dev May 30, 2024
2 checks passed
vnbaaij pushed a commit that referenced this pull request Jun 12, 2024
* Add Id to the container div in FluentLayout.razor

* Add FluentLayout_Id test to ensure Id is rendered when supplied.

* solve the following warning by fixing version
microsoft\fluentui-blazor\tests\Core\Microsoft.FluentUI.AspNetCore.Components.Tests.csproj : warning NU1603: Microsoft.FluentUI.AspNetCore.Components.Tests depends on FluentAssertions (>= 7.0.0-
tags-7.0.0-tags-7-0-0-alpha-3.1) but FluentAssertions 7.0.0-tags-7.0.0-tags-7-0-0-alpha-3.1 was not found. An approximate best match of FluentAssertions 7.0.0-tags-7-0-0-alpha-3.1 was resolved.

* Add test verification file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants