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

Create nimble-mapping-empty component #2077

Merged
merged 21 commits into from
May 10, 2024
Merged

Create nimble-mapping-empty component #2077

merged 21 commits into from
May 10, 2024

Conversation

mollykreis
Copy link
Contributor

Pull Request

🤨 Rationale

As part of #1992, we decided to create a nimble-mapping-empty component that would allow a cell to render as blank for a given mapping while still having text provided for use in group rows.

This PR creates that component within nimble-components. Support for Blazor and Angular will be added in a subsequent PR.

👩‍💻 Implementation

  • Create nimble-mapping-empty component
  • Add support for the component in the mapping column
  • Update tests

🧪 Testing

  • Extended the unit tests for the mapping column to include tests for empty mappings
  • Add empty mapping to the matrix test for the mapping column

✅ Checklist

  • I have updated the project documentation to reflect my changes or determined no changes are needed.

@mollykreis mollykreis requested a review from m-akinc May 7, 2024 17:12
@mollykreis
Copy link
Contributor Author

@m-akinc, will you buddy this PR for me?

@mollykreis mollykreis marked this pull request as ready for review May 9, 2024 16:13
@mollykreis mollykreis enabled auto-merge (squash) May 10, 2024 15:06
@mollykreis mollykreis merged commit 090b724 into main May 10, 2024
11 checks passed
@mollykreis mollykreis deleted the nimble-mapping-empty branch May 10, 2024 15:56
mollykreis added a commit that referenced this pull request May 10, 2024
# Pull Request

## 🤨 Rationale

#2077 added the `MappingEmpty` component to `nimble-components`. This PR
now adds that component to `nimble-blazor` and `nimble-angular`.

## 👩‍💻 Implementation

- Added support to Angular and Blazor for `nimble-mapping-empty`
- Updated both example apps to use the empty mapping element in the
table

## 🧪 Testing

- Created new auto tests following existing patterns
- Verified the new mapping works correctly in the Angular & Blazor
example apps

## ✅ Checklist

<!--- Review the list and put an x in the boxes that apply or ~~strike
through~~ around items that don't (along with an explanation). -->

- [ ] I have updated the project documentation to reflect my changes or
determined no changes are needed.
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.

5 participants